
25 Oct
2006
25 Oct
'06
1:29 a.m.
Howard Hinnant wrote:
I don't know how to quantify it, but there is nothing quite like the warm fuzzy of seeing this on your screen:
writ thread 1 at 62% writ thread 2 at 63% writ thread 3 at 59% writ thread 4 at 58% read thread 5 at 62% read thread 6 at 55% read thread 7 at 64% read thread 8 at 75%
You are right in principle but the above isn't a good result for a multi-core. The read threads should have an advantage proportional to the number of cores since they can run in parallel. I'll try to embelish my test with something that measures starvation.