<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.26.0">
</HEAD>
<BODY>
Hi,<BR>
<BR>
Send <BR>
<BR>
ifconfig br0    from the host<BR>
ifconfig eth0   from the container<BR>
<BR>
and the version of lxc you're using. Do you have anything special with <BR>
the /etc/sysctl.conf? <BR>
<BR>
On a completely blank container with no tuning, I get with scp;<BR>
<BR>
host->container   squashfs.img     100%  639MB  33.6MB/s   00:19    <BR>
container->host   squashfs.img      100%  639MB  29.0MB/s   00:22    <BR>
<BR>
Both tests inside the container. The limiting resource here is cpu for the<BR>
encryption. <BR>
<BR>
I'm on kernel 2.6.34/fc12 for this. <BR>
<BR>
Andy<BR>
<BR>
On Thu, 2010-05-27 at 17:51 +1000, Toby Corkindale wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
Hi,
I have several LXC containers, running on Ubuntu Lucid's current kernel, 
2.6.32-22.

Network performance from the containers to the LAN is fine.
However copying files (scp/rsync/whatever) between the containers and 
their host is extremely slow - a steady 32 kb/sec.

I am using bridged networking, with an mtu of 1500 on the bridge and all 
the related devices (virtual and real).
I have tried setting 'setfd' to 0 on br0.

Config includes:
lxc.network.type = veth
lxc.network.flags = up
lxc.network.link = br0
lxc.network.ipv4 = 0.0.0.0
lxc.network.name = eth0


I couldn't spot anything quite like this on the mailing list archives, 
although I did see in february this:
<A HREF="http://www.mail-archive.com/lxc-users@lists.sourceforge.net/msg00071.html">http://www.mail-archive.com/lxc-users@lists.sourceforge.net/msg00071.html</A>

but it didn't seem to be resolved.


Any thoughts?
Thanks,
Toby

------------------------------------------------------------------------------

_______________________________________________
Lxc-users mailing list
<A HREF="mailto:Lxc-users@lists.sourceforge.net">Lxc-users@lists.sourceforge.net</A>
<A HREF="https://lists.sourceforge.net/lists/listinfo/lxc-users">https://lists.sourceforge.net/lists/listinfo/lxc-users</A>
</PRE>
</BLOCKQUOTE>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
Andrew Phillips<BR>
Head of Systems<BR>
<BR>
<A HREF="http://www.tradefair.com">www.lmax.com</A> <BR>
<BR>
Office: +44 203 1922509<BR>
Mobile: +44 (0)7595 242 900<BR>
<BR>
LMAX | Level 2, Yellow Building | 1 Nicholas Road | London | W11 4AN<BR>
<BR>
<BR>
</TD>
</TR>
</TABLE>
<BR>
The information in this e-mail and any attachment is confidential and is intended only for the named recipient(s). The e-mail may not be disclosed or used by any person other than the addressee, nor may it be copied in any way. If you are not a named recipient please notify the sender immediately and delete any copies of this message. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. Any view or opinions presented are solely those of the author and do not necessarily represent those of the company.<BR>
</BODY>
</HTML>