Linux Advanced Routing and Traffic Control list
 help / color / mirror / Atom feed
From: lihpc@Legend.com
To: lartc@vger.kernel.org
Subject: [LARTC] help,  strange question about tcp and udp traffic control?
Date: Wed, 06 Nov 2002 14:07:54 +0000	[thread overview]
Message-ID: <marc-lartc-103659185426866@msgid-missing> (raw)



Hi ;



    +--------+           +-----------+                     +--------+
    | server |---------- | linux box |---------------------| Client |
    +--------+           +-----------+                     +--------+

MY script:

tc-htb3 qdisc del dev eth1 root
ipchains -F

tc-htb3 qdisc add dev eth1 root handle 10: htb default 20  r2q 40

tc-htb3 class add dev eth1 parent 10: classid 10:1 htb rate 50Mbit   burst
2000

tc-htb3 class add dev eth1 parent 10:1 classid 10:100 htb rate 12mbit ceil
13mbit prio 1
tc-htb3 class add dev eth1 parent 10:1 classid 10:20 htb rate 38mbit ceil
50Mbit prio 7

ipchains -A fw -s 10.1.1.1 -d 10.1.5.1 -m 100
ipchains -A fw -s 0.0.0.0 -d 0.0.0.0 -j ACCEPT

tc-htb3 filter add dev eth1 protocol ip parent 10:0 prio 1 handle 100  fw
classid 10:100




I've find one strange question about traffic control when sending udp data
and tcp data.
Could you explain it ? thanks


question:

WHEN I measure maximum UDP bandwidth by using "Iperf -1.6 -s -u" in server
host and "iperf-1.6 -c <server address>  -u  -b 50m" in client host, the
bandwidth is 12.1mbit.
OK.  work well.

BUT
WHEN I measure maximum TCP bandwidth by using"Iperf -1.6 -s " in server
host and "iperf-1.6 -c <server address>  " in client host, the bandwidth is
only 3.1mbit.
WHY ?


haipe




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

             reply	other threads:[~2002-11-06 14:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-06 14:07 lihpc [this message]
2002-11-06 17:00 ` [LARTC] help, strange question about tcp and udp traffic control? Stef Coene

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=marc-lartc-103659185426866@msgid-missing \
    --to=lihpc@legend.com \
    --cc=lartc@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox