Re: [PATCH 5/9] migration/multifd: Add direct-io support

2024-05-08 Thread Daniel P . Berrangé
On Fri, Apr 26, 2024 at 11:20:38AM -0300, Fabiano Rosas wrote: > When multifd is used along with mapped-ram, we can take benefit of a > filesystem that supports the O_DIRECT flag and perform direct I/O in > the multifd threads. This brings a significant performance improvement > because direct-io

Re: [PATCH 5/9] migration/multifd: Add direct-io support

2024-05-03 Thread Peter Xu
On Fri, May 03, 2024 at 05:54:28PM -0300, Fabiano Rosas wrote: > Peter Xu writes: > > > On Fri, Apr 26, 2024 at 11:20:38AM -0300, Fabiano Rosas wrote: > >> When multifd is used along with mapped-ram, we can take benefit of a > >> filesystem that supports the O_DIRECT flag and perform direct I/O

Re: [PATCH 5/9] migration/multifd: Add direct-io support

2024-05-03 Thread Fabiano Rosas
Peter Xu writes: > On Fri, Apr 26, 2024 at 11:20:38AM -0300, Fabiano Rosas wrote: >> When multifd is used along with mapped-ram, we can take benefit of a >> filesystem that supports the O_DIRECT flag and perform direct I/O in >> the multifd threads. This brings a significant performance

Re: [PATCH 5/9] migration/multifd: Add direct-io support

2024-05-03 Thread Peter Xu
On Fri, Apr 26, 2024 at 11:20:38AM -0300, Fabiano Rosas wrote: > When multifd is used along with mapped-ram, we can take benefit of a > filesystem that supports the O_DIRECT flag and perform direct I/O in > the multifd threads. This brings a significant performance improvement > because direct-io

[PATCH 5/9] migration/multifd: Add direct-io support

2024-04-26 Thread Fabiano Rosas
When multifd is used along with mapped-ram, we can take benefit of a filesystem that supports the O_DIRECT flag and perform direct I/O in the multifd threads. This brings a significant performance improvement because direct-io writes bypass the page cache which would otherwise be thrashed by the