[Bug 253087] Timeout of bufdaemon happens at shutdown time with -CURRENT amd64 and VirtualBox VM

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Mar 8 20:44:11 UTC 2021


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253087

--- Comment #5 from commit-hook at FreeBSD.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=8cc15b0dfc2f3299662e78f18bd6127f83c14ab4

commit 8cc15b0dfc2f3299662e78f18bd6127f83c14ab4
Author:     Kyle Evans <kevans at FreeBSD.org>
AuthorDate: 2021-03-08 20:20:10 +0000
Commit:     Kyle Evans <kevans at FreeBSD.org>
CommitDate: 2021-03-08 20:43:06 +0000

    x86: tsc: deprioritize TSC on VirtualBox

    Misbehavior has been observed with TSC under VirtualBox, where threads
    doing small sleeps (~1 second) may miss their wake up and hang around
    in a sleep state indefinitely.  Switching back to ACPI-fast decidedly
    fixes it, so stop using TSC on VirtualBox at least for the time being.

    This partially reverts 84eaf2ccc6aa, applying it only to VirtualBox and
    increasing the quality to 0. Negative qualities can never be chosen and
    cannot be chosen with the tunable recently added. If we do not have a
    timecounter with a higher quality than 0, then TSC does at least leave
    the system mostly usable.

    PR:             253087
    Reviewed by:    emaste, kib
    MFC after:      3 days
    Differential Revision:  https://reviews.freebsd.org/D29132

 sys/x86/x86/tsc.c | 8 ++++++++
 1 file changed, 8 insertions(+)

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-virtualization mailing list