03-11-2014
That I understand..
OK on HP-UX when I had this sort of issues, I used to dedicate a CPU to that application or user ... he would find himself as if on a single cpu box... only it will run at the speed of the cpu...
kernel params, to allow big - long processes to use all the cpu, I used to change the timeslice, but this is very tricky : You fall on badly written code, and you have lost control of your server... So although this can accelerate your application it has some terrible side effects, because the parameter affects all the system... I used to fine tune a kernel specificly for batches, and compile a kernel for that purpose, then its just a question of swaping kernel and reboot...
You have to accept the idea that 2 CPU 1GHz cannot do 1CPU@2GHz, and so will have to tune what you can, to reduce I/O , disk access etc.. and to remember the better is the ennemy of Good...
You are left analysing why you have performance issues and try to find workarounds, and I tell you there are
10 More Discussions You Might Find Interesting
1. Solaris
Hi..,
my dout is a solaris server is having 16 cpu's.
in tht one cpu running some error process, accupaying more space.
I wanna down tht particular CPU only with out interrupting the other 15
CPU's. how can i do this. is there any command for this ?? (5 Replies)
Discussion started by: b.janardhanguru
5 Replies
2. UNIX for Dummies Questions & Answers
hi,
i want to know cpu utilizatiion per process per cpu..for single processor also if multicore in linux ..to use these values in shell script to kill processes exceeding cpu utilization.ps (pcpu) command does not give exact values..top does not give persistant values..psstat,vmstat..does njot... (3 Replies)
Discussion started by: pankajd
3 Replies
3. Solaris
Hello Friends,
On one of my Solaris 10 box, CPU usage shows 100% using "sar", "vmstat". However, it has 4 CPUs and prstat and glance are not showing enough processes to justify high CPU utilization.
=========================================================================
$ prstat -a
... (4 Replies)
Discussion started by: mahive
4 Replies
4. Solaris
Can anyone tell me difference between cpu-shares vs cpu-cap in solaris & how FSS will work with cpu-caps ? (9 Replies)
Discussion started by: fugitive
9 Replies
5. Solaris
I have a sun fire v480r server. it has 2 cpu. One of cpu have become faulty. Now i want to run server on a single cpu. My service provider says it cant be done, you have to replace the motherboard. Can it be done? If so do some settings need to be changed in solaris. I have search for documentation... (6 Replies)
Discussion started by: krabu
6 Replies
6. Shell Programming and Scripting
I wrote a very simple script that matches combinations of alphabetic characters (1-5). I want to use it to test CPU speeds of different hardware/platforms. The problem is that on multi-core/processor systems, only one CPU is being utilized to execute the script. Is there a way to change that?... (16 Replies)
Discussion started by: ph0enix
16 Replies
7. Solaris
Hi All,
What is the difference between CPU CHIP and CUP ID on SUN/ Oracle M5000 servers..
Thanks in advance (3 Replies)
Discussion started by: kumarmani
3 Replies
8. Red Hat
please help on this issue.
I take care of a production enterprise application , it is a java process quite complex that is a middleware application.
The process runs 24 hours a day. Usage cpu is 60% as mean value all day.
The process have some burst of cpu usage at 100% usage in the afternoon.... (0 Replies)
Discussion started by: berborfi
0 Replies
9. AIX
Hi All,
It may be a n00b question, but i really want to know , How Entitled Capacity is less and Used CPU is more when there is no Free CPU is available in the managed system.
I have 5LPARs in a MS with Dual VIO.
Managed System CPU details
Available: 0.20
Assigned to partitions: 15.80... (11 Replies)
Discussion started by: Thala
11 Replies
10. UNIX for Beginners Questions & Answers
I read that Entitlement CPU should be set to max 75% compare to Virtual CPU. May I know the reason.
I have set the Entitlement CPU = Virtual CPU on AIX . It works fine .
Can you help to understand. (1 Reply)
Discussion started by: gabhanes
1 Replies
LEARN ABOUT FREEBSD
pmccontrol
PMCCONTROL(8) BSD System Manager's Manual PMCCONTROL(8)
NAME
pmccontrol -- control hardware performance monitoring counters
SYNOPSIS
pmccontrol [-c cpu | -d pmc | -e pmc] ...
pmccontrol -l
pmccontrol -L
pmccontrol -s
DESCRIPTION
The pmccontrol utility controls the operation of the system's hardware performance monitoring counters.
OPTIONS
The pmccontrol utility processes options in command line order, so later options modify the effect of earlier ones. The following options
are available:
-c cpu Subsequent enable and disable options affect the CPU denoted by argument cpu. The argument cpu is a number denoting a CPU in the
system, or ``*'', denoting all unhalted CPUs in the system.
-d pmc Disable PMC number pmc on the CPU specified by -c, preventing it from being used till subsequently re-enabled. The argument pmc is a
number denoting a specific PMC, or ``*'' denoting all the PMCs on the specified CPU.
Only idle PMCs may be disabled.
-e pmc Enable PMC number pmc, on the CPU specified by -c, allowing it to be used in the future. The argument pmc is a number denoting a
specific PMC, or ``*'' denoting all the PMCs on the specified CPU. If PMC pmc is already enabled, this option has no effect.
-l List available hardware performance counters and their current disposition.
-L List available hardware performance counter classes and their supported event names.
-s Print driver statistics maintained by hwpmc(4).
EXAMPLES
To disable all PMCs on all CPUs, use the command:
pmccontrol -d*
To enable all PMCs on all CPUs, use:
pmccontrol -e*
To disable PMCs 0 and 1 on CPU 2, use:
pmccontrol -c2 -d0 -d1
To disable PMC 0 of CPU 0 only, and enable all other PMCS on all other CPUs, use:
pmccontrol -c* -e* -c0 -d0
DIAGNOSTICS
The pmccontrol utility exits 0 on success, and >0 if an error occurs.
SEE ALSO
pmc(3), pmclog(3), hwpmc(4), pmcstat(8), sysctl(8)
HISTORY
The pmccontrol utility first appeared in FreeBSD 6.0.
AUTHORS
Joseph Koshy <jkoshy@FreeBSD.org>
BSD
November 9, 2008 BSD