LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Kernel (https://www.linuxquestions.org/questions/linux-kernel-70/)
-   -   Cost of user-kernel mode switch (https://www.linuxquestions.org/questions/linux-kernel-70/cost-of-user-kernel-mode-switch-858228/)

dbadhani 01-23-2011 09:34 PM

Cost of user-kernel mode switch
 
Hi,

I am working on a high performance proxy service and in the process was trying to find out the cost incurred in "user -> kernel" mode or "kernel -> user" mode transitions. If the cost is not significant, I could the existing kernel stack else will have to work on a user mode driver.

Would appreciate if anyone has some insights, benchmarks for the same or can sugget a good way to benchmark this.

Thanks,
Dev

Tinkster 01-24-2011 04:18 PM

Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.


http://www.linuxquestions.org/questi...switch-858209/


All times are GMT -5. The time now is 11:48 AM.