Create turbocharged storage using tmpfs
Popularity Report
![]() |
|||
![]() |
|||
![]() |
|||
![]() |
|||
![]() |
|||
![]() |
URL Tag Cloud
- linux
- , tmpfs
- , _dev_shm
- , shm
- , optimization
- , ram
- , example
- , storage
- , performance
- , cache
- , development
- , programming
- , Free
- , File_Systems
- , Software
- , Ubuntu
- , Bookmarks
Bookmark History
Saved by 4 people (0 private), first by anonymouse user on 2008-03-12
- Alfredwesterveld on 2009-04-16 - Tags _dev_shm , shm , linux , storage , cache , tmpfs
- Indupati on 2008-12-22 - Tags tmpfs , linux , example
- Glennm on 2008-10-07 - Tags linux , ram , performance , optimization
- Knightnet on 2008-03-12 - Tags development , linux , programming
Public Sticky notes
Another possibility is to create a brand new memory device. We can do this with the filesystem type: tmpfs. Let's say you want to create a tmpfs instance on /var/www/www.mysite.com/ramdrive that can allocate a max of 500MB RAM and that can only be changed by root, but accessed by everyone (like Apache):
mkdir -p /var/www/www.mysite.com/ramdrive
mount -t tmpfs -o size=500M,mode=0744 tmpfs /var/www/www.mysite.com/ramdrive
Highlighted by indupati


Public Comment
on 2008-03-12 by knightnet