3 ms·
I think the reasoning in the experiment is a little flawed. Given that each task is so small, the cost of a context switch in the example is significant. Most
by codeherb 15y ago
I think the reasoning in the experiment is a little flawed. Given that each task is so small, the cost of a context switch in the example is significant.
Most people multi-task because they are waiting for the first task to finish/ get rid of the monotony of doing the same thing over and over again etc. in which case multi-tasking can significantly improve output. Its kind of like the OS running multiple processes on a single core. If you are waiting for something, you don't need to hold up everything else..