On 07/12/2012 09:54 PM, Harald Hoyer wrote:
Again.. tmpfs is restricted to half the RAM size by default. You
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