Results 1 to 2 of 2
Hi,all: I run my program which consists of one kernel module and one user mode process on a dual core server. The problem here is the kernel module consumes 100% ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 04-06-2011 #1
- Join Date
- Apr 2011
HELP!!: CPU resource allocation between kernel modules and user mode p
I run my program which consists of one kernel module and one user mode process on a dual core server. The problem here is the kernel module consumes 100% of one core while the user mode process only consumes 10% of the other core, is there any solution that I can assign some computing power from the user-mode core to the kernel-mode core, is there any allocation scheme? I knew linux seems to have some system call to allocate CPU upon different processes, but not kernel with module.
Thanks very much to reply.
- 04-08-2011 #2
- Join Date
- Apr 2009
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
If you have a kernel module taking up 100% of a core, it is seriously broken! Fix that first before you try to hack together some sort of ill-advised load-balancing cruft. Generally, the OS deals with this seamlessly. So, first question - what distribution+version+kernel are you using? Second question - what does your kernel module do?Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!