LWN.net Logo

No-I/O dirty throttling

No-I/O dirty throttling

Posted Sep 1, 2011 12:09 UTC (Thu) by akumria (subscriber, #7773)
Parent article: No-I/O dirty throttling

The problem is that processes do not register with the kernel and declare that they intend to dirty lots of pages on a given BDI
Perhaps I'm understanding the problem here; but isn't a process open(2)'ing a file on the BDI a declaration of intent?


(Log in to post comments)

No-I/O dirty throttling

Posted Sep 1, 2011 12:34 UTC (Thu) by mpr22 (subscriber, #60784) [Link]

An open(..., O_RDWR, ...) or open(..., O_WRONLY, ...) is a statement of intent to dirty a number of pages greater than zero. It's not necessarily a statement of intent to dirty lots of pages.

No-I/O dirty throttling

Posted Sep 1, 2011 12:35 UTC (Thu) by andresfreund (subscriber, #69562) [Link]

That would result in using the worst-case assumption that every process writes as fast as it can to all its writable fds. Not really a useful assumption when you try to distribute a scarce resource.

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds