Simulates a system with various sizes of memory for performance testing of applications.
rmss -c MemSize
rmss -r
rmss -p
rmss [ -d MemSize ] [ -f MemSize ] [ -n NumIterations ] [ -o OutputFile ] [ -s MemSize ] Command
This command is valid only on the POWER-based platform.
Access Control: You must have root authority to run this command.
rmss -c 13.5
rmss -p
rmss -r
rmss -s 32 -f 8 -d 8 -n 1 -o cc.rmss.out cc -O foo.c
rmss foo.sh
rmss -s 8 -f 16 -d .5 -n 2 -o bar.rmss.out bar
An example of the report printed out by the rmss command follows:
Hostname: xray.austin.ibm.com Real memory size: 48.00 Mb Time of day: Wed Aug 8 13:07:33 1990 Command: cc -O foo.c Simulated memory size initialized to 24.00 Mb. Number of iterations per memory size = 1 warmup + 1 measured = 2. Memory size Avg. Pageins Avg. Response Time Avg. Pagein Rate (megabytes) (sec.) (pageins/sec.) ----------------------------------------------------------------- 24.00 0.0 113.7 0.0 22.00 5.0 114.8 0.0 20.00 0.0 113.7 0.0 18.00 3.0 114.3 0.0 16.00 0.0 114.6 0.0 14.00 139.0 116.1 1.2 12.00 816.0 126.9 6.4 10.00 1246.0 135.7 9.2 8.00 2218.0 162.9 13.6
This report was generated by the following command:
rmss -s 24 -f 8 -d 2 -n 1 cc -O foo.c
The top part of the report gives general information, including the machine that the rmss command was running on, the real memory size of that machine, the time and date, and the command that was being measured. The next two lines give informational messages that describe the initialization of the rmss command. Here, the rmss command displays that it has initialized the simulated memory size to 24MB, which was the starting memory size given with the -s flag. Also, the rmss command prints out the number of iterations that the command will be run at each memory size. The command is to be run twice at each memory size: once to warmup, and once when its performance is measured. The number of iterations was specified by the -n flag.
The lower part of the report provides the following for each memory size the command was run at:
The filemon command, and svmon command.