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]
Message-ID: <20070801184026.GC20713@one.firstfloor.org>
Date:	Wed, 1 Aug 2007 20:40:26 +0200
From:	Andi Kleen <andi@...stfloor.org>
To:	Christoph Lameter <clameter@....com>
Cc:	Andi Kleen <andi@...stfloor.org>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 2/7] Simple Performance Counters: x86_64 support

> It is certainly interesting to compare alternative ways of handling the 
> instruction streams by various processors or models of processors.

Well you have to do a lot more work then to handle instable TSCs then.

In particular the frequencies can be different between CPUs, they 
change (which you can catch with cpufreq notifiers) and during the
cpufreq change period they're instable (as in you can't tell for
some time which frequency they're currently running at and they
might be running immediate frequencies) 

The current cycles_2_ns() users avoid this problem by not
using the TSC in this case, but that might not be an option
for you (cpufreq is becoming more and more ubiquitous)

Good luck.

-Andi
-
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