MemFS 1.0 - A Memory-based File System on HP-UX 11i v3
11
Figure 5. SDET Benchmark results
Configuration Guidelines
A MemFS instance can be created using mount(1m) command,
mount [-F memfs]
[-o [remount]]
[-o [size=value]]
[-o [ninode=value]]
[-o suid|nosuid] directory
For example, to mount a file system with maximum space 100MB and maximum number of
inodes as 1000 on /memfs
mount –F memfs –o size=100M,ninode=1000 /memfs
To remove the restriction on the file system size on the above file systems,
mount –F memfs –o remount,size=0 /memfs
As mentioned earlier, the amount of free space on the file system depends on the free swap space
at that instant. memfs_swapmax_pct(5) tunable can be used to increase the swap space available
for MemFS. 0-80% of the swap space can be specified for MemFS usage. This tunable will just
specify the maximum percentage of swap space MemFS can use but this will not reserve the
space for MemFS and assures the space for MemFS. In case the MemFS has exhausted the space
available for it, ENOSPC will be returned to the application and following message will be
displayed on the console.
memfs: Cumulative data exceeds memfs_swapmax_pct