Skip to contentSkip to conversation

BSoD with GPLPV + tap:aio

DISCUSSION James Harper 2 participants 6 messages Nov 7, 2009 – Nov 9, 2009

lore
Share & tools
lore
#0 lore raw

When I use my GPLPV drivers with tap:aio, I get a random BSoD after a while, normally 0x0000000A.

Can anyone suggest what could be different with file|phy vs tap:aio that might cause a problem? Is tap:aio otherwise known to be good?

Thanks

James

#1 lore raw
Quoted 5 lines

When I use my GPLPV drivers with tap:aio, I get a random BSoD after a while, normally 0x0000000A.

Can anyone suggest what could be different with file|phy vs tap:aio

that

Quoted 2 lines

might cause a problem? Is tap:aio otherwise known to be good?

Forgot to add, the underlying file is sparse.

Thanks

James

#2 lore raw
In reply to James Harper
Quoted 6 lines · James Harper

When I use my GPLPV drivers with tap:aio, I get a random BSoD after a while, normally 0x0000000A.

Can anyone suggest what could be different with file|phy vs tap:aio that might cause a problem? Is tap:aio otherwise known to be good?

I guess the main difference is likely to be blkback vs. blktap. Guessing from the minimal info., I'm guessing you're probably hitting a state model problem. Was there any significant PnP going on when you got the BSOD?

Paul

Signature · 4 lines
===============================
Paul Durrant, Software Engineer
Citrix Systems (R&D) Ltd.
===============================
#3 lore raw
Quoted 3 lines
Quoted 1 line · James Harper

When I use my GPLPV drivers with tap:aio, I get a random BSoD after

a

Quoted 3 lines
Quoted 3 lines

while, normally 0x0000000A.

Can anyone suggest what could be different with file|phy vs tap:aio

that

Quoted 4 lines
Quoted 2 lines

might cause a problem? Is tap:aio otherwise known to be good?

I guess the main difference is likely to be blkback vs. blktap.

Guessing

Quoted 2 lines

from the minimal info., I'm guessing you're probably hitting a state model problem. Was there any significant PnP going on when you got the

BSOD?

Quoted 1 line

No PnP. I/O was being saturated though - I was performing a restore via network to the disk on the machine that crashed.

Using phy: or file: I can restore 600GB with no problems at all. With tap:aio it crashes after a few tens of GB.

James

#4 lore raw
Quoted 7 lines · James Harper

No PnP. I/O was being saturated though - I was performing a restore via network to the disk on the machine that crashed.

Using phy: or file: I can restore 600GB with no problems at all. With tap:aio it crashes after a few tens of GB.

Another guess then... tap will probably have more outstanding transactions than back as its datapath is likely to be longer and so is higher latency. Is your frontend overflowing a queue of outstanding SRBs?

Paul

Signature · 12 lines
===============================
Paul Durrant, Software Engineer

Citrix Systems (R&D) Ltd.
First Floor, Building 101
Cambridge Science Park
Milton Road
Cambridge CB4 0FY
United Kingdom

TEL: x35957 (+44 1223 225957)
===============================
#5 lore raw
Quoted 4 lines
Quoted 2 lines · James Harper

No PnP. I/O was being saturated though - I was performing a restore

via

Quoted 3 lines
Quoted 3 lines

network to the disk on the machine that crashed.

Using phy: or file: I can restore 600GB with no problems at all.

With

Quoted 5 lines
Quoted 2 lines

tap:aio it crashes after a few tens of GB.

Another guess then... tap will probably have more outstanding transactions than back as its datapath is likely to be longer and so

is

Quoted 1 line

higher latency. Is your frontend overflowing a queue of outstanding

SRBs?

Quoted 1 line

Thanks, that's a good lead. I think Windows is pretty limiting in the amount of outstanding I/O that it allows (16 outstanding requests?) but maybe that is too much for tap... I'll double check that I am catering for a ring-full condition.

James