Work Load manager usage


 
Thread Tools Search this Thread
Operating Systems AIX Work Load manager usage
# 1  
Old 09-24-2015
Work Load manager usage

Dear All

I am studying on system resource control matter.
I know ulimit utility can done the job well.
However,I want to clarify that whether workload load manager work in VM environment only.

For example
I have an AIX machine(not VM), can I use work load manager to limit user resource (such CPU time,network traffic)?
If so, can I assign user or group to a workload partition?

thank you very much
# 2  
Old 09-24-2015
Hi,

i hope i understand your question correctly.

The Workload Manager (WLM) is part of the AIX kernel and controls the resources of a standard AIX installation as well as the resources of Worload Partition (WPAR).

WLM works with classes, e.g. system, default, etc. and these classes can be limited or prioritized for CPU, Memory, diskIO and Process:
Code:
General characteristics of a class
CPU resource management
Memory resource management
diskIO resource management
Process total resource management
Class total resource management

You can not directly assign a limitation for a specific user but you can assign a user (more specifically all commands from a user) to class, which is limited.
Code:
 #  Class     User      Group     Application             Type      Tag
001 System    root      -         -                       -         -
002 Default   -         -         -                       -         -

I have not worked yet with WPARs but if i understand it correctly the (ressources of) WPAR is controled from the host system via WLM.

I hope the is what you ask for.

Regards
This User Gave Thanks to -=XrAy=- For This Post:
# 3  
Old 09-24-2015
WLM is an extremely different approach to resource control than ulimit.

WLM is meant to be a policy-based control mechanism managing access to resources over time - while ulimit sets hard maximum amounts of resources.

With ulimit you have, basically, unregulated access to all resources until one of the resources reaches it maximum, then the process stops. With WLM you set target ceilings - when a target is reached access to resources may be postponed until the utilization (usually a percentage) is below target and access is granted again.

Hope this helps!
This User Gave Thanks to MichaelFelt For This Post:
# 4  
Old 09-25-2015
-=XrAy=- : do you mean through WLM, administrator can assign amount of resource for an executable file only?
# 5  
Old 09-25-2015
Quote:
Originally Posted by cstsang
-=XrAy=- : do you mean through WLM, administrator can assign amount of resource for an executable file only?
Yes,

you can assign a executable to an class and limit the ressources of these class.

Here an example configuration:
Code:
 #  Class     User      Group     Application             Type      Tag
001 Test      -         -         /usr/bin/ksh            -         -

Code:
  Class name                                          Test
  Maximum amount of CPU time                         [-] 
  for each process in the class
  CPU time unit                                      [s] 
  Maximum amount of DiskIO                           [-] 
  for each process in the class
  DiskIO unit                                        [KB]
  Maximum amount of activity time                    [-] 
  for a login session in the class
  ConnectTime unit                                   [s]
  Maximum Amount of Virtual Memory                   [-]
   for each process in the class
  Virtual Memory Unit                                [MB]

Regards
This User Gave Thanks to -=XrAy=- For This Post:
# 6  
Old 09-25-2015
Thank you for your effort

One more question, is it possible to assign more than 1 class to the same executable?
If possible, how the workload manager handle this situation?

Thank you in advance.
# 7  
Old 09-25-2015
Hi,

a executable can only be assigned to one class but you can switch the class whenever you want.

Regards
This User Gave Thanks to -=XrAy=- For This Post:
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Installation of virt-manager while yum update and yum install rhvm does not work

I have downloaded RHEV-H 4.2 Red Hat Virtualization - Red Hat Customer Portal (RHVirtualization 4.2 Host and Manager iso). I uploaded the image and installed on an HP G9 server baremetal. I found I dont have a WAN/net connectivity later on HPG9 server. How can I still install virt-manager on... (1 Reply)
Discussion started by: Paras Pandey
1 Replies

2. UNIX for Dummies Questions & Answers

VPS has load 200, httpd load no activity, netstat nothing

Hello, on my hostserver i see one VPS of mine got load of 200.00 and netstat nothing (not a single blank line on netstat command) after some time, netstat started showing connections, but i see no excessive IP connections. tail -f /var/log/httpd/access_log shows no activity /var/log/messages ;... (1 Reply)
Discussion started by: postcd
1 Replies

3. AIX

How to monitor the IBM AIX server for I/O usage,memory usage,CPU usage,network..?

How to monitor the IBM AIX server for I/O usage, memory usage, CPU usage, network usage, storage usage? (3 Replies)
Discussion started by: laknar
3 Replies

4. Solaris

RAID manager or veritas volume manager

Can somebody kindly help me to determine which one i should choose to better manipulate OS volume. RAID manager or veritas volume manager? Any critical differences between those two? Thanks in advance. (5 Replies)
Discussion started by: beginningDBA
5 Replies

5. HP-UX

how can I find cpu usage memory usage swap usage and logical volume usage

how can I find cpu usage memory usage swap usage and I want to know CPU usage above X% and contiue Y times and memory usage above X % and contiue Y times my final destination is monitor process logical volume usage above X % and number of Logical voluage above can I not to... (3 Replies)
Discussion started by: alert0919
3 Replies

6. Solaris

Checking Server work load

Hey guys, I was task to look at a couple DNS servers for a co worker, Now they are running Solaris 2.6 on some Ultra 10 systems. How can I check the kind of load these systems are taking, I know that I can look at the network size and how many zones these servers are SOA of, but I looking in a... (3 Replies)
Discussion started by: aojmoj
3 Replies

7. Shell Programming and Scripting

Need help in wrting Load Script for a Load-Resume type of load.

hi all need your help. I am wrting a script that will load data into the table. then on another load will append the data into the existing table. Regards Ankit (1 Reply)
Discussion started by: ankitgupta
1 Replies

8. UNIX for Advanced & Expert Users

Sun: High kernel usage & very high load averages

Hi, I am seeing very high kernel usage and very high load averages on my system (Although we are not loading much data to our database). Here is the output of top...does anyone know what i should be looking at? Thanks, Lorraine last pid: 13144; load averages: 22.32, 19.81, 16.78 ... (4 Replies)
Discussion started by: lorrainenineill
4 Replies

9. SuSE

How do I load kernel modules so BestCrypt will work

I'm using SuSE 9.2 Pro and trying to use a program call BestCrypt. I get it installed and type bctool and it says "Kernel modules not loaded". If you need to know anymore about it you can find it at http://www.jetico.com/linux/bcrypt-help/index.htm linux:/home/chris/Desktop/Xtheater-0.9.2 #... (6 Replies)
Discussion started by: CTroxtell21
6 Replies
Login or Register to Ask a Question