Re: Real Time Behaviour

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 9/18/06, Tharindu Rukshan Bamunuarachchi <tharindunix@xxxxxxxxx> wrote:
1000HZ is clock tick rate, or how frequently timer interrupt is wake
up kernel, is not it??

Default time slice is something else ne??

Pls correct me if i am wrong

from sched.c
-------------------
#define MIN_TIMESLICE           max(5 * HZ / 1000, 1)
#define DEF_TIMESLICE           (100 * HZ / 1000)
#define ON_RUNQUEUE_WEIGHT       30

When HZ=1000;

Default Timeslice = 100 * 1000 /1000 = 100 is not it???

Correct me if  I am wrong ....???

Yes I guess you are right ! 1 ms should be the scheduling latency.

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux