How can I measure CPU loading (like performance monitor in Windows OS). I use Solaris but I would like to write portable code.
Besides, I have to write programm to load CPU with known percent. How can I use CPU in 30% for example.
Thanks for any ideas. (6 Replies)
Hi All,
Can you please help me in resolving the following problem?
My requirement is like this:
1) I have two files YESTERDAY_FILE and TODAY_FILE. Each one is having nearly two million data.
2) I need to check each record of TODAY_FILE in YESTERDAY_FILE. If exists we can skip that by... (5 Replies)
Hello guys!
I'm n00b in AIX and I'm sticked in a problem. (my English is poor enough, but I hope you can understand me :P). So.. I'm trying to connect to an AIX machine with putty, and .. 'using username xxx' appears after 2 sec (OK), but 'xxx@ip's password' appears after 1:15 min. After... (6 Replies)
Hi to all,
i have an app on solaris 5.8 writed in C++ (3.2.1) that use multi threading.
Hardware has 8 cpu. When i run my app i note that the average of cpu go at least at 40%, and the performance are not so higher..
There is a cpu limitation on solaris, that dedicate only a part of cpu... (3 Replies)
Hello All.
I have Sun T1000 server with Solaris 10.
On T1000 installed EMC smarts, application for monitoring network devices via SNMP + SNMP.
So, Smarts has own DB (contains object - devices and relationships), file takes 30 mb, now, all queries to DB works very slow, so Smarts works too slow,... (5 Replies)
Hi folks.
By disk cloning on Solaris x86, I used a command dd.
I pulled out the source and inserted the new disk.
By loading I have received the following issue: BAD PBR SIGN. :( (5 Replies)
I have written a virtual HBA driver named "xmp_vhba". A scsi disk is attached on it. as shown below:
xmp_vhba, instance #0
disk, instance #11
But the performance became very bad when we read/write the scsi disk using the vdbench(a read/write io tool).
What is the reason? ... (7 Replies)
Hello All
I have a system running AIX 61 shared uncapped partition (with 11 physical processors, 24 Virtual 72GB of Memory) .
The output from NMON, vmstat show a high run queue (60+) for continous periods of time intervals, but NO paging, relatively low I/o (6000) , CPU % is 40, Low network.... (9 Replies)
Hi,
We have a Solaris server that has about 43 Oracle databases on it and we also have the Oracle Enterprise Manager - emagent that is used to monitor these databases
When running top, the emagent is showing as one of the top process. Excerpts from running top shows something as below:
... (3 Replies)
Hi Guys,
I have fresh new installed VIO 2.2.3.70 on a p710, 3 physical SAS disks, rootvg on hdisk0
and 3 VIO clients through vscsi, AIX7.1tl4 AIX6.1tl9 RHEL6.5ppc, each lpar has its rootvg installed on a LV on datavg (hdisk2) mapped to vhost0,1,2
There is no vg on hdisk1, I use it for my... (1 Reply)
Discussion started by: frenchy59
1 Replies
LEARN ABOUT CENTOS
x86_energy_perf_policy
X86_ENERGY_PERF_POLICY(8) System Manager's Manual X86_ENERGY_PERF_POLICY(8)NAME
x86_energy_perf_policy - read or write MSR_IA32_ENERGY_PERF_BIAS
SYNOPSIS
x86_energy_perf_policy [-c cpu] [-v] -r
x86_energy_perf_policy [-c cpu] [-v] 'performance'
x86_energy_perf_policy [-c cpu] [-v] 'normal'
x86_energy_perf_policy [-c cpu] [-v] 'powersave'
x86_energy_perf_policy [-c cpu] [-v] n
DESCRIPTION
x86_energy_perf_policy allows software to convey its policy for the relative importance of performance versus energy savings to the proces-
sor.
The processor uses this information in model-specific ways when it must select trade-offs between performance and energy efficiency.
This policy hint does not supersede Processor Performance states (P-states) or CPU Idle power states (C-states), but allows software to
have influence where it would otherwise be unable to express a preference.
For example, this setting may tell the hardware how aggressively or conservatively to control frequency in the "turbo range" above the
explicitly OS-controlled P-state frequency range. It may also tell the hardware how aggressively is should enter the OS requested C-
states.
Support for this feature is indicated by CPUID.06H.ECX.bit3 per the Intel Architectures Software Developer's Manual.
Options
-c limits operation to a single CPU. The default is to operate on all CPUs. Note that MSR_IA32_ENERGY_PERF_BIAS is defined per logical
processor, but that the initial implementations of the MSR were shared among all processors in each package.
-v increases verbosity. By default x86_energy_perf_policy is silent.
-r is for "read-only" mode - the unchanged state is read and displayed.
performance Set a policy where performance is paramount. The processor will be unwilling to sacrifice any performance for the sake of
energy saving. This is the hardware default.
normal Set a policy with a normal balance between performance and energy efficiency. The processor will tolerate minor performance compro-
mise for potentially significant energy savings. This reasonable default for most desktops and servers.
powersave Set a policy where the processor can accept a measurable performance hit to maximize energy efficiency.
n Set MSR_IA32_ENERGY_PERF_BIAS to the specified number. The range of valid numbers is 0-15, where 0 is maximum performance and 15 is max-
imum energy efficiency.
NOTES
x86_energy_perf_policy runs only as root.
FILES
/dev/cpu/*/msr
SEE ALSO msr(4)AUTHORS
Written by Len Brown <len.brown@intel.com>
X86_ENERGY_PERF_POLICY(8)