On Thu, Mar 12, 2009 at 20:58, Stephan Aßmus <superstippi@xxxxxx> wrote: > The human perception is a more or less fixed factor. I don't think anything > can be gained (ie. be made to appear more fluently) by switching more often, > unless you have a lot of threads actually running in parallel (ie not > waiting on something). So switching more often sounds like it would only > waste CPU. On the other hand, as far as cycles and IPS are concerned, a milisecond on a 200MHz is a *lot* different than a milisecond on a 3GHz CPU. Not taking this into consideration if you boost thread priorities based on consumed quantum is a *bad* idea. > As for the CPUs which have different speed, I think it's also a concern for > Hyper Threading. You wouldn't want to schedule a thread on a second logical > core, if another physical core is readily available at the same time. So you > need some kind of speed-bonus associated with each CPU anyways. I'm discussing this very matter on the article I'm writing. :) (Which I'm probably going to post as a number of smaller entries. Else it's too much information crammed in a single blog post, and I've been TLDR'd before :P) Cheers, A.