[Bug libc/12587] sysconf(_SC_*CACHE) returns 0 for all caches on some CPUs.
john.haxby at oracle dot com
sourceware-bugzilla@sourceware.org
Wed Mar 30 15:30:00 GMT 2011
http://sourceware.org/bugzilla/show_bug.cgi?id=12587
--- Comment #8 from John Haxby <john.haxby at oracle dot com> 2011-03-30 15:30:06 UTC ---
Any comments on the updated patch, Ulrich? I've had it working on a Xeon
5670:
# getconf -a | grep -i cache
LEVEL1_ICACHE_SIZE 32768
LEVEL1_ICACHE_ASSOC 4
LEVEL1_ICACHE_LINESIZE 64
LEVEL1_DCACHE_SIZE 32768
LEVEL1_DCACHE_ASSOC 8
LEVEL1_DCACHE_LINESIZE 64
LEVEL2_CACHE_SIZE 262144
LEVEL2_CACHE_ASSOC 8
LEVEL2_CACHE_LINESIZE 64
LEVEL3_CACHE_SIZE 12582912
LEVEL3_CACHE_ASSOC 16
LEVEL3_CACHE_LINESIZE 64
LEVEL4_CACHE_SIZE 0
LEVEL4_CACHE_ASSOC 0
LEVEL4_CACHE_LINESIZE 0
and I've also carefully tested the cpuid4 vs cpuid2 thing on a variety of
machines (including checking that the cpuid2 code still works).
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the Glibc-bugs
mailing list