On Saturday 23 September 2006 15:25, Jon Strayer wrote: > On 9/22/06, George Woltman <[EMAIL PROTECTED]> wrote: > > > > Say there are 7 available CPUs for 8 threads. Threads 0 to 6 start > > processing > > blocks 0-6 and prefetching blocks 8-14. Now all 7 threads stall and the > > thread processing block 7 is run destroying all that nice prefetching we > > did. > > Would it be possible to detect that one thread is finishing much slower > than the others and rearange the work among fewer threads?
Nice idea. But now we have _another_ thread monitoring process (stealing useful work cycles) - which is itself subject to blocking. There is a _huge_ amount of discussion on the linux kernel developers forum, some of which is highly relevant here, though the context may be different. Regards Brian Beesley _______________________________________________ Prime mailing list [email protected] http://hogranch.com/mailman/listinfo/prime
