diff options
author | thompsa <thompsa@FreeBSD.org> | 2006-03-02 00:51:39 +0000 |
---|---|---|
committer | thompsa <thompsa@FreeBSD.org> | 2006-03-02 00:51:39 +0000 |
commit | 02a394bf85e4043cf275721f79b72c24a8623ab2 (patch) | |
tree | 400107dd3e41500b881adc1d7dd6cdaff5009e18 /sys/contrib | |
parent | f8b9a9739d04f2283114c8ab59bc199883b905f7 (diff) | |
download | FreeBSD-src-02a394bf85e4043cf275721f79b72c24a8623ab2.zip FreeBSD-src-02a394bf85e4043cf275721f79b72c24a8623ab2.tar.gz |
Do not use the TSC where its known to be broken, this will cause the queue
speeds to perform below the desired bitrate and throughput will be erratic.
This makes queueing work on the Geode SC1100, K5 model 0 and IDT WinChip C6
processors.
MFC after: 3 days
Diffstat (limited to 'sys/contrib')
-rw-r--r-- | sys/contrib/altq/altq/altq_subr.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/contrib/altq/altq/altq_subr.c b/sys/contrib/altq/altq/altq_subr.c index b6b7cf0..0b4d22d 100644 --- a/sys/contrib/altq/altq/altq_subr.c +++ b/sys/contrib/altq/altq/altq_subr.c @@ -918,7 +918,8 @@ init_machclk(void) #endif #ifdef __i386__ /* check if TSC is available */ - if (machclk_usepcc == 1 && (cpu_feature & CPUID_TSC) == 0) + if (machclk_usepcc == 1 && ((cpu_feature & CPUID_TSC) == 0 || + tsc_is_broken)) machclk_usepcc = 0; #endif |