![]() |
|
|
#1 |
|
Oct 2008
38 Posts |
I have a linux system running mprime on Intel(R) Core(TM)2 Duo CPU E8400 @ 3.00GHz. During the mprime setup, here is what it outputs:
Intel(R) Core(TM)2 Duo CPU E8400 @ 3.00GHz CPU speed: 2992.63 MHz CPU features: RDTSC, CMOV, Prefetch, MMX, SSE, SSE2 L1 cache size: 32 KB L2 cache size: unknown L1 cache line size: 64 bytes L2 cache line size: unknown Prime95 32-bit version 24.14, RdtscTiming=1 However, I can easily find that the L2 cache size is 6144 KB from ,e.g., /proc/cpuinfo. It seems that its inability to find the correct L2 cache size does affect the computing speed. The benchmark for the same type machine is 0.0499 for FFT size of 2560K, while my number is much higher at about 0.056. Is there a way to let mprime know the cache size? Thanks. |
|
|
|
|
|
#2 | |
|
Account Deleted
"Tim Sorbera"
Aug 2006
San Antonio, TX USA
17·251 Posts |
Read:
Quote:
|
|
|
|
|
|
|
#3 |
|
"Richard B. Woods"
Aug 2002
Wisconsin USA
769210 Posts |
It should be noted that
Code:
CpuL2CacheSize=128 or 256 or 512 CpuL2CacheLineSize=32 or 64 or 128 CpuL2SetAssociative=4 or 8 Actually, as far as I can determine from a look at the V25.2 source code, any values you specify for CpuL2CacheSize, CpuL2CacheLineSize, or CpuL2SetAssociative will be accepted and used -- there's no range checking where those values are read from the local.ini file. However, there's still a possibility that wherever the "different code paths for LL testing" are taken, CpuL2CacheSize=6144 may take the same code path as CpuL2CacheSize=512. I didn't try to track that down now. (Maybe later.) Last fiddled with by cheesehead on 2008-10-02 at 20:35 |
|
|
|
|
|
#4 |
|
Sep 2006
Brussels, Belgium
2·3·281 Posts |
Do not forget that Core 2 cache is shared cache, you cannot give all the cache to each of of the cores...
Jacob |
|
|
|
|
|
#5 |
|
Oct 2008
310 Posts |
Thanks for the reply. I dug around and found the following values for my E8400:
CpuL2CacheSize=6144 CpuL2CacheLineSize=64 However, putting these values in local.ini does not improve any performance at all. |
|
|
|
|
|
#6 |
|
Oct 2008
3 Posts |
|
|
|
|
|
|
#7 |
|
Sep 2006
Brussels, Belgium
32268 Posts |
|
|
|
|
|
|
#8 |
|
(loop (#_fork))
Feb 2006
Cambridge, England
72·131 Posts |
|
|
|
|
![]() |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How important is L2 cache size for LL work? | stars10250 | Hardware | 5 | 2012-02-19 18:32 |
| 6 CPU cores not recognized by Prime95 v25.11.8 | Christenson | Information & Answers | 4 | 2011-02-06 01:03 |
| E8400 not showing L2 Cache on 24.14 | rainchill | Hardware | 3 | 2008-06-24 08:17 |
| Bug report: Core 2 Duo recognized as P3? | Andi47 | GMP-ECM | 0 | 2007-06-20 17:17 |
| importance of CPU cache size | James Heinrich | Hardware | 7 | 2006-09-05 12:45 |