I have been searching around, but I couldn't find any good thread scaling comparisons of Intel and AMD cpus with pure integer workloads. Hope some of you guys can help me out here.
The problem is, at the moment I have a task that can be easily run on multiple threads - basically it's error checking and statistical analysis of some binary data, so only integer load, without any FPU or special SIMD instructions. I want to run it on 8 threads if possible, so I created a small benchmark for an intensive section of the code (CRC calculation) to see if it can benefit from HT. Here's the result on an Intel i7-2600K:
What the numbers above mean is that processing 8 threads in parallel takes about 40% more time than with only one thread, but the amount of data processed is of course 8 times as much, which gives a 5.71 scaling factor.
I'd like to know if AMD cpus can do better in this scenario. Could someone with a FX-8350 please download and run http://www.sendspace.com/file/6cuvcq and post the output here? It's a tiny console Win32 app, doesn't read, write or connect to anything, just runs threads and prints out output like the one above. Also feel free to test with any other cpu. Thanks.
The problem is, at the moment I have a task that can be easily run on multiple threads - basically it's error checking and statistical analysis of some binary data, so only integer load, without any FPU or special SIMD instructions. I want to run it on 8 threads if possible, so I created a small benchmark for an intensive section of the code (CRC calculation) to see if it can benefit from HT. Here's the result on an Intel i7-2600K:
Code:
1 thread(s) 2199714 cpu cycles (100 % of 1 thread). MT scaling factor: 1.00
2 thread(s) 2203655 cpu cycles (100 % of 1 thread). MT scaling factor: 2.00
3 thread(s) 2376672 cpu cycles (108 % of 1 thread). MT scaling factor: 2.78
4 thread(s) 2570756 cpu cycles (116 % of 1 thread). MT scaling factor: 3.42
5 thread(s) 2603060 cpu cycles (118 % of 1 thread). MT scaling factor: 4.23
6 thread(s) 2666084 cpu cycles (121 % of 1 thread). MT scaling factor: 4.95
7 thread(s) 2701991 cpu cycles (122 % of 1 thread). MT scaling factor: 5.70
8 thread(s) 3080511 cpu cycles (140 % of 1 thread). MT scaling factor: 5.71
What the numbers above mean is that processing 8 threads in parallel takes about 40% more time than with only one thread, but the amount of data processed is of course 8 times as much, which gives a 5.71 scaling factor.
I'd like to know if AMD cpus can do better in this scenario. Could someone with a FX-8350 please download and run http://www.sendspace.com/file/6cuvcq and post the output here? It's a tiny console Win32 app, doesn't read, write or connect to anything, just runs threads and prints out output like the one above. Also feel free to test with any other cpu. Thanks.