Problem 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 download ~124kbyte/s upload ~1500kbyte/s Why !!! (I try htb - the same problem) if I change 1mbit to 100kbit upload ~150kbyte/s ??? if rate > 4mbit upload ~6.5Mbyte/s i.e. if rate < 5mbit upload~=10*download ??????? Any ideas ! ----------------------------------- mailto:alexey_talikov@texlab.com.uz BR Alexey Talikov FORTEK -----------------------------------
> 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 50msAnd 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@docum.org "Using Linux as bandwidth manager" http://www.docum.org/ #lartc @ irc.openprojects.net
I execute command on the server for shape outgouing data and do not upload at the same time and do not use any ingress police 20.05.2002 18:19:56, Stef Coene <stef.coene@docum.org> wrote:>> 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@docum.org > "Using Linux as bandwidth manager" > http://www.docum.org/ > #lartc @ irc.openprojects.net >----------------------------------- mailto:alexey_talikov@texlab.com.uz BR Alexey Talikov FORTEK -----------------------------------
I shape only download from server where i use tbf or htb (I don''t try cbq red and other ) and i find that the upload speed also down when I delete qdisc or if the shaping speed > 5mbit/s=640kbyte/s upload speed up to hardware limit ( in other case upload_speed~10*download_speed download_speed < 2mbit/s furthure upload_speed approach to hardware limit) I don''t upload and download at the same time I understand difference between bit and byte I understand difference between egress and ingress But I wonder when I detect it problem It may be only my problem hardware, software etc. I try to recompile kernel with patches, without patches and some different combination of it(2.4.18 htb-3.4 patch imq-2.4.18.diff-9 patch and some of patch-o-matic from iptables-1.2.6a - qouta,multiport,time,ttl,psd ....) but nothing changed It''s impossible that the egress influence on upload speed of any way ??? Thank you for advance !! (sorry from my English) 20.05.2002 20:21:21, Stef Coene <stef.coene@docum.org> wrote:>On Monday 20 May 2002 17:05, Alexey Talikov wrote: >> I execute command on the server for shape outgouing data and do not upload >> at the same time and do not use any ingress police >So you shape traffic going from server to the client (download). > >> >> tc qdisc add dev eth0 root tbf rate 1mbit burst 10k latency 50ms >Here you limit download to 1 mbit/s = 125 kilobyte/s. And this exaclly what >you get : >> >> download ~124kbyte/s > >And if you upload something, you only get 1500 kilobyte/s. But is this at >the same you are downloading ? Or are you uploading when you are not >downloading? >> >> upload ~1500kbyte/s Why !!! (I try htb - the same problem) > >Stef > >-- > >stef.coene@docum.org > "Using Linux as bandwidth manager" > http://www.docum.org/ > #lartc @ irc.openprojects.net >----------------------------------- mailto:alexey_talikov@texlab.com.uz BR Alexey Talikov FORTEK -----------------------------------
on 20.05.2002 I ask question about Upload rate also down I think answer is that the TCP protocol issue when i upload to server packets with answer from the server shaping and upload speed also down I''m right ??? ----------------------------------- mailto:alexey_talikov@texlab.com.uz BR Alexey Talikov FORTEK -----------------------------------