How much time spend a i386+ CPU to save the state of a task (in its TSS), load the state of another task (from its TSS) and initiate it?
Thank you,
pepito
How much time spend a task switch?
RE:How much time spend a task switch?
only a few clocks....meaning nothing you would/should notice
RE:How much time spend a task switch?
A few _hundred_ clocks.
Yes, it's basically inperceivable by any human by itself, but as it's being called (potentially) many thousands of times per second, it's certainly an area where it makes sense to optimize and, quite literally, count every clock cycle.
It's the difference between clunky windows-style multitasking, and fluent linux-style multitasking (that coupled with any other things, of course, but the point is, the efficiency of your tasking code _can_ be perceived).
Cheers,
Jeff
Yes, it's basically inperceivable by any human by itself, but as it's being called (potentially) many thousands of times per second, it's certainly an area where it makes sense to optimize and, quite literally, count every clock cycle.
It's the difference between clunky windows-style multitasking, and fluent linux-style multitasking (that coupled with any other things, of course, but the point is, the efficiency of your tasking code _can_ be perceived).
Cheers,
Jeff
RE:How much time spend a task switch?
I have also got the inverse feeling about windows and linux multitasking, I have RedHat 9 and Windows XP on this machine.