There are pci-e ramdrives, and there's no need for RAID - even a single stick of DDR3 is faster than SATA-3.
Announcement
Collapse
No announcement yet.
Linux Kernel Power Management Targeting Memory
Collapse
X
-
Originally posted by curaga View PostThere are pci-e ramdrives, and there's no need for RAID - even a single stick of DDR3 is faster than SATA-3.
Comment
-
-
Originally posted by Thaodan View PostTmpfs is better than ramfs
Comment
-
Originally posted by schmidtbag View PostThat depends on your purpose, but generally speaking tmpfs is safer to use and makes more sense as a RAM drive. It'd be nice if there was a way to prevent tmpfs from accessing swap, but I personally never use swap so I guess I don't have much to worry about.
Of course, caching in swap is rather pointless, though perhaps not entirely.
Comment
-
Originally posted by Ibidem View PostThe explanation I've heard is that tmpfs is just the disk cache, presented as a filesystem.
Of course, caching in swap is rather pointless, though perhaps not entirely.
Comment
-
Originally posted by schmidtbag View PostI'm not sure about that.... you can mount a tmpfs to any location you want and of any size you want. It is a RAM filesystem, it just doesn't dynamically expand like ramfs. I'm not sure of any simple way to directly access disk cache - it sounds like a severe security flaw to me.
Originally posted by Documentation/fs/tmpfs.txttmpfs puts everything into the kernel internal caches and grows and
shrinks to accommodate the files it contains and is able to swap
unneeded pages out to swap space. It has maximum size limits which can
be adjusted on the fly via 'mount -o remount ...'
(If you want a _good_ explanation, refer to the document within the kernel source tree having the name mentioned...)Last edited by Ibidem; 13 April 2013, 10:23 PM.
Comment
Comment