Re: anyone measured context-switch cost on Linux/ia32?

From: Artur Skawina (skawina@geocities.com)
Date: Thu Jan 20 2000 - 19:15:42 EST


Mikael Pettersson wrote:
>
> Has anyone measured the cost (in cycles or time) of the
> context-switch path in Linux/ia32?

here, on a celeron and a slightly hacked UP kernel, a context switch
(time between one process stops executing, is preempted, and another
starts running) is ~4800 cycles (10.7us) at best. stock kernels are
probably not much different in this area.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Jan 23 2000 - 21:00:23 EST