public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* CONFIG_X86_PM_TIMER is slow
@ 2004-11-12  5:52 dean gaudet
  2004-11-12  6:04 ` Willy Tarreau
  0 siblings, 1 reply; 7+ messages in thread
From: dean gaudet @ 2004-11-12  5:52 UTC (permalink / raw)
  To: linux-kernel

when using CONFIG_X86_PM_TIMER i'm finding that gettimeofday() calls take 
2.8us on a p-m 1.4GHz box... which is an order of magnitude slower than 
TSC-based solutions.

on one workload i'm seeing a 7% perf improvement by booting "acpi=off" to 
force it to use tsc instead of the PM timer... (the workload calls 
gettimeofday too frequently, but i can't change that).

i'm curious why other folks haven't run into this -- is it because most 
systems have HPET timer as well and that's not nearly as bad as PM timer?

-dean

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2004-11-16  8:11 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-12  5:52 CONFIG_X86_PM_TIMER is slow dean gaudet
2004-11-12  6:04 ` Willy Tarreau
2004-11-12  6:16   ` dean gaudet
2004-11-12  7:06     ` Willy Tarreau
2004-11-12  7:43       ` dean gaudet
2004-11-12 10:07         ` Willy Tarreau
2004-11-16  8:10         ` George Anzinger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox