Skip to contentSkip to conversation

How to measure bandwidth?

LARTC Chuanbo Xu 5 participants 6 messages Jun 15, 2001 – Jun 18, 2001

lore
Share & tools
lore
#1 lore raw
Quoted 1 line · Chuanbo Xu

I run tc to limit bandwidth. Howerver, how to measure bandwidth?

It depends. There are some special tools for generating traffic, but it's often good enough to start a simple download (FTP or HTTP) and look at the provided rate. What do you want to measure exactly? Describe the situation if you feel that FTP or HTTP wouldn't suffice.

Signature · 8 lines
GnuPG public key: http://www.keyserver.net
fingerprint = A3C4 DE50 712D 4FA8 C564  4D96 5E06 C9CC ECFA 19C5



_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/
#2 lore raw
In reply to Chuanbo Xu

On Fri, Jun 15, 2001 at 01:48:17PM +0800, Chuanbo Xu wrote:

I use iptraf, is a very handy tool to meter bandwith

http://cebu.mozcom.com/riker/iptraf

Good luck!

Quoted 13 lines

Hi£¬

I run tc to limit bandwidth. Howerver, how to measure bandwidth?

regards,

Chuanbo Xu
[email protected]

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/

Signature · 8 lines
Javier Miguel Rodríguez.	(GUFO)                                              
Miembro del grupo Linux de la Facultad de Informática de Sevilla     -o)
http://talika.fie.us.es/linux                                        /\\
Linux Registered User #145051.                                      _\_V

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/
#3 lore raw
In reply to Chuanbo Xu
Quoted 5 lines · Chuanbo Xu

Hi

This is a monitor tool, but measure.
I want to measure max bandwidth, when I limit it with tc.

Try
http://www.citi.umich.edu/projects/qbone/generator.html

gen_send and gen_recv provide a testbed for UDP variable length packet generation, and metrics of bandwidth and packet loss.

The only drawback I see is that the logfiles are not updated in a timely fashion so that one could apply periodic Bronc or other graphing tools for rapid visualization.

Gerry
--
Gerry Creager -- [email protected]
Network Engineering |Research focusing on
Academy for Advanced Telecommunications |Satellite Geodesy and
and Learning Technologies |Geodetic Control
Texas A&M University 979.458.4020 (Phone) -- 979.847.8578 (Fax)

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/

#4 lore raw
In reply to Chuanbo Xu
Quoted 10 lines · Chuanbo Xu

Hi Stef Coene£¬

I execute time_ms.exe and get 2 numbers.
Put it and monitor.pl in the same directory.
Execute monitor.pl, and get the same error.

Quoted 3 lines

You need to download time_ms.exe from the same site, make it executable, try to execute it (it should give you 2 numbers : time in seconds and time in miliseconds), put it somewhere in your path and try again.

                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

repeat : put it somewhere in your path. If you execute "echo $PATH" as root in a terminal, you get the path where monitor.pl will search for the program. OR adapt monitor.pl and change time_ms.exe in ./time_ms.exe.

Signature · 7 lines
Stef

More QOS info : http://users.belgacom.net/staf/

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/
#5 lore raw
In reply to Chuanbo Xu
Quoted 10 lines · Chuanbo Xu

Hi Stef Coene£¬

I execute time_ms.exe and get 2 numbers.
Put it and monitor.pl in the same directory.
Execute monitor.pl, and get the same error.

Quoted 3 lines

You need to download time_ms.exe from the same site, make it executable, try to execute it (it should give you 2 numbers : time in seconds and time in miliseconds), put it somewhere in your path and try again.

                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

repeat : put it somewhere in your path. If you execute "echo $PATH" as root in a terminal, you get the path where monitor.pl will search for the program. OR adapt monitor.pl and change time_ms.exe in ./time_ms.exe.

Signature · 8 lines
Stef

More QOS info : http://users.belgacom.net/staf/


_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/