Re: [patch,rfc v2] ext3/4: enhance fsync performance when using cfq

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Jeff Moyer
Date: Thursday, April 8, 2010 - 7:24 am

Jens Axboe <jens.axboe@oracle.com> writes:


Well, that's true in part.  Prior to this patch, the process would idle,
keeping all other cfq_queues on the system from making progress.  With
this patch, at least *somebody* else makes progress, getting you closer
to running the journal thread that you're blocked on.  Ideally, you'd
want the thread you're waiting on to get disk time next, sure.  You
would have to pass the process information down to the I/O scheduler for
that, and I'm not sure that the file system code knows which process to
hand off to.  Does it?

Do we really want to go down this road at all?  I'm not convinced.

Cheers,
Jeff
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [patch,rfc v2] ext3/4: enhance fsync performance when ..., Jeff Moyer, (Thu Apr 8, 7:24 am)