Measuring maximum effective throughput of WAN links
Carter Bullard
carter at qosient.com
Mon Jun 2 19:42:44 EDT 2014
Hey Ruven,
If your observation domain is say an interface, or a link,
and the load metric that you want can be associated with, say,
one of two ethernet addresses, then the easiest way to
generate your data is to generate what we call “ rmon “ style
data, and to graph the in and the outbound load for one of
the flow objects, in this case one of the ethernet addresses.
With some of my data, one of the ethernet addresses is
00:0b:db:5c:e5:7c, and I would run a command like this:
rabins -M time 5m hard rmon -m smac -r argus.file -w - | \
ra -s stime dur smac srate drate rate sload dload load - ether src 00:0b:db:5c:e5:7c
and it would generate output like this (I’m doing 5s instead of 5m):
thoth:clients carter$ rabins -M time 5s hard rmon -m smac -r /tmp/argus.udt.out -w - | ra -s stime dur smac srate drate rate sload dload load -H - ether src 00:0b:db:5c:e5:7c
StartTime Dur SrcMac SrcRate DstRate Rate SrcLoad DstLoad Load
2008/10/10.11:13:35.000000 5.000000 00:0b:db:5c:e5:7c 240.200 13.018K 13.259K 125.790K 157.205M 157.331M
2008/10/10.11:13:40.000000 5.000000 00:0b:db:5c:e5:7c 695.000 41.699K 42.394K 359.386K 503.998M 504.357M
2008/10/10.11:13:45.000000 5.000000 00:0b:db:5c:e5:7c 417.200 25.388K 25.805K 218.437K 306.680M 306.899M
2008/10/10.11:13:50.000000 5.000000 00:0b:db:5c:e5:7c 0.000 1.709K 1.709K 0.000 20.702M 20.702M
2008/10/10.11:13:55.000000 5.000000 00:0b:db:5c:e5:7c 150.000 10.312K 10.462K 79.029K 124.560M 124.639M
2008/10/10.11:14:00.000000 5.000000 00:0b:db:5c:e5:7c 175.800 10.328K 10.504K 91.142K 124.807M 124.898M
2008/10/10.11:14:05.000000 5.000000 00:0b:db:5c:e5:7c 67.200 3.724K 3.791K 35.037K 44.982M 45.017M
2008/10/10.11:14:10.000000 5.000000 00:0b:db:5c:e5:7c 308.400 18.484K 18.792K 160.979K 223.297M 223.458M
2008/10/10.11:14:15.000000 5.000000 00:0b:db:5c:e5:7c 39.800 2.992K 3.032K 20.830K 36.158M 36.179M
2008/10/10.11:14:20.000000 5.000000 00:0b:db:5c:e5:7c 163.800 9.621K 9.785K 84.877K 116.267M 116.352M
2008/10/10.11:14:25.000000 5.000000 00:0b:db:5c:e5:7c 115.800 6.664K 6.780K 61.693K 80.397M 80.459M
You should be able to use the load rate, or whatever. Check out the manpage for rabins.1.
ragraph() can also generate a graph for you, but that requires a little bit more,
such as having rrd_tool on the machine etc….
If this doesn’t make it, send some more email,
Carter
On Jun 2, 2014, at 3:01 PM, Ruven Gottlieb <ruven.gottlieb at gmail.com> wrote:
> Hi,
>
> I'm interested in using Argus to get something equivalent to "speed
> tests" of small LANs of 10-20 users connected to the Internet by DSL
> or Fios links.
>
> I want to measure the maximum effective network speed throughout the
> day, and show the output as a graph with a resolution of 5 minute
> intervals.
>
> As a test, I have argus set up on our main router/gateway/firewall
> box, running OpenBSD 5.5. I have another box collecting data into a
> MySQL DB using rasqlinsert. Just to see how much info gets collected
> and how much space it takes up I used this from the mailing-list:
>
> rasqlinsert -S 10.1.15.1:561 -m none -d -M time 1d -w
> mysql://argus@127.0.0.1/argus/argusTable_%Y_%m_%d -M norec -s seq
> stime ltime dur saddr daddr proto sport dport sbytes dbytes spkts
> dpkts sappbytes dappbytes abr sload dload srate drate sco dco
>
> ... but I'm not sure I need all that data. Even so it doesn't take up
> much space, and we can probably discard it after generating output.
>
> I also want to find out how much bandwidth I am consuming on the LAN
> per day. I am not a networking guy, so recipes are welcome.
>
>
> Thanks,
>
> Ruven Gottlieb
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 455 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <https://pairlist1.pair.net/pipermail/argus/attachments/20140602/8604ae1b/attachment.sig>
More information about the argus
mailing list