[HEADS-UP] Rawhide: /tmp is now on tmpfs

Roberto Ragusa mail at robertoragusa.it
Fri Jul 13 07:14:21 UTC 2012


On 07/12/2012 09:54 PM, Harald Hoyer wrote:

> Again.. tmpfs is restricted to half the RAM size by default. You can't
> store 8-9GB of trash.. only 2GB, which might land on swap over time.

As I have already pointed out some time ago, isn't a bizarre situation
that as an application developer I can either use malloc() and store things
up to RAM+swap (lets' say 4+6=10GB) or use temporary files and store
things up to RAM/2 (lets' say 4/2=2GB)?

Once upon a time you used to use files to go *beyond* RAM limits.

And the answer to this objection is....? move to /var/tmp.
So patch everything (and good luck with closed source stuff).

Wouldn't have been more reasonable to create a /ramtmp and patch
the applications? (this would have just been "patched for speed", not
"patched for correctness" as the sort case).
Hey, wait, we already have /dev/shm. So we just had to patch
the applications (if anyone cares).


-- 
   Roberto Ragusa    mail at robertoragusa.it




More information about the devel mailing list