On 04/ 4/10 01:46 PM, Frank Middleton wrote:
On 04/ 4/10 02:56 PM, Sanjay Nadkarni wrote:
Since swap is also used as /tmp's backing store, you may not be able
to delete the primary swap area on a running system. I would suggest
first adding the bigger swap size that you need and deleting the old
one.
Is that really true? I always thought that tmpfs didn't have a backing
store per se, which is why /tmp loses its contents after a reboot. Of
course if the contents of /tmp plus memory being used for anything
else exceeds the size of physical memory, the system will start to swap,
but normally the contents of /tmp won't be written to disk if there
is enough free memory.
Swap is volatile and anything on swap is not available (except core
dumps if configured) after reboot. Tmpfs uses swap when available to
offload files that are in memory (kinda paging them out). tmpfs_minfree
is a kernel tunable that can be used to control how much of swap space
is used. See http://docs.sun.com/app/docs/doc/817-0404/chapter2-47?a=view
-Sanjay
_______________________________________________
indiana-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/indiana-discuss