Issue
I need to use tmpfs with hugepages and what I tried is : sudo mount -t ramfs -osize=6G,mode=1777,id=$ID,huge=always tmpfs memory_path
With huge=always
but there is no different result from before
Is there something that I've missed? Can someone explain please?
Solution
ramfs and tmps are two similar, but different file systems. ramfs doesn't support the parameter huge=always
, so you can't notice any difference. Try this one:
sudo mount -t tmpfs -osize=6G,mode=1777,huge=always tmpfs memory_path
Answered By - Bachelar Hu Answer Checked By - Pedro (WPSolving Volunteer)