Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 14 Next »

Problem

CMS ("Code Management System") may become very slow in guest OS (VMS) on certain fast CHARON-VAX hosts. The cause of the problem is design of CMS system itself, since CMS tends to put itself in Hibernation mode for some unknown reason. Apparently this was known to CMS team, and instead of fixing it, they made a workaround by sending a wakeup signal to CMS itself every second.  So, the faster the hosting server is (CHARON-VAX), faster CMS gets into Hibernation state, and stays longer there.

Solution

To workaround this problem a special utility "FRCWAK" ("Forced Wakup") has been developed by Stromasys. It sends a wakeup command to CMS 10 times a second to prevent its going to Hibertation state.

To apply the workaround:
  1. Download zip archive containing a disk image with "FRCWAK" utility executable.
  2. Unzip the archive.
  3. Mount this disk image under host OS (VMS) and copy the utility to "sys$sysdevice:[frcwak]" folder.
  4. Use it in the following way:

    $ run /process='f$getjpi("","PID")' sys$sysdevice:[frcwak]frcwak
    $ < ... CMS operations ... >
    $ stop 'f$getjpi("","PID")'

    Note that PID of the process which needs wakeup is passed to "FRCWAK" utility through name of the process running the utility. This is to bypass nightmare passing parameters to another process.

  5. In certain situations the provided executable of "FRCWAK" utility has to be re-compiled. Use its source code for that:

    $ cc/list frcwak.c
    $ link frcwak

Attachments

Readers/approval

  • No labels