Sponsored Content
Full Discussion: Resource Capping Help!
Operating Systems Solaris Resource Capping Help! Post 302554558 by jlliagre on Monday 12th of September 2011 10:44:49 AM
Old 09-12-2011
Quote:
Originally Posted by boneyard
When using resource capping (for CPU in this case). If a container is restricted to use a single CPU/core, are the other containers intelligent enough to know that they have fewer CPU's available to them?
No, they are intelligent enough to know they (potentially) still have all of the CPUs available. The other containers are not implicitly capped.
Quote:
My question relates to a T2000 which is 8core. I want to restrict one zone to use only a single core while the other remain unrestricted, Would the other zone still think they've got 8core available to them though?
Sure, they'll have the CPUs available (more precisely all zones will still share all of the CPUs).
By the way, if you want to cap the container to one core on a T2000, make sure you set ncpu to 8, not 1.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

resource manaement

Hi all I would like to know which other tools i can use besides top & sar to track the system resources i heard of somthing that sounds like acamdmin or acsadm... Thanks for your help (1 Reply)
Discussion started by: yelalouf
1 Replies

2. Linux

Resource management

Hi all, we have a big problem, we are running an IA-64 linux system, with 8 CPUs and some GB of RAM, for user usage. The user are compiling and testing programs on this system, and this caused some problems. Sometimes, a user program used the hole memory, blocks the other users, and also... (1 Reply)
Discussion started by: malcom
1 Replies

3. Solaris

resource worries

When I run the prstat -a command I get the following output for user oracle. NPROC USERNAME SIZE RSS MEMORY TIME CPU 118 oracle 70G 30G 100% 4:38:03 52% The reading under the "MEMORY" heading is 100%. What does this mean? I hope it doesn't mean user oracle is using... (2 Replies)
Discussion started by: soliberus
2 Replies

4. Solaris

Solaris 10 : Memory Capping Query

Hi Folks, Im running solaris 10 8/07 and im trying to set up some memory capping within zones for the system project. ie. zone1# cat /etc/project system:0::::rcap.max-rss=41943040 user.root:1:::: noproject:2:::: default:3:::: group.staff:10:::: zone2# cat /etc/project... (3 Replies)
Discussion started by: trevagreene
3 Replies

5. UNIX for Advanced & Expert Users

Fork:resource unavailable

Hello. I have code which create processes with fork(). I set a limit for processes by typing ulimit -u 20. Then I run my code who should create 100 processes. Unfortunately, I have a mistake there and I forgot to quit all of my forked processes when fork gave me return value -1. So I am trapped in... (5 Replies)
Discussion started by: samos
5 Replies

6. Solaris

Resource management (projadd)

Hi When I create a new project: For example: projadd -K "project.max-shm-memory=(priv,16GB,deny)" project_name I need to associate this project to a user in /etc/user_attr: User_name::::project=project_name Otherwise, id -p shows reveals that the user has project default. Is there... (0 Replies)
Discussion started by: melanie_pfefer
0 Replies

7. UNIX for Dummies Questions & Answers

Capping output redirection log file length

I am trying to write a script which will output notifications to a logfile, but I would like to cap the logfile to, let's say, 200 lines. Specifically I am using custom firmware, DD-wrt, on my router and I am implementing a script to connect to my work vpn. I have a loop that pings a computer... (2 Replies)
Discussion started by: joemommasfat
2 Replies

8. Solaris

Solaris 10 - capping CPU

Hi all I've purchased a T3-1 server. The T3-1 has a 16 core CPU. I want to create a zone to install an Oracle DB server in. Due to Oracle licensing issues I want to limit the zone to 8 cores. I've done some research and it seems there are 2 ways of setting a CPU core limit for a zone. 1. ... (0 Replies)
Discussion started by: soliberus
0 Replies

9. Solaris

Need to understand CPU capping in Zones

Hi All I am using below command to do zone capping #zonecfg -z zone1 zonecfg:zone1> zonecfg:zone1>add capped-cpu zonecfg:zone1>capped-cpu> set ncpus=2 zonecfg:zone1>capped-cpu> end zonecfg:zone1> commit zonecfg:zone1> exit It means that it can used two CPUs in zone1 then I run... (5 Replies)
Discussion started by: sb200
5 Replies

10. Solaris

Memory capping Solaris 11.3

I want to allocate RAM : 64GB (Dedicated allocation) Swap : 8GB Please assist and recommend the correct capping values capped-memory: physical: XXG Had allocated physical=64GB, Swap=8GB, and locaked 16GB and found my non-global zone were unable to use... (1 Reply)
Discussion started by: Shirishlnx
1 Replies
vzsplit(8)							    Containers								vzsplit(8)

NAME
vzsplit - generate a sample container configuration file SYNOPSIS
vzsplit [-n numve] [-f conf_name] [-s swapsize] [-v yes|no] DESCRIPTION
The vzsplit utility is used to split the Hardware Node into equal parts. It generates a full set of system resource control parameters for the given number of containers. The values are calculated from the total physical memory of the Hardware Node the utility runs on, and the number of containers the Hardware Node shall be able to run even if the given number of containers consume all the resources available. Without any option given, vzsplit prompts for the desired number of containers and outputs the resulting resource control parameters to stdout. If there are not enough system resources to run the specified number of containers, an appropriate message is shown and the sample configu- ration file is not generated. OPTIONS
-n numve Specify the number of containers. -f conf_name Specify the configuration sample name to write configuration to, instead of standard output. The file created will be named /etc/vz/conf/ve-conf_name.conf-sample. -s swapsize Specify the swap size in Kbytes. If this option is not given, the swap size is read from /proc/meminfo. -v yes|no Whether to generate VSwap enabled configuration. Default is auto-detect by checking if running kernel is VSwap capable; this option overrides auto-detection. EXIT STATUS
vzsplit returns 0 upon a successful execution. If anything goes wrong, it returns 1. SEE ALSO
ctid.conf(5). LICENSE
Copyright (C) 2000-2011, Parallels, Inc. Licensed under GNU GPL. OpenVZ 6 Jun 2011 vzsplit(8)
All times are GMT -4. The time now is 07:51 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy