i386 TIF flags for debug regs and io bitmap in ctxsw
In-Reply-To: <[email protected]>
Quoted 5 lines · Andi Kleen
Quoted 1 line
I get a 5-10% speedup in task switch times with this patch.
That sounds too much. How did you measure it?
Note that lmbench tends to be unstable for this.
I used lmbench's lat_ctx(8). According to its manpage, you can make multiple runs and use the minimum, not the average.
And the gain may have been high because I tested on an old PII notebook with small cache and slow memory.
Signature · 2 lines
Chuck "You can't read a newspaper if you can't read." --George W. Bush