Let me pick your brains - Torrent simulation on a LAN

Associate
Joined
18 Oct 2002
Posts
2,413
I'm trying to devise a way of simulating the load that an average torrent places on a router, I.e. the numerous TCP connections + overall bandwidth usage + requirement for deep packet inspection (if you want dynamic QoS, etc).

Now, I can get all my results fine if I plug an internet connection in one end, and uTorrent on the other, but ideally, I'd like to do it in a lab scenario.

The closest thing I've come across is PeerSim, http://peersim.sourceforge.net/, but I'm a Network Engineer, not a programmer - and it seems quite complex.

Any ideas fellas?

Cheers,

FYI, the router in question is a Cisco 2811, simple PC----Router----PC Lab, Rate limited Ethernet interfaces.
 
build a vm of say 128 vm clients ? (8 machines, each with 16 vms inside?) (2 GB of ram / 16 = 128 ram each) do a headless linux vm install and then use btlaunchmanycurses or whatever to connect to the main server. Ob you'd need to set up a tracker and stuff.
 
My best recommendation would be to just run it connecting to a real torrent for a few days, while capturing the data (mirror a port or something) and then play the datastream back into the network in a lab. Obviously there's likely to be some programming involved with this.

Or use peersim. Or if it's not a particularly advanced lab (doesn't sound like it with one router) just run it online and grab some legal stuff (linux ISOs etc)
 
thanks for the info thus far.

Internet connection is 100% not an option now.

bigredshark. Do you have any more info on capturing the data stream, port mirroring, that would be ideal. I could capture at home on laptop and use this in the lab?

I'll research it more myself tomorrow. Cheers.

Edit. Info regards simple network in 1st post now incorrect. Scenario is two routers running bgp, basic MPLs simulation. Plan is to saturate link between the 2 and test various qos policies.
 
Last edited:
thanks for the info thus far.

Internet connection is 100% not an option now.

bigredshark. Do you have any more info on capturing the data stream, port mirroring, that would be ideal. I could capture at home on laptop and use this in the lab?

I'll research it more myself tomorrow. Cheers.

Edit. Info regards simple network in 1st post now incorrect. Scenario is two routers running bgp, basic MPLs simulation. Plan is to saturate link between the 2 and test various qos policies.

My idea was basically to capture the traffic using wireshark or similar and then find a way to inject the packets back into the network. Something like packet player would do it (which is a good option as it's free!) - http://www.colasoft.com/packet_player/index.php

There are some very good traffic simulators out there, they cost an absolute bomb so nobody owns them but you can rent them out for a few days, we did when we were evaluating new core kit and they worked out well for us.
 
Back
Top Bottom