[LARTC] Measuring throughput

Linux Advanced Routing and Traffic Control

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

 



Install a program called nload or iptraf. Nload very simply gives you the
current in and out of whatever interface your specify along with an average.
Here's the command I use:
nload -i 2048 -o 384 -s 9 -t 1000 -u k -U m eth0 eth1
This tells to set the incoming graph at 2Mbit max, outgoing graph at 384kbit
max, -s 9 smoother average bandwidth number, -u is traffic number units
(bit/s, kbit/s, mbit/s, gbit/s), and -U is the units for the amount of data
in/out. The m lets me see rates for eth0 and eth1 (multiple interfaces).

Iptraf is much more of a full featured network monitoring program and I
highly recommend it as well as nload. Iptraf can give you the basic in/out
stats of your network along with much more. I use iptraf when I want to
monitor the bandwidth usage of a specific connection and nload when I want
the overall picture of how much data is being transferred in and out.

Patrick

-----Original Message-----
From: Kenneth Porter [mailto:shiva@sewingwitch.com] 
Sent: Thursday, February 06, 2003 10:30 AM
To: LARTC List
Subject: [LARTC] Measuring throughput


I'm running a game server which uses a lot of UDP traffic on a 4 Mbps
connection. I'd like to figure out how much of that I'm really using
(inbound vs. outbound) and I'd like to verify my bandwidth cap.

The host also runs a web and FTP server and I'm running wshaper to keep
those from hurting game traffic. But I'm concerned that it might be
artificially capping my bandwidth and that I might need to tweak it.

I've got ntop running (http://matureasskickers.net:3000/) and it tells me
that in a massive game last night (50 players) I used 2.2 Mbps, but I don't
know whether that's inbound, outbound, or the sum of both. Is there another
tool better for this measurement?

I'd like to simulate lots of game traffic by flooding UDP packets out of the
box (say, to my home system) to verify the bandwidth cap. What tool would be
good for doing that? (The Slapper worm doesn't count! ;))
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/


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