HZ to be 1000 - 2.5.25 may have this
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
Signature · 6 lines
http://www.PowerDNS.com Versatile DNS Software & Services http://www.tk the dot in .tk http://lartc.org Linux Advanced Routing & Traffic Control HOWTO _______________________________________________ LARTC mailing list / [email protected] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Quoted 11 lines · bert hubert
Quoted 1 line
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
[email protected]
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Quoted 11 lines · Adam B. Fineberg
Quoted 9 lines · bert hubert
Quoted 1 line
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.
Quoted 7 lines
Quoted 3 lines
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, likeCLOCKS_PER_SEC(also inparam.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.
Quoted 9 lines
Best regards,
Adam Fineberg
[email protected]_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Signature · 5 lines
With Respect Dmitriy Kuznetsov _______________________________________________ LARTC mailing list / [email protected] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Quoted 2 lines · Adam B. Fineberg
Can this be done in 2.4.18 by changing HZ in
include/asm-i386/param.hto 1000?
Yes.
Quoted 2 lines
Would anything else need to be changed, like
CLOCKS_PER_SEC(also inparam.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
Signature · 6 lines
_________________________________________________________________________ / Werner Almesberger, Buenos Aires, Argentina [email protected] / /_http://icapeople.epfl.ch/almesber/_____________________________________/ _______________________________________________ LARTC mailing list / [email protected] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
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
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
HZ is set to 100 in that patch.. :>
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Dmitriy
Sent: Wednesday, July 10, 2002 1:30 AM
To: [email protected]
Subject: Re: [LARTC] HZ to be 1000 - 2.5.25 may have this
Quoted 5 lines · Adam B. Fineberg
Quoted 3 lines · bert hubert
Quoted 1 line
From lwn.net:
The current development kernel remains 2.5.24. Linus has not released
any
Quoted 1 line
Quoted 1 line
kernels - or surfaced on the linux-kernel mailing list - since before
OLS
Quoted 2 lines
Quoted 2 lines
and the Kernel Summit. Some patches are beginning to show up in his BitKeeper tree, however; they include some SCSI updates, an NTFS
update,
Quoted 1 line
Quoted 1 line
and, interestingly, a change of the internal x86 clock frequency to
1000
Quoted 7 lines
Quoted 5 lines
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
Quoted 1 line
1000? Would anything else need to be changed, like
CLOCKS_PER_SEC
(also
Quoted 1 line
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.
Quoted 9 lines
Best regards,
Adam Fineberg
[email protected]_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Signature · 9 lines
With Respect Dmitriy Kuznetsov _______________________________________________ LARTC mailing list / [email protected] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/ _______________________________________________ LARTC mailing list / [email protected] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Quoted 11 lines · CIT/Paul
HZ is set to 100 in that patch.. :>
Quoted 2 lines
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
[email protected]