Re: Problems using The Ultimate Traffic Conditioner from the Cookbook

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

On Thursday 25 December 2003 09:43, Kabelweb wrote:
> Hi!
>
> > So I played a bit with the DOWNLINK value and found out that down to and
> > including 555 no packets are dropped even if a download fully saturates
> > the link while 554 already drastically caps the download to ~65 kbytes/s,
> > and there are packets being dropped:
>
> It seems that your setup suffers from timer inaccuracy.
> This topic has been dealt with some times on this list.
>
> Read (for example) this thread:
> 	http://www.mail-archive.com/lartc@xxxxxxxxxxxxxxx/msg02795.html
>
[snip]

> The solution (as mentioned in the thread above) is to either change the HZ
> value to for example 1024 (you don't have to do this by manually patching
> your kernel source because your gentoo kernel has a patch applied which
> lets you specify the HZ value from kernel config - I think its somewhere in
> "Processor type and features") or to change PSCHED_CLOCK_SOURCE to
> PSCHED_CPU in your /usr/src/linux/include/net/pkt_sched.h (which I
> personally had some problems with in the past - can't remember exactly
> though).
>
> I hope this helps - let us know...

Thanks Andreas, this helped perfectly. I used the latter approach by editing
pkt_sched.h to use the rtdsc as I was a little intimidated by the help text
for the HZ option mentioning not to use values larger than half the CPU's
clock in MHz. And as this is only a PII/266 I thought gentoo's default of 200
was stressing that enough already...

Regards,
- -Malte
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/7pTfVDF3RdLzx4cRAoObAJ9Ek0pVzNy5hh/r85W+qbeNaTecOQCg0qCw
CtBhWYt6k32swyujNpRtNBo=
=fmYt
-----END PGP SIGNATURE-----
_______________________________________________
LARTC mailing list / LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux