User: Password:
|
|
Subscribe / Log in / New account

Temporary files: RAM or disk?

Temporary files: RAM or disk?

Posted Jun 1, 2012 4:42 UTC (Fri) by thedevil (guest, #32913)
In reply to: Temporary files: RAM or disk? by neilbrown
Parent article: Temporary files: RAM or disk?

"You could probably create a user-space solution that monitored swap usage and created new swap files on demand."

It exists, or existed; search for "swapd". I remember it because it was in that context I submitted my one and only kernel patch (which was rightfully ignored).

swapd was essentially useless, because there was just no way for userspace to notice out of swap condition soon enough with polling. Maybe with a bit of kernel help like a netlink socket it would have been possible.


(Log in to post comments)

Temporary files: RAM or disk?

Posted Jun 2, 2012 20:37 UTC (Sat) by branden (guest, #7029) [Link]

Obviously your one and only kernel patch was ignored was not due to its technical merits (or lack thereof), but for the much simpler reason that it came from thedevil.

Temporary files: RAM or disk?

Posted Jun 14, 2012 10:11 UTC (Thu) by daenzer (✭ supporter ✭, #7050) [Link]


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