All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] Upload rate also down
@ 2002-05-20 12:37 Alexey Talikov
  2002-05-20 13:19 ` Stef Coene
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Alexey Talikov @ 2002-05-20 12:37 UTC (permalink / raw)
  To: lartc

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~\x10*download ???????
Any ideas !


-----------------------------------
mailto:alexey_talikov@texlab.com.uz
BR
Alexey Talikov
FORTEK
-----------------------------------


_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [LARTC] Upload rate also down
  2002-05-20 12:37 [LARTC] Upload rate also down Alexey Talikov
@ 2002-05-20 13:19 ` Stef Coene
  2002-05-20 15:09 ` Alexey Talikov
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Stef Coene @ 2002-05-20 13:19 UTC (permalink / raw)
  To: lartc

> 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
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [LARTC] Upload rate also down
  2002-05-20 12:37 [LARTC] Upload rate also down Alexey Talikov
  2002-05-20 13:19 ` Stef Coene
@ 2002-05-20 15:09 ` Alexey Talikov
  2002-05-20 15:48 ` Alexey Talikov
  2002-05-21  7:34 ` Alexey Talikov
  3 siblings, 0 replies; 5+ messages in thread
From: Alexey Talikov @ 2002-05-20 15:09 UTC (permalink / raw)
  To: lartc

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
-----------------------------------




_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [LARTC] Upload rate also down
  2002-05-20 12:37 [LARTC] Upload rate also down Alexey Talikov
  2002-05-20 13:19 ` Stef Coene
  2002-05-20 15:09 ` Alexey Talikov
@ 2002-05-20 15:48 ` Alexey Talikov
  2002-05-21  7:34 ` Alexey Talikov
  3 siblings, 0 replies; 5+ messages in thread
From: Alexey Talikov @ 2002-05-20 15:48 UTC (permalink / raw)
  To: lartc

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/sd0kbyte/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
-----------------------------------




_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [LARTC] Upload rate also down
  2002-05-20 12:37 [LARTC] Upload rate also down Alexey Talikov
                   ` (2 preceding siblings ...)
  2002-05-20 15:48 ` Alexey Talikov
@ 2002-05-21  7:34 ` Alexey Talikov
  3 siblings, 0 replies; 5+ messages in thread
From: Alexey Talikov @ 2002-05-21  7:34 UTC (permalink / raw)
  To: lartc

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
-----------------------------------



_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2002-05-21  7:34 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-05-20 12:37 [LARTC] Upload rate also down Alexey Talikov
2002-05-20 13:19 ` Stef Coene
2002-05-20 15:09 ` Alexey Talikov
2002-05-20 15:48 ` Alexey Talikov
2002-05-21  7:34 ` Alexey Talikov

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.