On Mon, Feb 21, 2011 at 05:07:31PM +0100, Daniel Lezcano wrote: > IMO, the checksum is not needed for the virtual macvlan devices, hence Well, maybe then I've made a horrible mistake of asking the wrong question. It's not a bad checksums that are wondering me, but very poor network traffic performance: I'm getting about ~25kbps of /dev/zero-to-/dev/null copy via netcat between hosts and mysql queries from container other than mysql's are horribly laggy.
Strangely enough - while there is such bug on both systems, they are behaving differently. First system (router): eth1 eth0 dummy0 |----|------------|-----------|-----| macvlans |------------| | macvlan "lan" | |-------------------------| containers | | / \ | | | | -----------| |--|---|----------|-----------|-----| | | | | macvlan | | |----------------|------| --- | | eth0 eth1 eth2 | Router-container LAN | | | | --- \---------------/ | |-----------------------| And bug appears much less when copying from container to container, or from container to HN (but still noticeable, especially in mysql queries), but it's seen very well when copying from LAN to container. netcat copy transfer rate shows enormous ~300 Mbps. /proc/net/dev show many transfer errors but 0 receive errors. Second system (server): eth0 eth1 dummy0 |----------------------------|---------------| | no carrier |-macvlan "lxc" | |----------------------------|---------------| | |---------------------------| | containers | |---------------------------| We can't link macvlans on eth1, as it has no carrier and macvlans are not working in this case. Here bug is seen very well, even in transferring packets from container to container (netcat copy transfer rate is ~40kbps on this system). /proc/net/dev show may errors in both directions. First system is slightly more powerful, but difference in between-container performance is just too big. Also, tcpdump on both system reports kernel-dropped packets in great amount. P.S. netcat copy is: lxc1) nc6 -l -p 12345 > /dev/null lxc2) dd if=/dev/zero | nc6 lxc1 12345
pgpq1eFVBsrkx.pgp
Description: PGP signature
------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________ Lxc-users mailing list Lxc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-users