Re: [PATCH V2] virtio-fs: Improved request latencies when Virtio queue is full

2023-06-02 Thread Peter-Jan Gootzen via Virtualization
On 01/06/2023 20:45, Vivek Goyal wrote: > On Thu, Jun 01, 2023 at 10:08:50AM -0400, Stefan Hajnoczi wrote: >> On Wed, May 31, 2023 at 04:49:39PM -0400, Vivek Goyal wrote: >>> On Wed, May 31, 2023 at 10:34:15PM +0200, Peter-Jan Gootzen wrote: On 31/05/2023 21:18, Vivek Goyal wrote: > On

Re: [PATCH V2] virtio-fs: Improved request latencies when Virtio queue is full

2023-06-01 Thread Vivek Goyal
On Thu, Jun 01, 2023 at 10:08:50AM -0400, Stefan Hajnoczi wrote: > On Wed, May 31, 2023 at 04:49:39PM -0400, Vivek Goyal wrote: > > On Wed, May 31, 2023 at 10:34:15PM +0200, Peter-Jan Gootzen wrote: > > > On 31/05/2023 21:18, Vivek Goyal wrote: > > > > On Wed, May 31, 2023 at 07:10:32PM +0200,

Re: [PATCH V2] virtio-fs: Improved request latencies when Virtio queue is full

2023-06-01 Thread Stefan Hajnoczi
On Thu, Jun 01, 2023 at 04:49:06PM +0200, Peter-Jan Gootzen wrote: > On 01/06/2023 16:08, Stefan Hajnoczi wrote: > > On Wed, May 31, 2023 at 04:49:39PM -0400, Vivek Goyal wrote: > >> On Wed, May 31, 2023 at 10:34:15PM +0200, Peter-Jan Gootzen wrote: > >>> On 31/05/2023 21:18, Vivek Goyal wrote: >

Re: [PATCH V2] virtio-fs: Improved request latencies when Virtio queue is full

2023-06-01 Thread Peter-Jan Gootzen via Virtualization
On 01/06/2023 16:08, Stefan Hajnoczi wrote: > On Wed, May 31, 2023 at 04:49:39PM -0400, Vivek Goyal wrote: >> On Wed, May 31, 2023 at 10:34:15PM +0200, Peter-Jan Gootzen wrote: >>> On 31/05/2023 21:18, Vivek Goyal wrote: On Wed, May 31, 2023 at 07:10:32PM +0200, Peter-Jan Gootzen wrote: >

Re: [PATCH V2] virtio-fs: Improved request latencies when Virtio queue is full

2023-06-01 Thread Stefan Hajnoczi
On Wed, May 31, 2023 at 04:49:39PM -0400, Vivek Goyal wrote: > On Wed, May 31, 2023 at 10:34:15PM +0200, Peter-Jan Gootzen wrote: > > On 31/05/2023 21:18, Vivek Goyal wrote: > > > On Wed, May 31, 2023 at 07:10:32PM +0200, Peter-Jan Gootzen wrote: > > >> When the Virtio queue is full, a work item

Re: [PATCH V2] virtio-fs: Improved request latencies when Virtio queue is full

2023-05-31 Thread Vivek Goyal
On Wed, May 31, 2023 at 10:34:15PM +0200, Peter-Jan Gootzen wrote: > On 31/05/2023 21:18, Vivek Goyal wrote: > > On Wed, May 31, 2023 at 07:10:32PM +0200, Peter-Jan Gootzen wrote: > >> When the Virtio queue is full, a work item is scheduled > >> to execute in 1ms that retries adding the request to

Re: [PATCH V2] virtio-fs: Improved request latencies when Virtio queue is full

2023-05-31 Thread Peter-Jan Gootzen via Virtualization
On 31/05/2023 21:18, Vivek Goyal wrote: > On Wed, May 31, 2023 at 07:10:32PM +0200, Peter-Jan Gootzen wrote: >> When the Virtio queue is full, a work item is scheduled >> to execute in 1ms that retries adding the request to the queue. >> This is a large amount of time on the scale on which a >>

Re: [PATCH V2] virtio-fs: Improved request latencies when Virtio queue is full

2023-05-31 Thread Vivek Goyal
On Wed, May 31, 2023 at 07:10:32PM +0200, Peter-Jan Gootzen wrote: > When the Virtio queue is full, a work item is scheduled > to execute in 1ms that retries adding the request to the queue. > This is a large amount of time on the scale on which a > virtio-fs device can operate. When using a DPU

[PATCH V2] virtio-fs: Improved request latencies when Virtio queue is full

2023-05-31 Thread Peter-Jan Gootzen via Virtualization
When the Virtio queue is full, a work item is scheduled to execute in 1ms that retries adding the request to the queue. This is a large amount of time on the scale on which a virtio-fs device can operate. When using a DPU this is around 40us baseline without going to a remote server (4k, QD=1).