Re: Virtio-scsi multiqueue irq affinity

2019-03-25 Thread Thomas Gleixner
Peter, On Mon, 25 Mar 2019, Peter Xu wrote: > Now I understand it can be guaranteed so it should not break > determinism of the real-time applications. But again, I'm curious > whether we can specify how to spread the hardware queues of a block > controller (as I asked in my previous post) instea

Re: Virtio-scsi multiqueue irq affinity

2019-03-25 Thread Ming Lei
On Mon, Mar 25, 2019 at 09:53:28AM +0100, Thomas Gleixner wrote: > Ming, > > On Mon, 25 Mar 2019, Ming Lei wrote: > > On Mon, Mar 25, 2019 at 01:02:13PM +0800, Peter Xu wrote: > > > One thing I can think of is the real-time scenario where "isolcpus=" > > > is provided, then logically we should not

Re: Virtio-scsi multiqueue irq affinity

2019-03-25 Thread Peter Xu
On Mon, Mar 25, 2019 at 09:53:28AM +0100, Thomas Gleixner wrote: > Ming, > > On Mon, 25 Mar 2019, Ming Lei wrote: > > On Mon, Mar 25, 2019 at 01:02:13PM +0800, Peter Xu wrote: > > > One thing I can think of is the real-time scenario where "isolcpus=" > > > is provided, then logically we should not

Re: Virtio-scsi multiqueue irq affinity

2019-03-25 Thread Thomas Gleixner
Ming, On Mon, 25 Mar 2019, Ming Lei wrote: > On Mon, Mar 25, 2019 at 01:02:13PM +0800, Peter Xu wrote: > > One thing I can think of is the real-time scenario where "isolcpus=" > > is provided, then logically we should not allow any isolated CPUs to > > be bound to any of the multi-queue IRQs. Tho

Re: Virtio-scsi multiqueue irq affinity

2019-03-25 Thread Ming Lei
On Mon, Mar 25, 2019 at 01:02:13PM +0800, Peter Xu wrote: > On Sat, Mar 23, 2019 at 06:15:59PM +0100, Thomas Gleixner wrote: > > Peter, > > Hi, Thomas, > > > > > On Mon, 18 Mar 2019, Peter Xu wrote: > > > I noticed that starting from commit 0d9f0a52c8b9 ("virtio_scsi: use > > > virtio IRQ affini

Re: Virtio-scsi multiqueue irq affinity

2019-03-24 Thread Peter Xu
On Sat, Mar 23, 2019 at 06:15:59PM +0100, Thomas Gleixner wrote: > Peter, Hi, Thomas, > > On Mon, 18 Mar 2019, Peter Xu wrote: > > I noticed that starting from commit 0d9f0a52c8b9 ("virtio_scsi: use > > virtio IRQ affinity", 2017-02-27) the virtio scsi driver is using a > > new way (via irq_crea

Re: Virtio-scsi multiqueue irq affinity

2019-03-23 Thread Thomas Gleixner
Peter, On Mon, 18 Mar 2019, Peter Xu wrote: > I noticed that starting from commit 0d9f0a52c8b9 ("virtio_scsi: use > virtio IRQ affinity", 2017-02-27) the virtio scsi driver is using a > new way (via irq_create_affinity_masks()) to automatically initialize > IRQ affinities for the multi-queues, whi

Virtio-scsi multiqueue irq affinity

2019-03-17 Thread Peter Xu
Hi, Christoph & all, I noticed that starting from commit 0d9f0a52c8b9 ("virtio_scsi: use virtio IRQ affinity", 2017-02-27) the virtio scsi driver is using a new way (via irq_create_affinity_masks()) to automatically initialize IRQ affinities for the multi-queues, which is different comparing to al