|
Banyan 6.2 Desktop Performance Setup |
This page is a "how to" guide for running xperform.
I'm not going to get into hand-holding details. After all, if you're
debugging the OS you should be able to use it.
For a bit of background, xperform is a C program that simulates and observes X events. To launch applications it simulates mouse clicks. It follows a script which tells it where and when to click. To time an application's launch it watches for a certain number of MapNotify or ConfigureNotify X messages. The number is dependent on the application. As xperform runs it saves its timing information to the file "log". It also maintains its current location in the script file via the file ".xperform".
Xperform is run under the user "xperf". To eliminate confounding variables, we login before each test and logout afterward. In order to logout and login between runs there must be an /etc/autologin file storing the name of which user to autologin as and an /etc/autologin.on file marking that autologin is on. This file is removed after each login, so xperform recreates it during its run. Xperform is launched by the .sgisession file after a small sleep.
To start xperform, the .sgisession file must be present as well as a properly setup /etc/autologin and /etc/autologin.on. To stop xperform, simply rename .sgisession to sgisession.
If you are going to compare against numbers generated by the SQA group, please contact jhunter@engr to be sure your hardware setup (CPU, hard drive, memory configuration, etc.) is identical.
Now available via ftp: the source code.
Questions or comments to jhunter@engr or jgrisham@engr.