Re: Kernel 2.4 vs 2.6 Traffic Controller performance

From: Stephen Hemminger
Date: Tue Oct 02 2007 - 20:18:37 EST


On Wed, 3 Oct 2007 08:05:30 +0800
Sonny <smaniaol@xxxxxxxxx> wrote:

> Hello
> I hope this is the right place to ask this.Does any know if there is a
> substantial difference in the performance of the traffic controller
> between kernel 2.4 and 2.6. We tested it using 1 iperf server and use
> 250 and 500 clients, altering the burst. We use the top command to
> check the idle time of our router to see this. The results we got from
> the 2.4 kernel shows around 65-70% idle time while the 2.6 shows
> 60-65% idle time. We tried to use MRTG and we're not getting any
> results either. We want to know if we could improve the bandwidth by
> upgrading the kernel, else we would have to get a new bandwidth
> manager. Could anyone have the similar test regarding this. Thanks in
> advance.

Some related thoughts:
1. Make sure you have the iperf yield fix in place. Otherwise iperf eats
cpu.

2. Proper mailing lists are: netdev@xxxxxxxxxxxxxxx and lartc@xxxxxxxxxxxxxxx

3. The latest versions of 2.6 use different clock measurement that
should be better than older 2.4 (where there are three choices).
The new clock is finer resolution (at slightly higher overhead), which
should make accuracy higher but might increase cpu usage.

--
Stephen Hemminger <shemminger@xxxxxxxxxxxxxxxxxxxx>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/