MemFS v2 û A Memory-based File System on HP-UX 11i v2

directory lookups in HFS code that MemFS uses. tmpfs is not affected by the number of directory
entries.
Figure 3: Postmark benchmark results for 10,000 files and no sub-directories
Postmark 10000_0
0
5000
10000
15000
20000
25000
12345678910111213
Transaction load
Trans per sec
Mem FS
Linux/tmpfs
VxFS_MemFSbuffercache
RAMdisk/VxFS
VxFS
MemFS_swapping
The tests indicate that significant performance gains can be achieved in HP-UX 11iv2 by using
MemFS, as long as the number of files of a directory is not too large.
Connectathon Tests
The Connectathon tests are a collection of micro-benchmarks used to benchmark NFS. The basic tests
are used to verify basic operations of “NFS” file system implementations. The following tests were
used:
create Create a directory tree 6 levels deep
remove Remove the directory tree from create
lookup stat a directory 500 times
setattr chmod and stat 10 files 1000 times each
read/write write and close a 1MB file 10 times, the read the same file 10 times
readdir read 20500 files in a directory 200 times
link/rename rename, link and unlink 10 files 200 times
symlink create and read 400 symlinks on 10 files
statfs stat the mount point 1500 times