mount -o remount,size=6G /dev/shmRemount existing RAM disk, set size to 6GB and grand all users rw accessmount -o remount,size=6G,mode=0777 /dev/shmMaka a directory: mkdir /spacemount 50% of RAM into accesible RAMDisk:mount /t tmpfs tmpfs /spaceMount 6GB RAM to accesibe memory:mount -t tmpfs -o size=6G,nr_inodes=6k,mode=0700 tmpfs /spaceTest RAMdrive speed:hdparm -tT /spaceRelated links:https://www.cyberciti.biz/tips/what-is-devshm-and-its-practical-usage.html
https://www.cyberciti.biz/faq/howto-create-linux-ram-disk-filesystem/
No comments:
Post a Comment