Skip to contentSkip to conversation

Windows and I/O size

Qemu-devel Peter Lieven 2 participants 8 messages Jan 8, 2013

lore
Share & tools
lore
#0 lore raw

Hi all,

I came across the fact that Windows seems to requests greater 64KB into pieces leading to a lot of IOPs on the storage side.

Can anyone imagine of a way to merge them before sending them to e.g. an iSCSI Storage? 64KB I/O Size is not optimal when e.g. large sequential operations with an iSCSI target.

Thank you,
Peter

#1 lore raw
Quoted 11 lines · Peter Lieven

Hi all,

I came across the fact that Windows seems to requests greater 64KB into pieces leading to a lot of IOPs on the storage side.

Can anyone imagine of a way to merge them before sending them to e.g. an iSCSI Storage? 64KB I/O Size is not optimal when e.g. large sequential operations with an iSCSI target.

Thank you,
Peter

Hi Peter.
Is it viostor? Which version? The most recent one is able to handle 256K blocks.

Best regards,
Vadim.

#2 lore raw

Am 08.01.2013 um 09:50 schrieb Vadim Rozenfeld <[email protected]>:

Quoted 10 lines · Peter Lieven
Quoted 9 lines

Hi all,

I came across the fact that Windows seems to requests greater 64KB into pieces leading to a lot of IOPs on the storage side.

Can anyone imagine of a way to merge them before sending them to e.g. an iSCSI Storage? 64KB I/O Size is not optimal when e.g. large sequential operations with an iSCSI target.

Quoted 5 lines
Quoted 2 lines

Thank you,
Peter

Hi Peter.
Is it viostor? Which version? The most recent one is able to handle 256K blocks.

Not the recent. I will try 0.1.49 now.

256KB is still not that much but definitely better than 64KB. are this windows limits?

I have found docs in the net that windows splits up everything into 64kB requests. Is this info old?

thank you,
Peter

Quoted 3 lines

Best regards,
Vadim.

#3 lore raw
Quoted 14 lines · Peter Lieven

Am 08.01.2013 um 09:50 schrieb Vadim Rozenfeld <[email protected]>:

Quoted 13 lines · Peter Lieven
Quoted 11 lines

Hi all,

I came across the fact that Windows seems to requests greater 64KB into pieces leading to a lot of IOPs on the storage side.

Can anyone imagine of a way to merge them before sending them to e.g. an iSCSI Storage? 64KB I/O Size is not optimal when e.g. large sequential operations with an iSCSI target.

Thank you,
Peter

Quoted 8 lines
Quoted 3 lines

Hi Peter.
Is it viostor? Which version? The most recent one is able to handle 256K blocks.

Not the recent. I will try 0.1.49 now.

256KB is still not that much but definitely better than 64KB. are this windows limits?

not exactly. it came from the driver itself. actually, with indirect buffer support in virtio the sky is the limit.

Quoted 9 lines

I have found docs in the net that windows splits up everything into 64kB requests. Is this info old?

thank you,
Peter

Quoted 2 lines

Best regards,
Vadim.

#4 lore raw

Am 08.01.2013 um 10:29 schrieb Vadim Rozenfeld <[email protected]>:

Quoted 19 lines · Peter Lieven
Quoted 18 lines

Am 08.01.2013 um 09:50 schrieb Vadim Rozenfeld <[email protected]>:

Quoted 16 lines · Peter Lieven
Quoted 11 lines

Hi all,

I came across the fact that Windows seems to requests greater 64KB into pieces leading to a lot of IOPs on the storage side.

Can anyone imagine of a way to merge them before sending them to e.g. an iSCSI Storage? 64KB I/O Size is not optimal when e.g. large sequential operations with an iSCSI target.

Thank you,
Peter

Hi Peter.
Is it viostor? Which version? The most recent one is able to handle 256K blocks.

Quoted 7 lines
Quoted 4 lines

Not the recent. I will try 0.1.49 now.

256KB is still not that much but definitely better than 64KB. are this windows limits?

not exactly. it came from the driver itself. actually, with indirect buffer support in virtio the sky is the limit.

would it be possible to make this value user adjustable in the driver settings?

I can meanwhile confirm that the IOPS for sequential reads (writes not tested) have dropped to 1/4 as expected.

I think 256K is a reasonable value. What was the reason to choose it?

Thank you,
Peter

Quoted 10 lines
Quoted 10 lines

I have found docs in the net that windows splits up everything into 64kB requests. Is this info old?

thank you,
Peter

Quoted 2 lines

Best regards,
Vadim.

#5 lore raw
Quoted 22 lines · Peter Lieven

Am 08.01.2013 um 10:29 schrieb Vadim Rozenfeld <[email protected]>:

Quoted 21 lines · Peter Lieven
Quoted 20 lines

Am 08.01.2013 um 09:50 schrieb Vadim Rozenfeld <[email protected]>:

Quoted 10 lines · Peter Lieven
Quoted 9 lines

Hi all,

I came across the fact that Windows seems to requests greater 64KB into pieces leading to a lot of IOPs on the storage side.

Can anyone imagine of a way to merge them before sending them to e.g. an iSCSI Storage? 64KB I/O Size is not optimal when e.g. large sequential operations with an iSCSI target.

Quoted 6 lines
Quoted 2 lines

Thank you,
Peter

Hi Peter.
Is it viostor? Which version? The most recent one is able to handle 256K blocks.

Not the recent. I will try 0.1.49 now.

Quoted 9 lines
Quoted 5 lines
Quoted 2 lines

256KB is still not that much but definitely better than 64KB. are this windows limits?

not exactly. it came from the driver itself. actually, with indirect buffer support in virtio the sky is the limit.

would it be possible to make this value user adjustable in the driver settings?

technically, yes.

Quoted 4 lines

I can meanwhile confirm that the IOPS for sequential reads (writes not tested) have dropped to 1/4 as expected.

I think 256K is a reasonable value. What was the reason to choose it?

In Windows cache manager operates with 256 KB blocks. Cheers,
Vadim.

Quoted 12 lines

Thank you,
Peter

Quoted 8 lines
Quoted 8 lines

I have found docs in the net that windows splits up everything into 64kB requests. Is this info old?

thank you,
Peter

Quoted 2 lines

Best regards,
Vadim.

#6 lore raw
In reply to Vadim Rozenfeld

Am 08.01.2013 um 10:29 schrieb Vadim Rozenfeld <[email protected]>:

Quoted 19 lines · Peter Lieven
Quoted 18 lines

Am 08.01.2013 um 09:50 schrieb Vadim Rozenfeld <[email protected]>:

Quoted 16 lines · Peter Lieven
Quoted 11 lines

Hi all,

I came across the fact that Windows seems to requests greater 64KB into pieces leading to a lot of IOPs on the storage side.

Can anyone imagine of a way to merge them before sending them to e.g. an iSCSI Storage? 64KB I/O Size is not optimal when e.g. large sequential operations with an iSCSI target.

Thank you,
Peter

Hi Peter.
Is it viostor? Which version? The most recent one is able to handle 256K blocks.

Quoted 7 lines
Quoted 4 lines

Not the recent. I will try 0.1.49 now.

256KB is still not that much but definitely better than 64KB. are this windows limits?

not exactly. it came from the driver itself. actually, with indirect buffer support in virtio the sky is the limit.

is indirect buffering supported on all windows platforms?

Peter

Quoted 10 lines
Quoted 10 lines

I have found docs in the net that windows splits up everything into 64kB requests. Is this info old?

thank you,
Peter

Quoted 2 lines

Best regards,
Vadim.

#7 lore raw
Quoted 22 lines · Peter Lieven

Am 08.01.2013 um 10:29 schrieb Vadim Rozenfeld <[email protected]>:

Quoted 21 lines · Peter Lieven
Quoted 20 lines

Am 08.01.2013 um 09:50 schrieb Vadim Rozenfeld <[email protected]>:

Quoted 10 lines · Peter Lieven
Quoted 9 lines

Hi all,

I came across the fact that Windows seems to requests greater 64KB into pieces leading to a lot of IOPs on the storage side.

Can anyone imagine of a way to merge them before sending them to e.g. an iSCSI Storage? 64KB I/O Size is not optimal when e.g. large sequential operations with an iSCSI target.

Quoted 6 lines
Quoted 2 lines

Thank you,
Peter

Hi Peter.
Is it viostor? Which version? The most recent one is able to handle 256K blocks.

Not the recent. I will try 0.1.49 now.

Quoted 7 lines
Quoted 5 lines
Quoted 2 lines

256KB is still not that much but definitely better than 64KB. are this windows limits?

not exactly. it came from the driver itself. actually, with indirect buffer support in virtio the sky is the limit.

is indirect buffering supported on all windows platforms?

yes.
btw, forgot to mention that vioscsi doesn't have this feature yet.

Quoted 11 lines

Peter

Quoted 8 lines
Quoted 8 lines

I have found docs in the net that windows splits up everything into 64kB requests. Is this info old?

thank you,
Peter

Quoted 2 lines

Best regards,
Vadim.