LARTC
[Top] [All Lists]

[LARTC] Best kernel Settings for a Bandwidth Management Box

To: <lartc@mailman.ds9a.nl>
Subject: [LARTC] Best kernel Settings for a Bandwidth Management Box
From: "Mario Antonio" <dino@webjogger.net>
Date: Fri, 29 Jun 2007 18:41:03 -0400
Delivered-to: sp-com-lists@consult.net
Delivered-to: lartc-list@securepoint.com
Delivered-to: lartc@outpost.ds9a.nl
List-archive: <http://mailman.ds9a.nl/pipermail/lartc>
List-help: <mailto:lartc-request@mailman.ds9a.nl?subject=help>
List-id: "Mailinglist of the Linux Advanced Routing &amp; Traffic Control project" <lartc.mailman.ds9a.nl>
List-post: <mailto:lartc@mailman.ds9a.nl>
List-subscribe: <http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc>, <mailto:lartc-request@mailman.ds9a.nl?subject=subscribe>
List-unsubscribe: <http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc>, <mailto:lartc-request@mailman.ds9a.nl?subject=unsubscribe>
References: <6c543c540706290839s987f121o6471032ef14b0fc8@mail.gmail.com>
Sender: lartc-bounces@mailman.ds9a.nl
Dear List,

In order to address inaccurate results using either TBF or HTB according to:
http://www.docum.org/docum.org/faq/cache/40.html

or

"In order to increase the accuracy of the clock we can modify some
parameters of the kernel. The parameters we have tried to change
have been the PSCHED_CLOCK_SOURCE variable and the HZ variable. The observed
effect has been a small increase in the use
of the CPU, but a great improvement regarding the accuracy of the output bit
rate of the flows. The CBQ scheduler guarantees a
minimum bandwidth better and TBF obtains an output rate more adjusted to
what is required."
https://www.tlm.unavarra.es/~eduardo/publicaciones/20010403-alcom-english.pdf

It seems that the best setting for a dedicated box to shape traffic in the
network is to build a kernel with:
CONFIG_NET_SCHED=y
CONFIG_NET_SCH_CLK_CPU=y

But since NET_SCH_CLK_CPU depends on ((X86_TSC || X86_64) && !SMP),

Does this mean that the ideal Bandwidth Management box has to use only one
CPU?

The following link also suggests  the use of preemption:
CONFIG_PREEMPT=y
CONFIG_PREEMPT_BKL=y
http://www.sigsegv.cx/qos-2.html



Any thoughts? What are the best kernel settings for a Bandwidth Management
box in bridge mode using X86 architecture?


Regards,

Mario Antonio




_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

<Prev in Thread] Current Thread [Next in Thread>