Originally posted by: Lord Banshee
Whats funny you have no idea what size image i was using, good job. It was done with a 1400x1050x24bit image so roughly ~1.5million pixels. I just redid the test for a 3000x3000x24bit image and the result showed a 0.5% increase with affinity set to 1. Again less than 1%, and it most likely has everything to do with the L2 cache being shared, i could try on my Dual Core Opteron, maybe, but that still isn't close to what a quad would have to do.
Now i never said my program was the best to show these results but the OP stated both dual core and quad core so i tested my dual, where is your tests? And if i had a quad core i would test it but i don't. So if you don't want to contribute to the thread maybe you should not post.
You said "3x3", and "for a class." This seemed pretty straightforward the way it was written; which apparently is not what you meant at all.
However, you're still missing how radically different an Athlon or Phenom's cache and bus architectures are from a C2Quad. Eat your own attitude about "contributing" to the thread, mkay?
Originally posted by: Idontcare
Best I can tell its not so much done for any given reason but rather was never done. In other words it takes work to make the OS become an active thread manager...you have to spend programmer hours creating an OS that actively manages thread affinity and core utilization
This is beyond my programming experience, but isn't it
more complicated to move a thread around than to keep it attached to a CPU for as long as possible? Or, maybe what I should really be asking is, what causes a thread to
leave its current CPU and not come back? Is it as simple as being pushed into the Stack while another app requests some cycles, then being picked off a shared Stack by an arbitrary CPU?
Besides, Microsoft writes OS versions for servers, so it's not like a multi-CPU platform is news to them. It sounds like lazy-ass design to me. (Color me surprised!)
I don't suppose Vista's scheduler handles this scenario better? I don't have any Vista machines to try.