Re: Memory/Buffer memory clear in OpenVMS (542 Views)
Reply
Frequent Advisor
Sumant M Kumar
Posts: 59
Registered: ‎04-06-2009
Message 1 of 5 (601 Views)

Memory/Buffer memory clear in OpenVMS

Dear Experts,

 

Is there any command in OpenVMS to clear memory/buffer memory for better system performance. We can do memory clear in RHEL but how we can do in OpenVMS? Please suggest

 

 

Regards,

SK Mishra

Honored Contributor
Steven Schweda
Posts: 9,096
Registered: ‎02-23-2005
Message 2 of 5 (560 Views)

Re: Memory/Buffer memory clear in OpenVMS

Honored Contributor
Hein van den Heuvel
Posts: 6,588
Registered: ‎05-19-2003
Message 3 of 5 (554 Views)

Re: Memory/Buffer memory clear in OpenVMS

I recommend putting more air in the tires as a first step.

 

SET CACHE/RESET on it's own only clears the counters. Nothing else.

 

Check out: mcr sysgen HELP SYS_PARAM VCC_MAX_CACHE

 

Anyway.. what makes you think you can make the system better by flushing a cache?

 

Just because your Linux implementation is apparently broken, does not mean OpenVMS woudl be suffering form the same ailement does it?

 

What are the reasons you think there may or might not be a problem in this space?

Are there any problem indicators at all? Resource usage? CPU/IO/Memory? Pagefaulting?

 

Finally... when I think I need to decrease my system performance and want to make the cache do a worse job, then I just allocate a humongous RAM drive to steal the pages.

 

$ MCR SYSMAN IO CONNECT MDA0:/DRIVER=SYS$MDDRIVER/NOADAPTER

$ INIT MDA0:/size=12345678  RAM ! (6GB)

:

$ INIT MDA0:/size=0 ! And give it all back

 

Good luck!

 

Hein.

Meten is Weten.

Niet weten is zweten.

 

 

 

 

 

Honored Contributor
John Gillings
Posts: 2,995
Registered: ‎07-31-2003
Message 4 of 5 (542 Views)

Re: Memory/Buffer memory clear in OpenVMS

I'm curious, what performance is improved by clearing memory?

 

By "clearing" do you mean filling them with zeros? What is the mechanism by which system performance is improved?

 

Do you have a performance problem that you're trying to fix? If so, what are the symptoms?

A crucible of informative mistakes
Super Advisor
MarkOfAus
Posts: 171
Registered: ‎01-08-2007
Message 5 of 5 (534 Views)

Re: Memory/Buffer memory clear in OpenVMS

Easy... @sys$system:shutdown.

 

Sure, it's abrupt but it fulfils your vague question...

The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.