Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    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.

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    I can be found either 40 miles west of Chicago, in 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!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts