Hi, David.

Juarez, David T. wrote:
Thanks for the reply Mike. Ok so in your example if I logon with 2G and I do 
something
that requires more than 2G I would need to issue CP DEFINE STORAGE to increase 
my
storage above 2GB but can't request more than 16GB correct? z/VM will not 
dynamically
add more memory up to 16GB?


Correct. Your maximum memory size is set to 16GB, and z/VM will not automatically increase your virtual storage from 2GB to 16GB. If your application needs more than 16GB, you have to modify the USER statement in your user directory entry, and bring the modified user directory online.

David Juarez IT Specialist

-----Original Message----- From: The IBM z/VM Operating System
[mailto:[EMAIL PROTECTED] On Behalf Of Mike Walter Sent: Thursday, November 20,
2008 5:29 PM To: [email protected] Subject: Re: How can we control how 
much CPU
is used by each zLinux guest?

David,

Others have already supplied the answer to how to limit a guests CPU 
absorption/abuse.

But to answer the question about the "USER MSTOR parm"...  I presume that you 
are
referring to the USER record in the USER DIRECT file (or using whichever 
Directory
Manager product you might have), as documented in the CP Planning and 
Administration
Guide.

If so, that "mstor" is the **maximum** size to which that virtual machine can 
increased
with the 'CP DEFINE STORage' command.  The CP DEFINE STORAGE command is 
dynamic, but
instantly destructive to running the virtual machine.  When issued, it resets 
the
virtual machine, killing any running operating system.

There are two memory sizes defined in the USER record, 'stor' and 'mstor'.


'stor' defines the default memory size of the virtual machine when logged on 
without
any special logon operands.  Lets assume that your server 'stor' size is 2G, 
and the
'msize' (Max size) is 16G.

When you logon without any special LOGON operands, the virtual machine memory 
size will
be 2G.

But you may specify a size up to the 'mstor', by including the Storage operand 
to
logon, e.g. LOGON yoursrvr S 16G (maybe you're doing some software installation 
that
requires huge amounts of memory for the installation).  Your server will then be
allocated 16G of memory until you logoff or change it dynamically.

OTOH, maybe you logged on with that server's default 2G of storage and after a 
while
find that you temporarily need more memory for some reason. You may issue the 
command
'CP DEFine STorage 16G' (or anything less) on that server, without logging off. 
 BUT --
when the command is issued, the running operating system in that server is 
killed
instantly.  Better... gracefully shut it down before issuing the command, then 
issue
the CP IPL command as needed.

Mike Walter Hewitt Associates Any opinions expressed herein are mine alone and 
do not
necessarily represent the opinions or policies of Hewitt Associates.


--
DJ

V/Soft
  z/VM and mainframe Linux expertise, training,
  consulting, and software development
www.vsoft-software.com

Reply via email to