Re: sleep() API behaves different between 2.4 and 2.6

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

 



On Wed, Feb 28, 2007 at 03:57:33AM -0800, Bizhan Gholikhamseh (bgholikh) wrote:
> From: Erik Mouw [mailto:mouw@xxxxxxxxxxxx] 
> > On Wed, Feb 28, 2007 at 03:43:18AM -0800, Bizhan Gholikhamseh (bgholikh) wrote:
> > > Is it possible to change the HZ on my 2.4 kernel?
> > 
> > I guess it is, IIRC the Alpha arch always ran at HZ=1024. But 
> > why would you want yo use a really ancient 2.4 kernel if 
> > there's a much better
> > 2.6 kernel which already does what you want to achieve?
> 
> Actually we are running dual Xeon Pentium processor. Unfortunatle we
> need to support 2.4 for legacy issues. Is there any way I could change
> HZ on my 2.4 kernel (hopefully with no side effect)?

I have no longer a 2.4 tree to figure out how, but I think it's not too
hard to do. As for side effects, you might probably note that the
machine will spend more time scheduling tasks. Not only because it has
to schedule 10 times more often, but also because 2.4 doesn't have the
O(1) scheduler 2.6 has.



Erik

-- 
They're all fools. Don't worry. Darwin may be slow, but he'll
eventually get them. -- Matthew Lammers in alt.sysadmin.recovery

Attachment: signature.asc
Description: Digital signature


[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