Skip to contentSkip to conversation

Unstableness in grant table block drivers

DISCUSSION Anthony Liguori 3 participants 6 messages Apr 14, 2005

lore
Share & tools
lore
#0 lore raw

We've experienced a lot of problems in the new grant table-based block drivers. It's exposing itself in a number of ways. I've seen it stop working after working for a bit, sometimes XenU stops half-way through boot, and on one system init panics because it can't find a root filesystem.

Grant table block drivers are now the default config option in xen-unstable even though it's marked as experimental. Perhaps it should not be default until it gets a bit more stable?

I know the last week's been really busy, but in the future, it would be nice if a big destabilizing change like this could get announced on xen-devel so we could be on the look out for these sort of bugs.

Thanks,

Signature · 4 lines
Anthony Liguori
Linux Technology Center (LTC) - IBM Austin
E-mail: [email protected]
Phone: (512) 838-1208
#1 lore raw
Quoted 6 lines

We've experienced a lot of problems in the new grant table-based block drivers. It's exposing itself in a number of ways. I've seen it stop working after working for a bit, sometimes XenU stops half-way through boot, and on one system init panics because it can't find a root filesystem.

Have you made any progress in further identifying or narrowing down these bugs? Detailed bug reports or, better, patches, are always more useful than general reports of issues.

Quoted 3 lines

Grant table block drivers are now the default config option in xen-unstable even though it's marked as experimental. Perhaps it should not be default until it gets a bit more stable?

We've not seen any bugs ourselves but obviously if it's biting you regularly then may be worth while disabling in your config. I'm loathe to disable it by default in the general config since this won't help us uncover and fix whatever bugs are present.

Quoted 3 lines

I know the last week's been really busy, but in the future, it would be nice if a big destabilizing change like this could get announced on xen-devel so we could be on the look out for these sort of bugs.

Sure, good point (though as mentioned above, we hadn't seen any problems ourselves -- we strongly appreciate the community effort in helping us ensure new changes work on a broad range of configs and usage scenarios).

cheers,

S.

#2 lore raw
Quoted 4 lines · Steven Hand

Have you made any progress in further identifying or narrowing down these bugs? Detailed bug reports or, better, patches, are always more useful than general reports of issues.

This is where having a bugzilla would really help out. At this stage, I don't know that much but enough that I could enter something in bugzilla. As I learn more, we could add more detail until there was enough that someone (or I) could actually fix it.

Quoted 3 lines

We've not seen any bugs ourselves but obviously if it's biting you regularly then may be worth while disabling in your config. I'm loathe to disable it by default in the general config since this won't help us uncover and fix whatever bugs are present.

That's why I suggested just sending a note to the list. Bugs need to be found and that's what xen-unstable should be for. I'm happy to leave it enabled by default but wanted to let the rest of the list know that if they run into stability problems that might be a good place to start looking.

Regards,
Anthony Liguori

#3 lore raw
In reply to Steven Hand
Quoted 4 lines

Sure, good point (though as mentioned above, we hadn't seen any problems ourselves -- we strongly appreciate the community effort in helping us ensure new changes work on a broad range of configs and usage scenarios).

I think it is safe to say that the blkback/blkfront still have some serious bugs to be fixed even in the absences of grant tables. Exporting more than a couple of block devices to VMs will eventually cause domUs to stop receiving block I/O. I hope to have time to create a scenario that works quicktly and with a sufficiently small configuration that you'll be able to reproduce it there. To date I've only tried it with a fairly large number of LUNs.

Developers using xen here periodically have to re-boot their machines as a result. They can't reproduce it consistently (thankfully), but they're typically only using 7-10 VBDs.

-Kip

#4 lore raw
Quoted 4 lines · Kip Macy

I think it is safe to say that the blkback/blkfront still have some serious bugs to be fixed even in the absences of grant tables.

How many is a lot of VBDs? I've done quite a bit of testing of the devices (with Xend and with VM-Tools) and I've found the block drivers to be very reliable. I've not gone much higher than 3 or 4 VBDs for each domain though.

Regards,
Anthony Liguoris

#5 lore raw

If I do

3 VMs x 40 iSCSI LUNs/VM x foreach (lun) dd if=/dev/zero of=/dev/xbd<n> bs=64k

iscsi ops will stop going across the wire in 2 - 3 minutes. Access to the LUNs from DOM0 still works. I haven't had a chance to try a smaller configuration. This is all scripted so it only takes a minute to set up, but I'm busy trying to get FreeBSD to run (and not have DOM0 lockup) on a recent -unstable.

-Kip

Quoted 14 lines · Anthony Liguori
Quoted 4 lines · Kip Macy

I think it is safe to say that the blkback/blkfront still have some serious bugs to be fixed even in the absences of grant tables.

How many is a lot of VBDs? I've done quite a bit of testing of the devices (with Xend and with VM-Tools) and I've found the block drivers to be very reliable. I've not gone much higher than 3 or 4 VBDs for each domain though.

Regards,
Anthony Liguoris