...
New -m option to pbs_mom to make it run in a “mock run” mode.
This will be used for testing of PBSPro itself, so this option will be hidden from end users, no documentation/man page changes necessary.
While in the mock run mode, pbs_mom will behave as follows:
forking the job process: instead of forking the job process and actually running the job, it will just add an event to send a job obit to server after Resource_List.walltime, or immediately if not provided.
proc table walk: this is done to update time based resource information like cput, cpu percent etc. for each job. Skipping this saves a lot of time at the expense of inaccurate cput, cpupercent etc. info in a job’s E record, which should be ok for performance testing.
proc nice value: pbs_mom will not set a high nice value for its process, this will prevent it from hogging cpu time and allow server and sched to use it instead.
...