Re: [PATCH v2] virtio: don't zero out memory region cache for indirect descriptors

2023-09-25 Thread Stefan Hajnoczi
On Mon, 25 Sept 2023 at 07:18, Ilya Maximets wrote: > > On 8/11/23 16:34, Ilya Maximets wrote: > > Lots of virtio functions that are on a hot path in data transmission > > are initializing indirect descriptor cache at the point of stack > > allocation. It's a 112 byte structure that is getting ze

Re: [PATCH v2] virtio: don't zero out memory region cache for indirect descriptors

2023-09-25 Thread Ilya Maximets
On 8/11/23 16:34, Ilya Maximets wrote: > Lots of virtio functions that are on a hot path in data transmission > are initializing indirect descriptor cache at the point of stack > allocation. It's a 112 byte structure that is getting zeroed out on > each call adding unnecessary overhead. It's goin

Re: [PATCH v2] virtio: don't zero out memory region cache for indirect descriptors

2023-08-14 Thread Jason Wang
On Fri, Aug 11, 2023 at 10:33 PM Ilya Maximets wrote: > > Lots of virtio functions that are on a hot path in data transmission > are initializing indirect descriptor cache at the point of stack > allocation. It's a 112 byte structure that is getting zeroed out on > each call adding unnecessary ov

Re: [PATCH v2] virtio: don't zero out memory region cache for indirect descriptors

2023-08-14 Thread Stefan Hajnoczi
On Fri, Aug 11, 2023 at 04:34:23PM +0200, Ilya Maximets wrote: > Lots of virtio functions that are on a hot path in data transmission > are initializing indirect descriptor cache at the point of stack > allocation. It's a 112 byte structure that is getting zeroed out on > each call adding unnecess

[PATCH v2] virtio: don't zero out memory region cache for indirect descriptors

2023-08-11 Thread Ilya Maximets
Lots of virtio functions that are on a hot path in data transmission are initializing indirect descriptor cache at the point of stack allocation. It's a 112 byte structure that is getting zeroed out on each call adding unnecessary overhead. It's going to be correctly initialized later via special