Re: time slice calculation

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

 



Tharindu Rukshan Bamunuarachchi wrote:

> Because, our system hosting firm said they have recomplied kernel with
> setting default timeslice to 1ms. IS this possible?? If so how can I
> calculate this from user space program ??

Are you sure they mean timeslice and not HZ? This sounds a bit like
they've just changed the timer interrupt frequency to 1000/s.

On a suse 10.1 kernel the current HZ value is displayed in
/proc/sys/kernel/HZ . You can change it at kernel build time (grep
for CONFIG_HZ in .config).

The scheduling timeslice is dynamic and can't be changed, IIRC.

Regards,
Erich



--
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