05-21-2012
Looking to reduce the number a cpus available for SGE
Hey all
Im looking to reduce the number of cpus available on a certain node in our cluster available for jobs using SGE.
i.e. we have one node that has 24 cpus available for jobs on SGE, i would like to reduce that to 16. Thanks
10 More Discussions You Might Find Interesting
1. Solaris
I have an E15K running at 60% CPU usage on 16 CPUs.
I need to get rid of 6 CPUs, which is 38%.
Does that mean my CPU usage will go up to 98%?
I suspect the relationship between CPU numbers and usage is a bit more complicated. Can anyone give me any guidance on this please?
TIA (0 Replies)
Discussion started by: disturbed_uk
0 Replies
2. UNIX for Dummies Questions & Answers
Can anyone please let me know how do I reduce files into a specific number of files by cat'ing files?
For example:
15 files must be reduced to 1 or 5 or 9 (possible values 1 to 14) (5 Replies)
Discussion started by: aryanbelank
5 Replies
3. UNIX for Dummies Questions & Answers
Dear all,
I'm a new guy doing some quntum calculation with gaussian on my rocks clusters. Recently, my cluster upgraded to rocks 5.3, but something strange happened. Everything goes correct except a serious problem. when I summit my gaussian job with script to sge queue, the job does run,... (0 Replies)
Discussion started by: liuzhencc
0 Replies
4. Shell Programming and Scripting
Hi,
I have the following SGE submission (HPC calculation) script, which is just a Bash script:
#!/bin/bash -l
#$ -S /bin/bash
#$ -l h_rt=1:00:0
#$ -l mem=4G
#$ -N XXX
#$ -pe qlc 24
#$ -P XXX
#$ -wd /home/uccaxxx/Scratch/222PdT/3vac/c0001/
mpirun -m $TMPDIR/machines -np $NSLOTS... (2 Replies)
Discussion started by: crunchgargoyle
2 Replies
5. Shell Programming and Scripting
Hi,
I am very new to scripting and I wanted to write a unix shell script which can give me,
1)number of cpu's in a box
2)number of cores per cpu
3)total number of cores in abox (ie multiplying 1&2)
I am also trying to figure out how to check if hyper-threading is enabled in the... (8 Replies)
Discussion started by: steven12
8 Replies
6. Shell Programming and Scripting
Hello All,
I have created a script which will show the errors from a log file in between a particular section.
v1=$(sed -n "/Main Report/,/Main Report End/p" input | grep -i 'Unable to find'
v2=$(sed -n "/Main Report/,/Main Report End/p" input | grep -i 'Unable to add'
if
then
echo... (5 Replies)
Discussion started by: Vikram_Tanwar12
5 Replies
7. Shell Programming and Scripting
I have the following code to count the number of how many times the name occurred in one file. The code is working fine and the output is exactly what I want. The problem is the real code has more than 50 names in function listname which cause function name to have more than 50 case ,and function... (14 Replies)
Discussion started by: samsan
14 Replies
8. Shell Programming and Scripting
Hi,
I'm trying to edit my working bash script to an SGE script in order to submit it as a job to the cluster.
Currently I have:
#!/bin/bash
# Perform fastqc on files in a specified directory.
for ((j=1; j <=17; j++))
do
directory=/data4/una/batch"$j"/
... (0 Replies)
Discussion started by: una1992
0 Replies
9. Solaris
Hello,
I have few old V210/V240, running Solaris-8. I am trying to find, number of physical CPUs, number of cores and number of virtual processors. psrinfo is giving me confusing status.
It looks like, there are 2 physical CPUs, but psrinfo -p shows me just 1
bash-2.03$ psrinfo -v
Status of... (4 Replies)
Discussion started by: ron323232
4 Replies
10. Shell Programming and Scripting
Hello,
I'm working on a SGE cluster and trying to echo the variables passed to the qsub command.
My script is as follows
#!/bin/bash
#$ -V
#$ -cwd
#$ -pe make 10
if ; then
echo "Variable is not set"
else
echo "Variable says: $StatedUserName"
fi
and I run the... (1 Reply)
Discussion started by: nans
1 Replies
CGGET(1) libcgroup Manual CGGET(1)
NAME
cgget - print parameter(s) of given group(s)
SYNOPSIS
cgget [-n] [-v] [-r <name>] [-g <controller>] [-a] <path> ...
cgget [-n] [-v] [-r <name>] -g <controller>:<path> ...
DESCRIPTION
Prints the parameter(s) of input cgroup(s). If neither controller nor variable are specified, the values of all possible variables are
displayed.
<path> is the name of the cgroup which should be read. This parameter can be used multiple times.
-a, --all
print the variables for all controllers which consist in the given cgroup
-g <controller>
defines controllers whose values should be displayed. This option can be used multiple times.
-g <controller>:<path>
defines control groups whose values should be displayed. This option can be used multiple times.
-h, --help
display help and exit
-n do not print headers, i.e. names of groups.
-r, --variable <name>
defines parameter to display. This option can be used multiple times.
-v, --values-only
print only values, not parameter names.
EXAMPLES
$ cgget -r cpuset.cpus -r cpuset.mems first second
first:
cpuset.cpus=0-1
cpuset.mems=0
second:
cpuset.cpus=0
cpuset.mems=0
$ cgget -n -r cpuset.cpus -r cpuset.mems first second
cpuset.cpus=0-1
cpuset.mems=0
cpuset.cpus=0
cpuset.mems=0
$ cgget -nv -r cpuset.cpus -r cpuset.mems first second
0-1
0
0
0
$ cgget -n -g cpu /
cpu.rt_period_us=1000000
cpu.rt_runtime_us=950000
cpu.shares=1024
ENVIRONMENT VARIABLES
CGROUP_LOGLEVEL
controls verbosity of the tool. Allowed values are DEBUG, INFO, WARNING or ERROR.
SEE ALSO
cgrules.conf (1), cgcreate (1), cgget (1)
Linux 2010-01-18 CGGET(1)