Re: Can I bridge the loopback?

2013-03-18 Thread Stefan Hajnoczi
On Sat, Mar 16, 2013 at 12:06:30AM -0500, Steve wrote:
 Here's the issue. I want to communicate between virtual machines, second 
 Ethernet virtual port. But I would like to use the host loopback for that so 
 as to not be limited to Ethernet port speeds, for large copies, etc. Right 
 now, the machine is connected to a 10mbps switch on port 2 and would like to 
 get far faster transfer speeds when using the so called private LAN. Bridging 
 eth1 merely limits the speed to 10 Mbps. If it was bridged to the host 
 loopback, I was hoping it could achieve far faster speeds and also not 
 saturate the switch.
 
 So, could I make a br1 that is assigned to 127.0.0.1 and then each host can 
 use that as eth1?--

Guest-guest communication is not affected by physical NIC link speed.
A software bridge with the guest tap interfaces and the host's physical
interface should allow guests to communicate 10 Mbps.

Have you measured the speed of guest-guest networking and found it is
10 Mbps?

If you still experience poor performance, please post your QEMU
command-line, ifconfig -a (on host), and brctl show (on host) output.

Stefan
--
To unsubscribe from this list: send the line unsubscribe kvm in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Can I bridge the loopback?

2013-03-15 Thread Steve
Here's the issue. I want to communicate between virtual machines, second 
Ethernet virtual port. But I would like to use the host loopback for that so as 
to not be limited to Ethernet port speeds, for large copies, etc. Right now, 
the machine is connected to a 10mbps switch on port 2 and would like to get far 
faster transfer speeds when using the so called private LAN. Bridging eth1 
merely limits the speed to 10 Mbps. If it was bridged to the host loopback, I 
was hoping it could achieve far faster speeds and also not saturate the switch.

So, could I make a br1 that is assigned to 127.0.0.1 and then each host can use 
that as eth1?--
To unsubscribe from this list: send the line unsubscribe kvm in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html