Re: [LARTC] Upload rate also down

Linux Advanced Routing and Traffic Control

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

 



> without qdisc 100mbit LAN (Sis900 AMD Duron 850 128RAM)-server
> 				   Realtek 8139 PIII-450 192RAN-client
> I try ftp and ssh(scp)
> upload ~7.5Mbyte/s
> download ~8.5Mbyte/s
>
> with tbf
> tc qdisc add dev eth0 root tbf rate 1mbit burst 10k latency 50ms
And where do you execute that  command?  On the server?

> download ~124kbyte/s
> upload ~1500kbyte/s Why !!! (I try htb - the same problem)
You ceil the download to 1Mbit ( = 125 kbyte/s) and use all that bandwidth to 
download.  But when you upload at the same time, there are also packets going 
in the download direction (confirmation packets and others).  But your 
download is full, so they can't get thru.  That's why upload is also slow and 
that's why you have to shape in both directions.  
Or be clever, and give more bandwidth in the download direction for the 
packets needed for upload 

Stef

-- 

stef.coene@xxxxxxxxx
 "Using Linux as bandwidth manager"
     http://www.docum.org/
     #lartc @ irc.openprojects.net


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