Find the answer to your Linux question:
Results 1 to 2 of 2
I read that I can achieve soft real time performance using the SCHED_FIFO policy.The priorities possible are from 1 -99 (0 being the priority of SCHED_OTHER). If I create a ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jul 2006
    Posts
    3

    thread scheduling


    I read that I can achieve soft real time performance using the SCHED_FIFO policy.The priorities possible are from 1 -99 (0 being the priority of SCHED_OTHER).

    If I create a thread with priority 5 and set the scheduling policy to SCHED_FIFO - does this mean that my thread will have higher priority than all other threads (threads with SCHED_OTHER).

    Somewhere I also read that the maximum thread priority is 64 only and the scheduler can even schedule a SCHED_OTHER thread - even if SCHED_FIFO thread needs the CPU.

    Quite confused about this - Can anyone help me out.

    Regards,
    Mandar

  2. #2
    Just Joined!
    Join Date
    Oct 2008
    Posts
    6
    how about reading the report here:

    FYI: sched summary

    I found very good and useful.

Posting Permissions

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