Operating System - OpenVMS
1829585 Members
1633 Online
109992 Solutions
New Discussion

Re: OpenVMS 8.2 Alpha upgrade changes SCH_CTLFLAGS

 
SOLVED
Go to solution
Ken Englander
Regular Advisor

OpenVMS 8.2 Alpha upgrade changes SCH_CTLFLAGS

It seems that upgrading from 7.3-2 to 8.2 on a cluster of 2 4100s has changed SCH_CTLFLAGS from 1 to 0. The HELP documentation does not provide much useful information. The New Features documentation does NOT indicate this parameter has changed.

I tried to scan the system disk for references to it in any .COM file, but found nothing. It does not even appear to be referenced in AUTOGEN.

GOOGLE did not provide any additional insights.

Any feedback related to this would be welcome!

7 REPLIES 7
Hoff
Honored Contributor
Solution

Re: OpenVMS 8.2 Alpha upgrade changes SCH_CTLFLAGS

There are release notes listing "Various Scheduling Problems" for an ECO kit (VMS732_SYS-V1100) indicating that reverting to zero is a workaround for stability problems with the scheduler when the parameter was set to one.

The SCH_CTLFLAGS parameter is listed as obsolete in V8.3, per the release notes for that release.

Looks to be marked as a special parameter at least in V7.3-1 -- these parameters tend to be subject to change without notice, and can vary from release to release.

Ping HP formally for an official answer.

Stephen Hoffman
HoffmanLabs LLC


John Gillings
Honored Contributor

Re: OpenVMS 8.2 Alpha upgrade changes SCH_CTLFLAGS

Ken,

I think SCH_CTLFLAGS was used a long time ago to control a feature called "proactive memory reclaimation". Somewhere in the V5.4 timeframe (nearly 20 years ago). The idea was to try to identify processes which weren't doing much and steal memory back from them to give to active processes.

The theory was that for a particular workload, there would inevitably be some number of pagefaults, but you could load them up on processes that didn't matter, thereby speeding up ones that did. For example, ERRFMT would wake up every so often and format a record for the error log file. You didn't care if it took several thousand pagefaults (and several seconds) to do it, especially if it means your interactive users didn't suffer those pagefaults.

It made a significant difference to the perceived performance of a VAX with 4MB of memory.

Back then 1MB of RAM cost several thousand dollars, so it made sense to do everything you could to preserve as much as possible.

I suspect the code paths are still there, but cause more trouble than they're worth in today's memory rich environments. For example, one trick used was to pre-emptively swap out a new process. If it was active it would quickly swap itself back in. If it wasn't active it would stay swapped out.

The parameter is dynamic, so you can play with it if you like. I'd suggest leaving it where ever the upgrade set it.

(installation and release documentation is too big already, if they really noted every single piece of trivia that changed, even fewer people would bother to read them)

On the other hand, well done in spotting it! Not many system managers are that vigilant ;-)
A crucible of informative mistakes
Volker Halle
Honored Contributor

Re: OpenVMS 8.2 Alpha upgrade changes SCH_CTLFLAGS

John,

MMG_CTLFLAGS bit 0 controls 'proactive memory reclamation'.

Ken,

SCH_CTLFLAGS bit 0 seemed to control 'new' bit manipulation instructions in the scheduler for EV67 systems (according to V7.3-1 sources). It's possible that this code is now generally used, so that there was no need for this SCH_CTLFLAGS bit anymore.

To answer these kind of questions, consider to obtain access to the OpenVMS source listings.

Volker.
Ken Englander
Regular Advisor

Re: OpenVMS 8.2 Alpha upgrade changes SCH_CTLFLAGS

John,

As Volker said the MMG... flag was related to memory reclamation.

Thanks for the compliment - I noticed it because I am validating 8.2 for my company's application and it is the first major version change. Checking system parameter changes is certainly somewhat important.

Volker,

I did ask for any feedback, but referring me to the source that is not available for free was not very helpful.

Hoff,

You hit the nail on the head. Too bad GOOGLE did not see that one. I believe the answer is HP decided to reset it 0 but it never made it to the Release Notes.

Thanks to all of you!
Ken Englander
Regular Advisor

Re: OpenVMS 8.2 Alpha upgrade changes SCH_CTLFLAGS

See preceding reply.
Jon Pinkley
Honored Contributor

Re: OpenVMS 8.2 Alpha upgrade changes SCH_CTLFLAGS

Ken Englander,

Not that Volker needs the points, but I am curious if you would have given him more points if he hadn't made his closing comment.

I really don't see how his comment is any different than someone recommending getting access to a service manual for a car if they were asking about a very specific part that happened to be mentioned in the fine print of the owner's manual.
it depends
Ken Englander
Regular Advisor

Re: OpenVMS 8.2 Alpha upgrade changes SCH_CTLFLAGS

Jon Pinkley,

I do not think this the appropriate place to explain why I assigned point values that I did. If there is some way to communicate privately I would be happy to explain.