Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Mar 2021 19:44:41 +0000
From:      bugzilla-noreply@freebsd.org
To:        virtualization@FreeBSD.org
Subject:   [Bug 253087] Timeout of bufdaemon happens at shutdown time with -CURRENT amd64 and VirtualBox VM
Message-ID:  <bug-253087-27103-Fq6vyqwT0E@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-253087-27103@https.bugs.freebsd.org/bugzilla/>
References:  <bug-253087-27103@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D253087

--- Comment #8 from commit-hook@FreeBSD.org ---
A commit in branch releng/13.0 references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=3D1a15924593931b91aee31875fa75782a5=
92a7436

commit 1a15924593931b91aee31875fa75782a592a7436
Author:     Kyle Evans <kevans@FreeBSD.org>
AuthorDate: 2021-03-08 20:20:10 +0000
Commit:     Kyle Evans <kevans@FreeBSD.org>
CommitDate: 2021-03-14 19:44:04 +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
    Approved by:    re (gjb)

    (cherry picked from commit 8cc15b0dfc2f3299662e78f18bd6127f83c14ab4)
    (cherry picked from commit ec24f78e5b201ea56a69607c6e4438a2faac25c0)

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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-253087-27103-Fq6vyqwT0E>