Re: [RFC PATCH v2] blk-mq: Introduce per sw queue time-slice

2016-02-10 Thread Andreas Herrmann
On Wed, Feb 10, 2016 at 08:47:15PM +0100, Markus Trippelsdorf wrote: > On 2016.02.10 at 20:34 +0100, Andreas Herrmann wrote: > > On Tue, Feb 09, 2016 at 06:41:56PM +0100, Markus Trippelsdorf wrote: > > > > Recently Johannes sent a patch to enable scsi-mq per driver, see > > > >

Re: [RFC PATCH v2] blk-mq: Introduce per sw queue time-slice

2016-02-10 Thread Markus Trippelsdorf
On 2016.02.10 at 20:34 +0100, Andreas Herrmann wrote: > On Tue, Feb 09, 2016 at 06:41:56PM +0100, Markus Trippelsdorf wrote: > > > Recently Johannes sent a patch to enable scsi-mq per driver, see > > > http://marc.info/?l=linux-scsi=145347009631192=2 > > > > > > Probably that is a good solution

Re: [RFC PATCH v2] blk-mq: Introduce per sw queue time-slice

2016-02-10 Thread Andreas Herrmann
On Tue, Feb 09, 2016 at 06:41:56PM +0100, Markus Trippelsdorf wrote: > On 2016.02.09 at 18:12 +0100, Andreas Herrmann wrote: > > [CC-ing linux-block and linux-scsi and adding some comments] > > > > On Mon, Feb 01, 2016 at 11:43:40PM +0100, Andreas Herrmann wrote: > > > This introduces a new

Re: [RFC PATCH v2] blk-mq: Introduce per sw queue time-slice

2016-02-10 Thread Markus Trippelsdorf
On 2016.02.10 at 20:34 +0100, Andreas Herrmann wrote: > On Tue, Feb 09, 2016 at 06:41:56PM +0100, Markus Trippelsdorf wrote: > > > Recently Johannes sent a patch to enable scsi-mq per driver, see > > > http://marc.info/?l=linux-scsi=145347009631192=2 > > > > > > Probably that is a good solution

Re: [RFC PATCH v2] blk-mq: Introduce per sw queue time-slice

2016-02-10 Thread Andreas Herrmann
On Tue, Feb 09, 2016 at 06:41:56PM +0100, Markus Trippelsdorf wrote: > On 2016.02.09 at 18:12 +0100, Andreas Herrmann wrote: > > [CC-ing linux-block and linux-scsi and adding some comments] > > > > On Mon, Feb 01, 2016 at 11:43:40PM +0100, Andreas Herrmann wrote: > > > This introduces a new

Re: [RFC PATCH v2] blk-mq: Introduce per sw queue time-slice

2016-02-10 Thread Andreas Herrmann
On Wed, Feb 10, 2016 at 08:47:15PM +0100, Markus Trippelsdorf wrote: > On 2016.02.10 at 20:34 +0100, Andreas Herrmann wrote: > > On Tue, Feb 09, 2016 at 06:41:56PM +0100, Markus Trippelsdorf wrote: > > > > Recently Johannes sent a patch to enable scsi-mq per driver, see > > > >

Re: [RFC PATCH v2] blk-mq: Introduce per sw queue time-slice

2016-02-09 Thread Markus Trippelsdorf
On 2016.02.09 at 18:12 +0100, Andreas Herrmann wrote: > [CC-ing linux-block and linux-scsi and adding some comments] > > On Mon, Feb 01, 2016 at 11:43:40PM +0100, Andreas Herrmann wrote: > > This introduces a new blk_mq hw attribute time_slice_us which allows > > to specify a time slice in usecs.

Re: [RFC PATCH v2] blk-mq: Introduce per sw queue time-slice

2016-02-09 Thread Andreas Herrmann
[CC-ing linux-block and linux-scsi and adding some comments] On Mon, Feb 01, 2016 at 11:43:40PM +0100, Andreas Herrmann wrote: > This introduces a new blk_mq hw attribute time_slice_us which allows > to specify a time slice in usecs. > > Default value is 0 and implies no modification to blk-mq

Re: [RFC PATCH v2] blk-mq: Introduce per sw queue time-slice

2016-02-09 Thread Andreas Herrmann
[CC-ing linux-block and linux-scsi and adding some comments] On Mon, Feb 01, 2016 at 11:43:40PM +0100, Andreas Herrmann wrote: > This introduces a new blk_mq hw attribute time_slice_us which allows > to specify a time slice in usecs. > > Default value is 0 and implies no modification to blk-mq

Re: [RFC PATCH v2] blk-mq: Introduce per sw queue time-slice

2016-02-09 Thread Markus Trippelsdorf
On 2016.02.09 at 18:12 +0100, Andreas Herrmann wrote: > [CC-ing linux-block and linux-scsi and adding some comments] > > On Mon, Feb 01, 2016 at 11:43:40PM +0100, Andreas Herrmann wrote: > > This introduces a new blk_mq hw attribute time_slice_us which allows > > to specify a time slice in usecs.

Re: [RFC PATCH v2] blk-mq: Introduce per sw queue time-slice

2016-02-01 Thread Andreas Herrmann
Following benchmark results for the patch using fio. - kernel version 4.5.0-rc2-0001 (ie. with time-slice patch) - Intel Core i7-3770S CPU @ 3.10GHz system, 4 cores, 8 threads/CPUs - fio version as of 2.2.9-37-g0e1c4 - results were gathered iterating using rw and numjobs parameter, e.g.:

[RFC PATCH v2] blk-mq: Introduce per sw queue time-slice

2016-02-01 Thread Andreas Herrmann
This introduces a new blk_mq hw attribute time_slice_us which allows to specify a time slice in usecs. Default value is 0 and implies no modification to blk-mq behaviour. A positive value changes blk-mq to service only one software queue within this time slice until it expires or the software

[RFC PATCH v2] blk-mq: Introduce per sw queue time-slice

2016-02-01 Thread Andreas Herrmann
This introduces a new blk_mq hw attribute time_slice_us which allows to specify a time slice in usecs. Default value is 0 and implies no modification to blk-mq behaviour. A positive value changes blk-mq to service only one software queue within this time slice until it expires or the software

Re: [RFC PATCH v2] blk-mq: Introduce per sw queue time-slice

2016-02-01 Thread Andreas Herrmann
Following benchmark results for the patch using fio. - kernel version 4.5.0-rc2-0001 (ie. with time-slice patch) - Intel Core i7-3770S CPU @ 3.10GHz system, 4 cores, 8 threads/CPUs - fio version as of 2.2.9-37-g0e1c4 - results were gathered iterating using rw and numjobs parameter, e.g.: