From lwn.net: The current development kernel remains 2.5.24. Linus has not released any kernels - or surfaced on the linux-kernel mailing list - since before OLS and the Kernel Summit. Some patches are beginning to show up in his BitKeeper tree, however; they include some SCSI updates, an NTFS update, and, interestingly, a change of the internal x86 clock frequency to 1000 Hz. 1000Hz would mean great things for us shaping people! Also, on a related note, see this on ''firm timers'': http://www.cse.ogi.edu/~luca/firm.html More on http://www.cse.ogi.edu/~ashvin/ Thanks for Erik Walthinsen for pointing this out . Regards, bert -- http://www.PowerDNS.com Versatile DNS Software & Services http://www.tk the dot in .tk http://lartc.org Linux Advanced Routing & Traffic Control HOWTO
bert hubert wrote:>>From lwn.net: > >The current development kernel remains 2.5.24. Linus has not released any >kernels - or surfaced on the linux-kernel mailing list - since before OLS >and the Kernel Summit. Some patches are beginning to show up in his >BitKeeper tree, however; they include some SCSI updates, an NTFS update, >and, interestingly, a change of the internal x86 clock frequency to 1000 Hz. > >1000Hz would mean great things for us shaping people! > >Can this be done in 2.4.18 by changing HZ in include/asm-i386/param.h to 1000? Would anything else need to be changed, like CLOCKS_PER_SEC (also in param.h)? Best regards, Adam Fineberg fineberg@aviating.com
On Tue, Jul 09, 2002 at 06:17:10PM -0700, Adam B. Fineberg wrote:> bert hubert wrote: > > >>From lwn.net: > > > >The current development kernel remains 2.5.24. Linus has not released any > >kernels - or surfaced on the linux-kernel mailing list - since before OLS > >and the Kernel Summit. Some patches are beginning to show up in his > >BitKeeper tree, however; they include some SCSI updates, an NTFS update, > >and, interestingly, a change of the internal x86 clock frequency to 1000 > >Hz. > > > >1000Hz would mean great things for us shaping people! > > > > > > Can this be done in 2.4.18 by changing HZ in include/asm-i386/param.h to > 1000? Would anything else need to be changed, like CLOCKS_PER_SEC (also > in param.h)?Try to download this url: http://www.ibiblio.org/gentoo/distfiles/linux-gentoo-2.4.19-crypto-r7.patch.bz2 This is gentoo Linux patch to 2.4.18, which adds Low Latency Scheduling, Preemptible Kernel, rmap, Ingo Molnar o(1) scheduler and by default it has HZ equal to 1000. Also there is XFS, Grsec and lots of other usefull staff. Patch is about 6.4Mbyte. Luck.> > Best regards, > Adam Fineberg > fineberg@aviating.com > > _______________________________________________ > LARTC mailing list / LARTC@mailman.ds9a.nl > http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/ >-- With Respect Dmitriy Kuznetsov
Adam B. Fineberg wrote:> Can this be done in 2.4.18 by changing HZ in include/asm-i386/param.h to > 1000?Yes.> Would anything else need to be changed, like CLOCKS_PER_SEC (also > in param.h)?Hmm, CLOCKS_PER_SEC doesn''t look right, particularly if you look at include/asm-ia64/ia32.h:IA32_CLOCKS_PER_SEC. It''s only used for some obscure parameter-passing mechanism in ELF, so the damage should be quite limited. (I.e. I''ve never noticed anything going wrong when changing HZ, and I didn''t realize the CLOCKS_PER_SEC dependency until now.) - Werner -- _________________________________________________________________________ / Werner Almesberger, Buenos Aires, Argentina wa@almesberger.net / /_http://icapeople.epfl.ch/almesber/_____________________________________/
Dmitriy, I tried applying the patch you suggested (http://www.ibiblio.org/gentoo/distfiles/linux-gentoo-2.4.19-crypto-r7.patch.bz2) and after I sorted through a few things with the patching (since I already had a HTB) I tried a make xconfig and got the following: rm -f include/asm ( cd include ; ln -sf asm-i386 asm) make -C scripts kconfig.tk make[1]: Entering directory `/usr/src/linux-2.4.18-WMUX-low-latency/scripts'' cat header.tk >> ./kconfig.tk ./tkparse < ../arch/i386/config.in >> kconfig.tk -: 309: can''t handle dep_bool/dep_mbool/dep_tristate condition make[1]: *** [kconfig.tk] Error 1 make[1]: Leaving directory `/usr/src/linux-2.4.18-WMUX-low-latency/scripts'' make: *** [xconfig] Error 2 Any ideas how to proceed or who/where else I can ask? Best regards, Adam Fineberg
HZ is set to 100 in that patch.. :> -----Original Message----- From: lartc-admin@mailman.ds9a.nl [mailto:lartc-admin@mailman.ds9a.nl] On Behalf Of Dmitriy Sent: Wednesday, July 10, 2002 1:30 AM To: lartc@mailman.ds9a.nl Subject: Re: [LARTC] HZ to be 1000 - 2.5.25 may have this On Tue, Jul 09, 2002 at 06:17:10PM -0700, Adam B. Fineberg wrote:> bert hubert wrote: > > >>From lwn.net: > > > >The current development kernel remains 2.5.24. Linus has not releasedany> >kernels - or surfaced on the linux-kernel mailing list - since beforeOLS> >and the Kernel Summit. Some patches are beginning to show up in his > >BitKeeper tree, however; they include some SCSI updates, an NTFSupdate,> >and, interestingly, a change of the internal x86 clock frequency to1000> >Hz. > > > >1000Hz would mean great things for us shaping people! > > > > > > Can this be done in 2.4.18 by changing HZ in include/asm-i386/param.hto> 1000? Would anything else need to be changed, like CLOCKS_PER_SEC(also> in param.h)?Try to download this url: http://www.ibiblio.org/gentoo/distfiles/linux-gentoo-2.4.19-crypto-r7.pa tch.bz2 This is gentoo Linux patch to 2.4.18, which adds Low Latency Scheduling, Preemptible Kernel, rmap, Ingo Molnar o(1) scheduler and by default it has HZ equal to 1000. Also there is XFS, Grsec and lots of other usefull staff. Patch is about 6.4Mbyte. Luck.> > Best regards, > Adam Fineberg > fineberg@aviating.com > > _______________________________________________ > LARTC mailing list / LARTC@mailman.ds9a.nl > http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/ >-- With Respect Dmitriy Kuznetsov _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
CIT/Paul wrote:>HZ is set to 100 in that patch.. :> > > > >> >> >Try to download this url: >http://www.ibiblio.org/gentoo/distfiles/linux-gentoo-2.4.19-crypto-r7.pa >tch.bz2 > >Acutally in this patch the clock rate becomes configurable. HZ is set to CONFIG_JIFFIES which defaults to 1000. Best regards, Adam Fineberg fineberg@aviating.com