Hi,
In message "[ruby-talk:01559] Re: Ruby thread scheduling buglet"
on 00/02/24, Ian Main <imain / gtk.org> writes:
|I had assumed lowering this value would cause the context switches to
|consume more CPU, making the application more inefficient overall. However,
|not liking assumptions, I gave it a test at 10ms, running a program similar
|to the one I showed for the test (4 threads, and one in Gtk::main), and
|requiring 1000000 iterations out of each thread, the runtime at 50ms and
|10ms was nearly identical (23.6s versus 23.8s usertime), with the 10ms one
|of course, keeping the UI much more interactive.
|
|What do you think about setting it to 10ms ?
Make it 10ms is OK for me. I'll see whether it works on 1.5.x.