[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: free reports that shared memory is not used



On Mon, Oct 29, 2001 at 10:06:24AM +0900, Joongul Lee wrote:
> I happened to read a nice article on it yesterday. It is located at 
> "http://www-106.ibm.com/developerworks/library/l-fs3.html";. According to the 
> author, CONFIG_TMPFS=y lets you use the POSIX shared memory, and you can 
> access a nice, ramdisk-like filesystem at /dev/shm. 

you don't need to mount anything on /dev/shm.  

> I enabled this option yesterday, and observed that the swap space is used 
> even though there's plenty ram unused. I suppose this is how shared memory 
> works?

no this is how tmpfs works, anything you put on the tmpfs effectivly
uses your swap space.

its very similar to the Solaris tmpfs.  

-- 
Ethan Benson
http://www.alaska.net/~erbenson/

Attachment: pgpiaO2qyf2yu.pgp
Description: PGP signature


Reply to: