Switching to kernel context in a multiple-CPU system
Is the switch from an application context to the Linux kernel context in a multicore or a multiple CPU system less expensive than it is in a single CPU system?
I am trying to select an interprocess communication mechanism for a pair of processes. I'm told that reads and writes to IPCs such as message queues and FIFOs require a switch to the kernel context. I am asking if the overhead is any less when the operating system is running on a different CPU, or if it even matters. Thanks.
Last edited by XavierP; 08-21-2010 at 03:06 PM.
Reason: Moved to Kernel
|