Skip to contentSkip to conversation

About HTB3

LARTC yangrunhua 5 participants 7 messages Jun 20, 2002 – Jun 24, 2002

lore
Share & tools
lore
#1 lore raw

Don't set HZ to 1024 on intel - it a bad idea
it produce many problem for other parts of linux which use HZ0 HTB work fine on 100Mbit without any changes
If you use machine with low resources try RED or GRED but its classless

Quoted 10 lines · yangrunhua

Hi!
If I use HTB3 at 100M environment, does it give any improvement if I set HZ24?( I'm running an Intel PIII machine). Can you give me a short answer? Thanks in advance.
Regards, yangrunhua

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

-----------------------------------
mailto:[email protected]
BR
Alexey Talikov
FORTEK
-----------------------------------

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

#2 lore raw
In reply to yangrunhua
Quoted 2 lines · Alexey Talikov

Don't set HZ to 1024 on intel - it a bad idea
it produce many problem for other parts of linux which use HZ0

Can you elaborate? I know of only the 'top' problem but most other things work well.

If you raise HZ you will get more precise shaping and less bursty traffic.

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/
#3 lore raw
In reply to yangrunhua

I can't answer you completely ( this question for kernel maintainers ) :( But as I know this value used for IRQ (see arch/i386/kernel/irq.c) different kernel timers (arch/i386/kernel/time.c) for SMP (multiprocessor) in APIC functions ASPI functions almost in all drivers even in PCI bus and ATM subsystem and many many other

I have no idea about after-effects of change HZ !
I don't know about possibility to change this value only for traffic control functions !

I think change this value for Ix86 architecture not so simple !

If somebody have idea about this, share it with me !

Quoted 8 lines · bert hubert

Can you elaborate? I know of only the 'top' problem but most other things work well.
If you raise HZ you will get more precise shaping and less bursty traffic. 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

-----------------------------------
mailto:[email protected]
BR
Alexey Talikov
FORTEK
-----------------------------------

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

#4 lore raw
In reply to yangrunhua

I change it regulary. I didn't experienced any problems - only lockups on slow systems which can't handle it.
There should be no problem regarding the change. devik

Quoted 30 lines · Alexey Talikov

I can't answer you completely ( this question for kernel maintainers ) :( But as I know this value used for IRQ (see arch/i386/kernel/irq.c) different kernel timers (arch/i386/kernel/time.c) for SMP (multiprocessor) in APIC functions ASPI functions almost in all drivers even in PCI bus and ATM subsystem and many many other

I have no idea about after-effects of change HZ !
I don't know about possibility to change this value only for traffic control functions !

I think change this value for Ix86 architecture not so simple !

If somebody have idea about this, share it with me !

Quoted 8 lines · bert hubert

Can you elaborate? I know of only the 'top' problem but most other things work well.
If you raise HZ you will get more precise shaping and less bursty traffic. 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

-----------------------------------
mailto:[email protected]
BR
Alexey Talikov
FORTEK
-----------------------------------

Quoted 5 lines

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

#5 lore raw
In reply to yangrunhua

IMHO :)

HZ defines the heart beat of the Linux system in terms of 'jiffies'. Increasing HZ will increase the number of interrupts on the system (e.g. timer interrupt) and hence might not be useful for typical desktops, since handling these system interrupts will not leave much CPU time for applications.

But for a server which usually does only one thing (e.g. enforcing QoS), this increase in the interrupts should not be a problem.

I configure my servers with HZ24 regularly in include/net/pkt_sched.h without any problems.

ciao,
Amit

Quoted 20 lines · Martin Devera

I change it regulary. I didn't experienced any problems - only lockups on slow systems which can't handle it.
There should be no problem regarding the change. devik

Quoted 13 lines · Alexey Talikov

I can't answer you completely ( this question for kernel maintainers ) :( But as I know this value used for IRQ (see arch/i386/kernel/irq.c) different kernel timers (arch/i386/kernel/time.c) for SMP (multiprocessor) in APIC functions ASPI functions almost in all drivers even in PCI bus and ATM subsystem and many many other

I have no idea about after-effects of change HZ !
I don't know about possibility to change this value only for traffic control functions !

I think change this value for Ix86 architecture not so simple !

If somebody have idea about this, share it with me !

Signature · 12 lines
I'm an angel!!! Honest!
The horns are just there to hold the halo up straight.
^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^
                  Amit Kucheria
          EECS Grad. Research Assistant
         University of Kansas @ Lawrence
   (R): +1-785-830-8521 ||| (C): +1-785-760-2871
____________________________________________________

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
#6 lore raw
In reply to yangrunhua

Exactly :) Alphas used to set 1024 as default. It is because Alpha was very low interrupt latency compared to x86.

Quoted 40 lines · Amit Kucheria

IMHO :)

HZ defines the heart beat of the Linux system in terms of 'jiffies'. Increasing HZ will increase the number of interrupts on the system (e.g. timer interrupt) and hence might not be useful for typical desktops, since handling these system interrupts will not leave much CPU time for applications.

But for a server which usually does only one thing (e.g. enforcing QoS), this increase in the interrupts should not be a problem.

I configure my servers with HZ24 regularly in include/net/pkt_sched.h without any problems.

ciao,
Amit

Quoted 5 lines · Martin Devera

I change it regulary. I didn't experienced any problems - only lockups on slow systems which can't handle it.
There should be no problem regarding the change. devik

Quoted 15 lines
Quoted 13 lines · Alexey Talikov

I can't answer you completely ( this question for kernel maintainers ) :( But as I know this value used for IRQ (see arch/i386/kernel/irq.c) different kernel timers (arch/i386/kernel/time.c) for SMP (multiprocessor) in APIC functions ASPI functions almost in all drivers even in PCI bus and ATM subsystem and many many other

I have no idea about after-effects of change HZ !
I don't know about possibility to change this value only for traffic control functions !

I think change this value for Ix86 architecture not so simple !

If somebody have idea about this, share it with me !

Quoted 12 lines

--
I'm an angel!!! Honest!
The horns are just there to hold the halo up straight. ^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^
Amit Kucheria
EECS Grad. Research Assistant
University of Kansas @ Lawrence
(R): +1-785-830-8521 ||| (C): +1-785-760-2871
____________________________________________________

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