09-19-2011
Quote:
Originally Posted by
boneyard
i did wonder if the machine was capable of taking that core out of use as it were to other zones, but i guess not.
The machine is capable to do it too, just use dedicated-cpu, as already suggested by bartus11, not capped-cpu.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
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
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
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
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
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
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
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
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
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
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
LEARN ABOUT NETBSD
cpuset_create
CPUSET(3) BSD Library Functions Manual CPUSET(3)
NAME
cpuset_create, cpuset_destroy, cpuset_zero, cpuset_set, cpuset_clr, cpuset_isset, cpuset_size -- dynamic CPU sets
SYNOPSIS
#include <sched.h>
cpuset_t *
cpuset_create(void);
void
cpuset_destroy(cpuset_t *set);
void
cpuset_zero(cpuset_t *set);
int
cpuset_set(cpuid_t cpu, cpuset_t *set);
int
cpuset_clr(cpuid_t cpu, cpuset_t *set);
int
cpuset_isset(cpuid_t cpu, const cpuset_t *set);
size_t
cpuset_size(const cpuset_t *set);
DESCRIPTION
This section describes the functions used to create, set, use and destroy the dynamic CPU sets.
This API can be used with the POSIX threads, see pthread(3) and affinity(3).
The ID of the primary CPU in the system is 0.
FUNCTIONS
cpuset_create()
Allocates and initializes a clean CPU-set. Returns the pointer to the CPU-set, or NULL on failure.
cpuset_destroy(set)
Destroy the CPU-set specified by set.
cpuset_zero(set)
Makes the CPU-set specified by set clean, that is, memory is initialized to zero bytes, and none of the CPUs set.
cpuset_set(cpu, set)
Sets the CPU specified by cpu in set. Returns zero on success, and -1 if cpu is invalid.
cpuset_clr(cpu, set)
Clears the CPU specified by cpu in the CPU-set set. Returns zero on success, and -1 if cpu is invalid.
cpuset_isset(cpu, set)
Checks if CPU specified by cpu is set in the CPU-set set. Returns the positive number if set, zero if not set, and -1 if cpu is
invalid.
cpuset_size(set)
Returns the size in bytes of CPU-set specified by set.
SEE ALSO
affinity(3), pset(3), sched(3), schedctl(8), kcpuset(9)
HISTORY
The dynamic CPU sets appeared in NetBSD 5.0.
BSD
November 2, 2011 BSD