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

Re: virtual memory filesystem v's ramfs



Arthur Korn wrote:
> 
> Glenn McGrath schrieb:
> > So we can use ramfs, if there isnt enough we can make some swap space
> > (swap file would be easier than a swap partition) and use the virtual
> > memory filesystem.
> 
> Well, if I understand it right then this 'virtual memory fs'
> will work without swap as long as there is enough RAM, thus no
> need at all for ramfs. This is just based on my understanding of
> virtual memory though ...
> 

Just tried this in practice, and yea shm as its called in
/proc/filesystems (the virtual memory fs) does work without any swap
space.

So i think it may be better all round to use shm instead of ramfs, i
havent checked out the size difference yet though.


Glenn



Reply to: