Re: How can we control how much CPU is used by each zLinux guest?

2008-11-25 Thread Juarez, David T.
Thanks for the clarification Dave and Mike. 

 

David Juárez

CDC eServer Systems Support  (310B)

IT Specialist - Systems Programmer

512-326-6116  Work

 



From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On Behalf Of Mike 
Walter
Sent: Monday, November 24, 2008 5:33 PM
To: IBMVM@LISTSERV.UARK.EDU
Subject: Re: How can we control how much CPU is used by each zLinux guest?

 


To reply to the David Juarez's post, and clarify Dave Jones' reply, 

Dave Jones' reply is correct.  It just leaves off the dynamic memory change up 
to the mstor (16G in the example) available via the CP DEFINE STORage command.  
 

That dynamic change is gone the moment that userid is logged off, unless it has 
been matched by Dave's suggestion to update the user directory entry, presuming 
that a permanent change is desirable (not always the case).  We've had 
instances in which more memory was required for a big app (read: Websphere, or 
Omegamon/XE) installation, but not needed after the software was installed.  
Permanently increasing the memory in such instances would be a "bad thing", 
causing extra real z/VM paging and I/O. 


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




"Dave Jones" <[EMAIL PROTECTED]> 

Sent by: "The IBM z/VM Operating System"  

11/24/2008 05:20 PM 

Please respond to
"The IBM z/VM Operating System" 

To

IBMVM@LISTSERV.UARK.EDU 

cc

 

Subject

Re: How can we control how much CPU is used by each zLinux guest?

 

 

 




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: IBMVM@LISTSERV.UARK.EDU 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
>

Re: How can we control how much CPU is used by each zLinux guest?

2008-11-24 Thread Mike Walter
To reply to the David Juarez's post, and clarify Dave Jones' reply,

Dave Jones' reply is correct.  It just leaves off the dynamic memory 
change up to the mstor (16G in the example) available via the CP DEFINE 
STORage command. 

That dynamic change is gone the moment that userid is logged off, unless 
it has been matched by Dave's suggestion to update the user directory 
entry, presuming that a permanent change is desirable (not always the 
case).  We've had instances in which more memory was required for a big 
app (read: Websphere, or Omegamon/XE) installation, but not needed after 
the software was installed.  Permanently increasing the memory in such 
instances would be a "bad thing", causing extra real z/VM paging and I/O.

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




"Dave Jones" <[EMAIL PROTECTED]> 

Sent by: "The IBM z/VM Operating System" 
11/24/2008 05:20 PM
Please respond to
"The IBM z/VM Operating System" 



To
IBMVM@LISTSERV.UARK.EDU
cc

Subject
Re: How can we control how much CPU is used by each zLinux guest?






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: IBMVM@LISTSERV.UARK.EDU 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





The information contained in this e-mail and any accompanying documents may 
contain information that is confidential or otherwise protected from 
disclosure. If you are not the intended recipient of this message, or if this 
message has been addressed to you in error, please immediately alert the sender 
by reply e-mail and then delete this message, inc

Re: How can we control how much CPU is used by each zLinux guest?

2008-11-24 Thread Dave Jones

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: IBMVM@LISTSERV.UARK.EDU 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


Re: How can we control how much CPU is used by each zLinux guest?

2008-11-24 Thread Juarez, David T.
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? 


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: IBMVM@LISTSERV.UARK.EDU
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.



"Juarez, David T." <[EMAIL PROTECTED]> 

Sent by: "The IBM z/VM Operating System" 
11/20/2008 03:20 PM
Please respond to
"The IBM z/VM Operating System" 



To
IBMVM@LISTSERV.UARK.EDU
cc

Subject
How can we control how much CPU is used by each zLinux guest?






What controls can be put in place to manage zLinux guests running under z/VM 
5.3, so they do not saturate CPU and memory?
Does the USER MSTOR parm really limit the zLinux guest to the amount 
coded? Thanks.   
 
 
David T. Juárez
IT Specialist 

 




The information contained in this e-mail and any accompanying documents may 
contain information that is confidential or otherwise protected from 
disclosure. If you are not the intended recipient of this message, or if this 
message has been addressed to you in error, please immediately alert the sender 
by reply e-mail and then delete this message, including any attachments. Any 
dissemination, distribution or other use of the contents of this message by 
anyone other than the intended recipient is strictly prohibited. All messages 
sent to and from this e-mail address may be monitored as permitted by 
applicable law and regulations to ensure compliance with our internal policies 
and to protect our business. E-mails are not secure and cannot be guaranteed to 
be error free as they can be intercepted, amended, lost or destroyed, or 
contain viruses. You are deemed to have accepted these risks if you communicate 
with us by e-mail. 


Re: How can we control how much CPU is used by each zLinux guest?

2008-11-20 Thread Mike Walter
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.



"Juarez, David T." <[EMAIL PROTECTED]> 

Sent by: "The IBM z/VM Operating System" 
11/20/2008 03:20 PM
Please respond to
"The IBM z/VM Operating System" 



To
IBMVM@LISTSERV.UARK.EDU
cc

Subject
How can we control how much CPU is used by each zLinux guest?






What controls can be put in place to manage zLinux guests running under 
z/VM 5.3, so they do not saturate CPU and memory?
Does the USER MSTOR parm really limit the zLinux guest to the amount 
coded? Thanks.   
 
 
David T. Juárez 
IT Specialist 

 




The information contained in this e-mail and any accompanying documents may 
contain information that is confidential or otherwise protected from 
disclosure. If you are not the intended recipient of this message, or if this 
message has been addressed to you in error, please immediately alert the sender 
by reply e-mail and then delete this message, including any attachments. Any 
dissemination, distribution or other use of the contents of this message by 
anyone other than the intended recipient is strictly prohibited. All messages 
sent to and from this e-mail address may be monitored as permitted by 
applicable law and regulations to ensure compliance with our internal policies 
and to protect our business. E-mails are not secure and cannot be guaranteed to 
be error free as they can be intercepted, amended, lost or destroyed, or 
contain viruses. You are deemed to have accepted these risks if you communicate 
with us by e-mail. 


Re: How can we control how much CPU is used by each zLinux guest?

2008-11-20 Thread Barton Robinson

Look at "CP SET SHARE userid REL 100 ABS 5% LIMITSOFT"
will allow a linux server to only use 5% of the system unless no other user is ready to 
use CPU.




Juarez, David T. wrote:


What controls can be put in place to manage zLinux guests running under z/VM 
5.3, so they do not saturate CPU and memory?

Does the USER MSTOR parm really limit the zLinux guest to the amount coded? Thanks.

 

 

David T. Juárez 
IT Specialist 




 





Re: How can we control how much CPU is used by each zLinux guest?

2008-11-20 Thread Raymond Noal
David,
 
Take a look at the CP SET commands for QUICKdsp and SHARE. The SHARE command 
controls how and how much CP will dispatch a given virtual machine.
 
HITACHI
 DATA SYSTEMS 
Raymond E. Noal 
Senior Technical Engineer 
Office: (408) 970 - 7978 
 


From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On Behalf Of 
Juarez, David T.
Sent: Thursday, November 20, 2008 1:21 PM
To: IBMVM@LISTSERV.UARK.EDU
Subject: How can we control how much CPU is used by each zLinux guest?
 
What controls can be put in place to manage zLinux guests running under z/VM 
5.3, so they do not saturate CPU and memory?
Does the USER MSTOR parm really limit the zLinux guest to the amount coded? 
Thanks.
 
 
David T. Juárez 
IT Specialist 
 


How can we control how much CPU is used by each zLinux guest?

2008-11-20 Thread Juarez, David T.
What controls can be put in place to manage zLinux guests running under z/VM 
5.3, so they do not saturate CPU and memory?

Does the USER MSTOR parm really limit the zLinux guest to the amount coded? 
Thanks.

 

 

David T. Juárez 
IT Specialist