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

    Assigning highest priority to process.

    I have installed with Fedora3(kernel-2.6.9).
    I working with Asterisk1.2.2(PBX).telecom application,which interacts with the kernel.It installed and running fine but when the load increases the performance of Asterisk is getting down.i.e running parallelly any other applications like mozilla or shh..etc. or when the requests(calls) for the Asterisk are increases.
    And more my kernel is assinging 0 'zero' priority to asterisk.
    what i am thinking is if i can assin highest priority to Asterisk then schedular always allocate CPU time to Asterisk.but bit confusig here.whether i configure the kernel or modify the schedular code.

    any help appreciated.


  2. #2
    Just Joined!
    Join Date
    Jan 2006
    You can change the priority of the process which you are interested in.
    The command to change the priority of the process is 'nice'.

    Try the below command to change the niceness of the process:

    #nice --adjustment=-19 'process name' &

    -- Regards,

  3. #3
    Thank you for reply.
    with nice i'm able to change the priority of process.
    But by default i want that result for my Asterisk.So how kernel/sched.c....etc,kernel configuration helpful for me.

  4. $spacer_open
  5. #4
    Just Joined!
    Join Date
    Apr 2005
    2 great books that will help you:
    - Understanding the Linux Kernel, Second Edition, by Daniel P. Bovet, Marco
    Cesati, O'Reilly
    - Linux Kernel Development Second Edition, by Robert Love, Novell Press

Posting Permissions

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