]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
x86: stop punishing VMs with low priority for TSC timecounter
authorKonstantin Belousov <kib@FreeBSD.org>
Mon, 21 Dec 2020 17:02:31 +0000 (19:02 +0200)
committerKonstantin Belousov <kib@FreeBSD.org>
Wed, 23 Dec 2020 10:45:15 +0000 (12:45 +0200)
commit84eaf2ccc6aa05da7b7389991d3023698b756e3f
tree74c360416f975b2623ac68d05138cf5ffa5f9afe
parent994e47023ac87ede16e9c785ac5d6880e3d3a23c
x86: stop punishing VMs with low priority for TSC timecounter

I suspect that virtualization techniques improved from the time when we
have to effectively disable TSC use in VM.  For instance, it was reported
(complained) in https://github.com/JuliaLang/julia/issues/38877 that
FreeBSD is groundlessly slow on AWS with some loads.

Remove the check and start watching for complaints.

Reviewed by: emaste, grehan
Discussed with: cperciva
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D27629
sys/x86/x86/tsc.c