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% 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 between different processes, but not with kernel module.
Thanks very much to reply.
If all available CPU isn't being used that generally means the process is waiting for I/O, and "assigning more CPU" to a sleeping process is pretty pointless.
Perhaps your kernel module is having trouble keeping up with the userspace code? What are you actually doing anyway?