lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Wed, 16 Jan 2008 16:31:37 +0100
From:	Ingo Molnar <mingo@...e.hu>
To:	Pete Wyckoff <pw@....edu>
Cc:	dean gaudet <dean@...tic.org>, linux-kernel@...r.kernel.org,
	Thomas Gleixner <tglx@...utronix.de>,
	"H. Peter Anvin" <hpa@...or.com>
Subject: Re: nosmp/maxcpus=0 or 1 -> TSC unstable


* Pete Wyckoff <pw@....edu> wrote:

> > pretty sure this is the culprit is that num_possible_cpus() > 1, 
> > which would mean cpu_possible_map contains the second cpu... but i'm 
> > not quite sure what the right fix is... or perhaps this is all 
> > intended.
> 
> We've seen the same problem.  We use gettimeofday() for timing of 
> network-ish operations on the order of 10-50 us.  But not having the 
> TSC makes gettimeofday() itself very slow, on the order of 30 us.

30 usecs is too much - even with pmtimer it's typically below 5 usecs. 
Could you run this on your box:

  http://people.redhat.com/mingo/time-warp-test/time-warp-test.c

and send back what it reports? (run it for a few minutes)

	Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ