Andy Lutomirski <l...@amacapital.net> wrote: > > I will be quite surprised if you can measure any effect at all. I've > never seen context switches take fewer than ~2k cycles, and on my > laptop, they take 8k-9k cycles. The scheduler is really, really slow.
Indeed, I think I still have a bugzilla entry somewhere regarding the huge performance regression when we first switched over to the current scheduler. Over the years people have been trying to hack around it, e.g., network driver polling, low latency socket, anything to avoid going into the scheduler. We really should fix it properly some day. Cheers, -- Email: Herbert Xu <herb...@gondor.apana.org.au> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt