Skip to contentSkip to conversation

Xend loads slowly

DISCUSSION David Pilger 4 participants 7 messages Jan 25, 2007

lore
Share & tools
lore
#0 lore raw

Hi,

Xend takes around 2 minutes to load, I've compiled the unstable version and tested it on two different computers... any idea why it takes so much time?

Thanks,
David.

#1 lore raw
Quoted 3 lines

Xend takes around 2 minutes to load, I've compiled the unstable version and tested it on two different computers... any idea why it takes so much time?

Before starting xend, try running the /etc/xen/scripts/network-bridge script on its own.

I suspect this is where all the time goes. I've seen this happen with certain network cards, but not for a long time. What version are you using?

Ian

#2 lore raw
Quoted 11 lines · Ian Pratt
Quoted 3 lines

Xend takes around 2 minutes to load, I've compiled the unstable version and tested it on two different computers... any idea why it takes so much time?

Before starting xend, try running the /etc/xen/scripts/network-bridge script on its own.

I suspect this is where all the time goes. I've seen this happen with certain network cards, but not for a long time. What version are you using?

Is there any work scheduled on the Xen roadmap yet to remove the need to use netloop driver in Dom0 ? It would be very desirable to eliminate the complicated peth0/eth0/vif0 interface renaming/duplication for Dom0 so that the regular OS distro provided networking scripts 'just work' with Xen. So if people wanted a bridged setup they can simply create their regular /etc/sysconfig/network-scripts/ifcfg-br0 (or equivalant) - so XenD would only need to worry about the vif-* scripts, and we can kill off network-* scripts.

Having Xen init scripts mess around with networking is causing all sorts of other pain like breaking bonding, not working with netconsole, breaking NFS root or complicating other network based storage booting like AoE/iSCSI. This is unfortunately giving Xen a bad reputation as being very hard to manage wrt to networking, which would be nice to address.

Regards,
Dan.

Signature · 4 lines
|=- Red Hat, Engineering, Emerging Technologies, Boston.  +1 978 392 2496 -=|
|=-           Perl modules: http://search.cpan.org/~danberr/              -=|
|=-               Projects: http://freshmeat.net/~danielpb/               -=|
|=-  GnuPG: 7D3B9505   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505  -=| 
#3 lore raw
Quoted 8 lines · Daniel P. Berrange

Is there any work scheduled on the Xen roadmap yet to remove the need to use netloop driver in Dom0 ? It would be very desirable to eliminate the complicated peth0/eth0/vif0 interface renaming/duplication for Dom0 so that the regular OS distro provided networking scripts 'just work' with Xen. So if people wanted a bridged setup they can simply create their regular /etc/sysconfig/network-scripts/ifcfg-br0 (or equivalant) - so XenD would only need to worry about the vif-* scripts, and we can kill off network-* scripts.

You can set things up today without the loopback. But if domU<->dom0 traffic is allowed then you can end up with all domU tx slots tied up in dom0 socket buffers for unbounded time. If domU<->dom0 traffic is disallowed, or just not done, then the loopback serves no other purpose.

-- Keir

#4 lore raw
Quoted 11 lines · Keir Fraser
Quoted 8 lines · Daniel P. Berrange

Is there any work scheduled on the Xen roadmap yet to remove the need to use netloop driver in Dom0 ? It would be very desirable to eliminate the complicated peth0/eth0/vif0 interface renaming/duplication for Dom0 so that the regular OS distro provided networking scripts 'just work' with Xen. So if people wanted a bridged setup they can simply create their regular /etc/sysconfig/network-scripts/ifcfg-br0 (or equivalant) - so XenD would only need to worry about the vif-* scripts, and we can kill off network-* scripts.

Quoted 4 lines

You can set things up today without the loopback. But if domU<->dom0 traffic is allowed then you can end up with all domU tx slots tied up in dom0 socket buffers for unbounded time. If domU<->dom0 traffic is disallowed, or just not done, then the loopback serves no other purpose.

Yes, I was specifically thinking about the ideas that have been brought up every now & then about fixing the netback side of things to avoid the dom0 socket buffers being pinned indefinitely. So we can safely have the DomU <-> Dom0 traffic without needing netloop.

Regar,ds
Dan.

Signature · 4 lines
|=- Red Hat, Engineering, Emerging Technologies, Boston.  +1 978 392 2496 -=|
|=-           Perl modules: http://search.cpan.org/~danberr/              -=|
|=-               Projects: http://freshmeat.net/~danielpb/               -=|
|=-  GnuPG: 7D3B9505   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505  -=| 
#5 lore raw
Quoted 3 lines
Quoted 1 line

You can set things up today without the loopback. But if domU<->dom0

traffic

Quoted 1 line

is allowed then you can end up with all domU tx slots tied up in

dom0

Quoted 2 lines

socket

Quoted 1 line

buffers for unbounded time. If domU<->dom0 traffic is disallowed, or

just

Quoted 3 lines
Quoted 1 line

not done, then the loopback serves no other purpose.

Yes, I was specifically thinking about the ideas that have been

brought

Quoted 1 line

up every now & then about fixing the netback side of things to avoid

the

Quoted 1 line

dom0 socket buffers being pinned indefinitely. So we can safely have

the

Quoted 1 line

DomU <-> Dom0 traffic without needing netloop.

Herbert Xu would be the man to do this in an upstream-friendly way :-)

Ian

#6 lore raw
In reply to Ian Pratt

Thanks for your replay!
The network card is Intel 82573L Gigabit, I'm using an IBM T60 notebook, with the intel ICH7 chipset.

I will check the network-bridge script alone at the next boot, it might be it becuase a restart is being performed fast.

Quoted 14 lines · Ian Pratt
Quoted 3 lines

Xend takes around 2 minutes to load, I've compiled the unstable version and tested it on two different computers... any idea why it takes so much time?

Before starting xend, try running the /etc/xen/scripts/network-bridge script on its own.

I suspect this is where all the time goes. I've seen this happen with certain network cards, but not for a long time. What version are you using?

Ian