* [PATCH 5/6] staging: hv: Increased storvsc ringbuffer and max_io_requests
@ 2010-08-03 17:31 Hank Janssen
2010-08-03 17:40 ` Greg KH
2010-08-03 17:40 ` Greg KH
0 siblings, 2 replies; 5+ messages in thread
From: Hank Janssen @ 2010-08-03 17:31 UTC (permalink / raw)
To: 'linux-kernel@vger.kernel.org',
'devel@driverdev.osuosl.org',
'virtualization@lists.osdl.org'
Cc: Haiyang Zhang, 'gregkh@suse.de'
From: Hank Janssen <hjanssen@microsoft.com>
Increased storvsc ringbuffer and max_io_requests. This now more closely mimics
the numbers on Hyper-V. And will allow more IO requests to take place for the SCSI driver.
Signed-off-by:Hank Janssen <hjanssen@microsoft.com>
Signed-off-by:Haiyang Zhang <haiyangz@microsoft.com>
---
drivers/staging/hv/storvsc_api.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/hv/storvsc_api.h b/drivers/staging/hv/storvsc_api.h
index 0063bde..8505a1c 100644
--- a/drivers/staging/hv/storvsc_api.h
+++ b/drivers/staging/hv/storvsc_api.h
@@ -28,10 +28,10 @@
#include "vmbus_api.h"
/* Defines */
-#define STORVSC_RING_BUFFER_SIZE (10*PAGE_SIZE)
+#define STORVSC_RING_BUFFER_SIZE (20*PAGE_SIZE)
#define BLKVSC_RING_BUFFER_SIZE (20*PAGE_SIZE)
-#define STORVSC_MAX_IO_REQUESTS 64
+#define STORVSC_MAX_IO_REQUESTS 128
/*
* In Hyper-V, each port/path/target maps to 1 scsi host adapter. In
--
1.6.0.2
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH 5/6] staging: hv: Increased storvsc ringbuffer and max_io_requests
2010-08-03 17:31 [PATCH 5/6] staging: hv: Increased storvsc ringbuffer and max_io_requests Hank Janssen
@ 2010-08-03 17:40 ` Greg KH
2010-08-04 3:23 ` Hank Janssen
2010-08-03 17:40 ` Greg KH
1 sibling, 1 reply; 5+ messages in thread
From: Greg KH @ 2010-08-03 17:40 UTC (permalink / raw)
To: Hank Janssen
Cc: 'linux-kernel@vger.kernel.org',
'devel@driverdev.osuosl.org',
'virtualization@lists.osdl.org', Haiyang Zhang
On Tue, Aug 03, 2010 at 05:31:55PM +0000, Hank Janssen wrote:
> From: Hank Janssen <hjanssen@microsoft.com>
>
> Increased storvsc ringbuffer and max_io_requests. This now more closely mimics
> the numbers on Hyper-V.
What do you mean by this? The max provided by the hypervisor?
> And will allow more IO requests to take place for the SCSI driver.
Which means what, better throughput? Or just more outstanding requests
and the same speed overall?
thanks,
greg k-h
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 5/6] staging: hv: Increased storvsc ringbuffer and max_io_requests
2010-08-03 17:31 [PATCH 5/6] staging: hv: Increased storvsc ringbuffer and max_io_requests Hank Janssen
2010-08-03 17:40 ` Greg KH
@ 2010-08-03 17:40 ` Greg KH
1 sibling, 0 replies; 5+ messages in thread
From: Greg KH @ 2010-08-03 17:40 UTC (permalink / raw)
To: Hank Janssen
Cc: 'linux-kernel@vger.kernel.org',
'devel@driverdev.osuosl.org',
'virtualization@lists.osdl.org', Haiyang Zhang
On Tue, Aug 03, 2010 at 05:31:55PM +0000, Hank Janssen wrote:
> From: Hank Janssen <hjanssen@microsoft.com>
>
> Increased storvsc ringbuffer and max_io_requests. This now more closely mimics
> the numbers on Hyper-V. And will allow more IO requests to take place for the SCSI driver.
>
> Signed-off-by:Hank Janssen <hjanssen@microsoft.com>
> Signed-off-by:Haiyang Zhang <haiyangz@microsoft.com>
Again with the trailing spaces :(
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: [PATCH 5/6] staging: hv: Increased storvsc ringbuffer and max_io_requests
2010-08-03 17:40 ` Greg KH
@ 2010-08-04 3:23 ` Hank Janssen
2010-08-04 17:08 ` Greg KH
0 siblings, 1 reply; 5+ messages in thread
From: Hank Janssen @ 2010-08-04 3:23 UTC (permalink / raw)
To: Greg KH
Cc: 'linux-kernel@vger.kernel.org',
'devel@driverdev.osuosl.org',
'virtualization@lists.osdl.org', Haiyang Zhang
>>And than Greg KH spoke these words:
>>On Tue, Aug 03, 2010 at 05:31:55PM +0000, Hank Janssen wrote:
> >From: Hank Janssen <hjanssen@microsoft.com>
> >
> >Increased storvsc ringbuffer and max_io_requests. This now more
> >closely mimics the numbers on Hyper-V.
>
>What do you mean by this? The max provided by the hypervisor?
Max_IO is set to double from what it was before, Hyper-V allows it and
We have had appliance builder requests to see if it was a problem to increase
The number.
Ringbuffer size for storvsc is now increased because I have seen
A few buffer problems on extremely busy systems. They where
Set pretty low before. And since max_io_requests is increased I
Really needed to increase the buffer as well.
>> And will allow more IO requests to take place for the SCSI driver.
>
>Which means what, better throughput? Or just more outstanding requests and the same speed overall?
It means better throughput of high load systems, else you get buffer
Contention.
Thanks,
Hank.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 5/6] staging: hv: Increased storvsc ringbuffer and max_io_requests
2010-08-04 3:23 ` Hank Janssen
@ 2010-08-04 17:08 ` Greg KH
0 siblings, 0 replies; 5+ messages in thread
From: Greg KH @ 2010-08-04 17:08 UTC (permalink / raw)
To: Hank Janssen
Cc: 'linux-kernel@vger.kernel.org',
'devel@driverdev.osuosl.org',
'virtualization@lists.osdl.org', Haiyang Zhang
On Wed, Aug 04, 2010 at 03:23:09AM +0000, Hank Janssen wrote:
>
> >>And than Greg KH spoke these words:
> >>On Tue, Aug 03, 2010 at 05:31:55PM +0000, Hank Janssen wrote:
> > >From: Hank Janssen <hjanssen@microsoft.com>
> > >
> > >Increased storvsc ringbuffer and max_io_requests. This now more
> > >closely mimics the numbers on Hyper-V.
> >
> >What do you mean by this? The max provided by the hypervisor?
>
> Max_IO is set to double from what it was before, Hyper-V allows it and
> We have had appliance builder requests to see if it was a problem to increase
> The number.
>
> Ringbuffer size for storvsc is now increased because I have seen
> A few buffer problems on extremely busy systems. They where
> Set pretty low before. And since max_io_requests is increased I
> Really needed to increase the buffer as well.
>
> >> And will allow more IO requests to take place for the SCSI driver.
> >
> >Which means what, better throughput? Or just more outstanding requests and the same speed overall?
>
> It means better throughput of high load systems, else you get buffer
> Contention.
All good, care to included this in the changelog comment when you resend
this whole series?
thanks,
greg k-h
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2010-08-04 17:08 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-03 17:31 [PATCH 5/6] staging: hv: Increased storvsc ringbuffer and max_io_requests Hank Janssen
2010-08-03 17:40 ` Greg KH
2010-08-04 3:23 ` Hank Janssen
2010-08-04 17:08 ` Greg KH
2010-08-03 17:40 ` Greg KH
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).