Results 1 to 2 of 2
Hi all,
My system has Intel Xeon 4-core cpu(hyperthreading 8-core) and run 64-bit linux.
I want to allocate one core for general process(kernel process & other processes).
And then, I ...
- 08-03-2010 #1Just Joined!
- Join Date
- Jul 2010
- Posts
- 2
How to allocate a cpu core for kernel process?
Hi all,
My system has Intel Xeon 4-core cpu(hyperthreading 8-core) and run 64-bit linux.
I want to allocate one core for general process(kernel process & other processes).
And then, I want to allocate the rest of core for the specific multi-thread program.
Q1:
I know that I can pthread_setaffinity() for user-mode thread and mpstat for monitoring. So, how can I allocate a core for kernel process and monitor it?
Q2:
How can I restrict use of the cores for the multi-thread program? I don't want kernel process to use the cores for the multi-thread program.
Thanks.
- 08-06-2010 #2Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,974
Please move this thread to "The Linux Kernel" forum. You'll get better answers there.
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!


Reply With Quote