Linux XFS filesystem development
 help / color / mirror / Atom feed
* CFQ or BFQ scheduler and XFS
@ 2022-01-23 21:27 Gionatan Danti
  2022-01-23 22:52 ` Dave Chinner
  0 siblings, 1 reply; 5+ messages in thread
From: Gionatan Danti @ 2022-01-23 21:27 UTC (permalink / raw)
  To: linux-xfs

Hi list,
I have a question about CFQ scheduler and the old warning one can find 
on the faq page: "As of kernel 3.2.12, the default i/o scheduler, CFQ, 
will defeat much of the parallelization in XFS".

Can I ask for more information about the bad interaction between CFQ and 
XFS, and especially why it does defeat filesystem parallelization? Is 
this warning still valid? What about the newer BFQ?

Note: I always used deadline or noop with XFS, but I am facing a disk 
with random read starvation when NCQ is enabled and a mixed sequential & 
random load happens. So far I saw that the only scheduler (somewhat) 
immune to the issue is CFQ, probably because it does not mix IO from 
multiple processes (it issue IO from one process at time, if I 
understand it correctly).

Thanks.

-- 
Danti Gionatan
Supporto Tecnico
Assyoma S.r.l. - www.assyoma.it
email: g.danti@assyoma.it - info@assyoma.it
GPG public key ID: FF5F32A8

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-01-25  2:11 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-01-23 21:27 CFQ or BFQ scheduler and XFS Gionatan Danti
2022-01-23 22:52 ` Dave Chinner
2022-01-24  7:55   ` Gionatan Danti
2022-01-24 21:13     ` Dave Chinner
2022-01-25  0:42       ` Gionatan Danti

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox