[Lxc-users] Benchmarking with LXC

Gordon Henderson gordon at drogon.net
Thu Jun 10 15:29:58 UTC 2010


On Thu, 10 Jun 2010, Richard Thornton wrote:

> Hi,
>
> I wish to use netperf to benchmark a firewall appliance but I only want to
> use a single physical 10GbE adapter.
>
> So I have my PC and the firewall.
>
> I wasy thinking two LXC containers, netperf-client and netperf-server,
> basically I want to force the traffic through the firewall.
>
> The firewall will have two .1q VLANs configured, one for netperf-client the
> other for netperf-server.  The firewall will route between them.
>
> So netperf traffic should go: pc > firewall > pc (netperf-client > firewall
>> netperf-server)
>
> Because it is benchmarking I want to get it as close to 10Gbps through the
> firewall as I can.
>
> I was looking at macvlan but not sure if this is required if .1q is
> possible?
>
> Really not sure if this is feasible, so any advice is much appreciated.

Are you sure it's wise to even consider LXC here?

And can one PC really keep up with 20Gb/sec of Ethernet traffic? i.e. How 
do you know the bottleneck here won't be the PC rather than the firewall 
appliance... I'd seriously consider using 2 PCs - firstly back to back, 
then with the firewall in-between...

Gordon





More information about the lxc-users mailing list