Author | Message | Time |
---|---|---|
Arta | Does anyone know of a way (functional under >=win2k) to find the size of the processor's L2 cache? | January 25, 2004, 4:18 PM |
Skywing | You can use cpuid with level=2 to get it from P4s... | January 25, 2004, 4:39 PM |
Arta | [quote author=Skywing link=board=2;threadid=4895;start=0#msg41068 date=1075048790] You can use cpuid with level=2 to get it from P4s... [/quote] Would rather use a non-cpuspecific way if there is one. | January 26, 2004, 4:02 PM |
Adron | You could make a loop doing an operation on a dataset of a certain size. Increase size step by step and measure performance. When performance drops more than linearly, you've hit the cache size. | January 26, 2004, 4:53 PM |