Skip to contentSkip to conversation

What value to set to Hz ?

LARTC raptor 2 participants 2 messages Oct 16, 2002

lore
Share & tools
lore

raptor

author
#0 lore raw

hi,

I was always setting HZ to 1000 when I compiled QoS kernel ... i knowed it shedules tasks more often and that was my presumtion that this way qos channel polices will be enforced better (of cource will have greater sheduling overhead) .... but now u can get much better picture if u read this :

http://kerneltrap.org/node.php?idF4

hope it is interesting

raptor
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

#1 lore raw
Quoted 4 lines · raptor

hi,

I was always setting HZ to 1000 when I compiled QoS kernel ... i knowed it shedules tasks more often and that was my presumtion that this way qos channel polices will be enforced better (of cource will have greater sheduling overhead) .... but now u can get much better picture if u read this :

Quoted 8 lines

http://kerneltrap.org/node.php?idF4

hope it is interesting

raptor
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

It's better to change /usr/src/linux/include/net/pkt_sched.h PSCHED_CLOCK_SOURCE to PSCHED_CPU if you have a cpu with timestamp counter (TSC) that will give you Mhz timer granularity.

Regards.

Signature · 10 lines
 ... ___________________________________________________________ ...
|   /|                                                         |\   | 
|  /-| Pedro Larroy Tovar. PiotR | http://omega.resa.es/piotr  |-\  |
| /--|            No MS-Office attachments please.             |--\ |
o-|--|              e-mail: [email protected]                |--|-o 
|  \-|    finger [email protected] for public key and info   |-/  | 
|...\|_________________________________________________________|/...| 
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/