Re: Simulating client-side modems

From: Alex Rousskov (rousskov@measurement-factory.com)
Date: Tue Jan 09 2001 - 09:12:29 MST


On Tue, 9 Jan 2001 cachemail@procache.com wrote:

> Is it possible to simulate the modems actions in the client side?
> I took a look at the Polymix-2 source. there are structures
> such as NetPipe. But I do not know how can I use them is this regard.

Yes, it is possible. We use DummyNet kernel feature of FreeBSD to
simulate WAN delays. The same feature can be used to simulate modem
clients or virtually any other network-related packet delays/loss/etc.
Linux and other OSes have similar features/packages.

You can look through PolyMix-2 description and the PolyMix-3 HOWTO
document to get an idea how to use DummyNet.
  http://polygraph.ircache.net/Workloads/PolyMix-2/#WAN_Simulation
  http://www.measurement-factory.com/docs/PolyMix-3/

The only big problem with using packet-level simulators is the
performance overhead. However, if you do not need very high request
rates or have many PCs, it should not be a big deal.

Alex.

P.S. PGL NetPipes are currently not used, but they were/will-be used
     for DummyNet-like configurations.



This archive was generated by hypermail 2b29 : Tue Jul 10 2001 - 12:00:16 MDT