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: <p737ikx3ksn.fsf@bingen.suse.de>
Date:	Sun, 04 Nov 2007 19:52:40 +0100
From:	Andi Kleen <andi@...stfloor.org>
To:	Chris Snook <csnook@...hat.com>
Cc:	Zurk Tech <zurktech@...il.com>, linux-kernel@...r.kernel.org
Subject: Re: Quad core CPU detected but shows as single core in 2.6.23.1

Chris Snook <csnook@...hat.com> writes:

>> Marking TSC unstable due to TSCs unsynchronized
>
> This is probably wrong.  The TSC is on the northbridge on Barcelona
> chips, so every core on the die should be in sync.  Hypothetically you
> could have different speed northbridges in different sockets, but
> we've never tried very hard to support that case anyway.  We should
> probably be marking the TSC as stable on Barcelona chips.

It's a little more complicated. Stable clock is only guaranteed as long 
as the CPUs all run on the same clock crystal. That is true 
when they're all on the current motherboard. But at least for K8
there were several systems that consist of multiple motherboards
and HT cables inbetween them (like all the 8 socket systems).
On those the TSCs can drift too with Fam10h. I'm not aware
of any of those shipping yet, but since it's essentially 
the same platform as K8 they will appear sooner or later.

So far we lack a reliable way to detect this condition. If it could
be detected it would be possible to switch to TSC timing
for the single motherboard systems.

However after some bad experiences in the past I personally would only
do that after such a system demonstrates synchronized TSC for at least
a week under varying workloads.

>> xor: automatically using best checksumming function: generic_sse
>>    generic_sse:  7449.000 MB/sec
>> xor: using function: generic_sse (7449.000 MB/sec)
>
> We should probably also implement an SSE5 function to take advantage
> of the 128-bit SSE operations supported on newer processors.

SSE5 doesn't exist in Fam10h

In general the optimized x86 RAID functions are mostly quite suboptimal
on my testing and do not actually do what they promise (E.g. the cache
avoiding functions do not actually avoid the cache fully etc.) I had a
rewrite of them in C some time ago which was faster on most CPUs
except on Core2 for so far unknown reasons. Needs more work.

-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