Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Jul 2012 09:49:36 +0300
From:      Alexander Motin <mav@FreeBSD.org>
To:        freebsd-acpi@FreeBSD.org
Subject:   Using bintime() in acpi_cpu_idle()?
Message-ID:  <5014DD00.3000307@FreeBSD.org>

index | next in thread | raw e-mail

Hi.

With ACPI timer gradually becoming one of slowest in the system, is 
there some reason to use it directly in acpi_cpu_idle()? I've made a patch:
http://people.freebsd.org/~mav/sleep_time.patch
to use binuptime() instead. Using even HPET from system time counter 
(not even speaking about TSC) that significantly improves performance on 
some workloads if this code is not covered by MWAIT optimization in 
cpu_idle().

-- 
Alexander Motin


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5014DD00.3000307>