Hi Serge,<div><br></div><div><div>Sorry for my late answer. I do use veth, but the other experiments also use it. But my guess there is might be some kind of kernel customization, so they can reach these speeds, but unfortunatelly I am not aware of what customization they made on their kernels.</div>
<div>A little more about my setup... My kernel's version is: 3.20.0-23-generica-pae.</div><div>And the network setup of my containers:</div><div>lxc.network.type=veth</div><div>lxc.network.link=lxcbr0</div><div>lxc.network.flags=up</div>
<div><br></div><div>Regards,</div><div>Daniel</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2012/11/28 Serge Hallyn <span dir="ltr"><<a href="mailto:serge.hallyn@canonical.com" target="_blank">serge.hallyn@canonical.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">Quoting daniel marques (<a href="mailto:daniel.marques@uniriotec.br">daniel.marques@uniriotec.br</a>):<br>

> Hi Folks,<br>
><br>
> Recently I've adopted LXC as a network virtualization tool, where I use the<br>
> containers to generate traffic via iperf and do my experiments. So far,<br>
> everything seems to be fine, but I am with doubts regarding the network<br>
> namespace used in the containers, using it without customizing anything<br>
> I've managed to generate up to 100Mbps of throughput, but no more than<br>
> this. I'd like to know what can I do to have a better performance with<br>
> these interfaces, since I've found out that using the network namespace I<br>
> can reach up to 1Gbps.<br>
> This is the my setup:<br>
> Ubuntu 12.04 32 bits<br>
> LXC  0.7.5 (installed from Ubuntu's repository)<br>
<br>
</div></div>There shouldn't be a difference between lxc and network namespaces...<br>
When you say you reach 1Gbps with network namespaces, how are those<br>
set up?  Are they using veth?  How about your lxc setup?<br>
<span class="HOEnZb"><font color="#888888"><br>
-serge<br>
</font></span></blockquote></div><br></div>