- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Only half CPUs being fully utilized
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2010 06:04 AM
08-12-2010 06:04 AM
Only half CPUs being fully utilized
attached is a txt output from the top command.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2010 06:06 AM
08-12-2010 06:06 AM
Re: Only half CPUs being fully utilized
Hyperthreading enabled?
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2010 06:09 AM
08-12-2010 06:09 AM
Re: Only half CPUs being fully utilized
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2010 06:26 AM
08-12-2010 06:26 AM
Re: Only half CPUs being fully utilized
If you aren't using threading, 4 processes can only use 4 CPUs.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2010 06:30 AM
08-12-2010 06:30 AM
Re: Only half CPUs being fully utilized
Number of CPUs = 8
Clock speed = 1598 MHz
Bus speed = 533 MT/s
CPUID registers
vendor information = "GenuineIntel"
processor serial number = 0x0000000000000000
processor version info = 0x0000000020010104
architecture revision: 0
processor family: 32 Intel(R) Itanium 2 9100 series
processor model: 1 Intel(R) Itanium 2 9100 series
processor revision: 1 Stepping A1
largest CPUID reg: 4
processor capabilities = 0x0000000000000005
implements long branch: 1
implements 16-byte atomic operations: 1
Bus features
implemented = 0xbdf0000020000000
selected = 0x0020000000000000
Exclusive Bus Cache Line Replacement Enabled
Cache info (per core):
L1 Instruction: size = 16 KB, associativity = 4
L1 Data: size = 16 KB, associativity = 4
L2 Instruction: size = 1024 KB, associativity = 8
L2 Data: size = 256 KB, associativity = 8
L3 Unified: size = 9216 KB, associativity = 9
Memory = 16249 MB (15.868164 GB)
Firmware info:
Firmware revision = 9.048
FP SWA driver revision: 1.18
IPMI is supported on this system.
ERROR: Unable to obtain manageability firmware revision info.
Platform info:
model string = "ia64 hp server rx7640"
OS info:
sysname = HP-UX
release = B.11.23
version = U (unlimited-user license)
machine = ia64
@(#) $Revision: vmunix: B11.23_LR FLAVOR=perf Fri Aug 29 22:35:38 PDT 2003 $
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2010 06:32 AM
08-12-2010 06:32 AM
Re: Only half CPUs being fully utilized
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2010 06:48 AM
08-12-2010 06:48 AM
Re: Only half CPUs being fully utilized
Good question.
All of the ora_s*_dlcdbap and ora_s*_dlcdbap processes seem to be on 1-4.
Are you using any workload manager? Or fairshare scheduler?
Or is Oracle using mpctl(2)?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2010 07:08 AM
08-12-2010 07:08 AM
Re: Only half CPUs being fully utilized
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2010 07:15 AM
08-12-2010 07:15 AM
Re: Only half CPUs being fully utilized
top(1) says they are idle, nothing to "keep up". The ones that are busy are mostly in the kernel (SYS).
>is there a way to tell if there is some sort of workload manager at work on the box?
Since they cost money, it should be obvious. :-)
Do you see anything obvious with:
swlist -l bundle
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2010 07:17 AM
08-12-2010 07:17 AM
Re: Only half CPUs being fully utilized
You could also try caliper, it's free.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2010 08:31 AM
08-12-2010 08:31 AM
Re: Only half CPUs being fully utilized
I even looked at psrset and it looks like all cpus are just in the default grouping:
$ /usr/sbin/psrset
PSET 0
SPU_LIST 0 1 2 3 4 5 6 7
OWNID 0
GRPID 0
PERM 755
IOINTR ALLOW
NONEMPTY DFLTPSET
EMPTY FAIL
LASTSPU DFLTPSET
LDOM_LIST 0 1
RTE DISALLOW
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2010 09:52 AM
08-12-2010 09:52 AM
Re: Only half CPUs being fully utilized
My opinion, if the database is running slow, it does not mean that problem with the UNIX system. My advice check the database logs as well.
If your system having 8 CPU, it does not mean all 8 will be busy every time, it depends on the incoming request and load.
This is what I can think as of now.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2010 10:29 PM
08-12-2010 10:29 PM
Re: Only half CPUs being fully utilized
SYS could also mean the system is really busy providing the data for the database, blocking almost all I/O for other processes on the filesystem but showing 'activity' in top. (Glance does this better, especially when zooming in on processes or looking at syscalls.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2010 01:34 AM
08-13-2010 01:34 AM
Re: Only half CPUs being fully utilized
Could you provide some more details.
parstatus -V
vparstatus -V (if vpar exist)
sar -Muqc
sar -b
sar -v
sar -u
ioscan | grep -i processor
uname -r
Best Regds,
Ganesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2010 02:08 AM
08-13-2010 02:08 AM
Re: Only half CPUs being fully utilized
To confirm whether SIM is running use
#ps -eaf | grep -i wbem
If yes, login to SIM by http://
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2010 07:43 AM
08-13-2010 07:43 AM
Re: Only half CPUs being fully utilized
This means that only 4 processes are busy computing and the rest are either sleeping or waiting on I/O. You can't expect a single process to be split across multiple CPUs. Your DBA configures the number of available processors in Oracle and Oracle with adjust internal code to take advantage of the resources. But for a single thread of code, only one CPU will be used. If it uses 100% of that CPU, you cannot 'share' the load across 2 CPUs.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2010 07:49 AM
08-13-2010 07:49 AM
Re: Only half CPUs being fully utilized
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2010 07:20 AM
08-17-2010 07:20 AM
Re: Only half CPUs being fully utilized
Your second top output, shows that also cpu 6 gets hammered, so I dont think the problem is the # of cpu "an sich".
However its not normal that oracle processes are spending that much time in 'system mode'.
Log a call with oracle support and see if they can find out which system calls are causing the oracle processes to spend that much time in system mode.
If oracle support doesnt come up with satisfying answers, log a performance case with hp support and a internal tool as kitrace should be able to find out what is going on.
Greetz,
Chris
PS. Installing the latest patchbundle should also be a good idea.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2010 08:05 AM
08-17-2010 08:05 AM
Re: Only half CPUs being fully utilized
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2011 08:14 AM
01-12-2011 08:14 AM
Re: Only half CPUs being fully utilized
I have a somewhat similar situation, but in my case, it is when I invoke the PL/SQL package dbms_stats.gather_table_stats with the degree parameter specifying parallel processing. Oracle proceeds to launch 72 processes, but they only run on 4 of the 8 CPUs. I enabled hyperthreading, and same results: the processes only run on 8 of the 16 CPUs! I've had installed the Oracle-recommended patches for 11.31, and same results. I have a ticket open with Oracle. I can do other queries that do use all the CPUs, but that particular command is using just half the CPUs.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2011 08:19 AM
01-12-2011 08:19 AM
Re: Only half CPUs being fully utilized
1.) SOme of your Oracle DB processes are likely set for processor affinity. I have seen and done this in various TPC and SwingBench benchmark recipes.
2.) The DB is missing a setting in its ora.init file -- which I can't remember.. I will post once I recall what it is.
Cheers.
Favourite Toy:
AMD Athlon II X6 1090T 6-core, 16GB RAM, 12TB ZFS RAIDZ-2 Storage. Linux Centos 5.6 running KVM Hypervisor. Virtual Machines: Ubuntu, Mint, Solaris 10, Windows 7 Professional, Windows XP Pro, Windows Server 2008R2, DOS 6.22, OpenFiler
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2011 12:23 PM
01-12-2011 12:23 PM
Re: Only half CPUs being fully utilized
I've already checked the init.ora values; they look good.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-19-2011 06:36 AM
01-19-2011 06:36 AM
Re: Only half CPUs being fully utilized
Are you guys still having this issue?
Favourite Toy:
AMD Athlon II X6 1090T 6-core, 16GB RAM, 12TB ZFS RAIDZ-2 Storage. Linux Centos 5.6 running KVM Hypervisor. Virtual Machines: Ubuntu, Mint, Solaris 10, Windows 7 Professional, Windows XP Pro, Windows Server 2008R2, DOS 6.22, OpenFiler
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-19-2011 07:15 AM
01-19-2011 07:15 AM
Re: Only half CPUs being fully utilized
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-19-2011 07:19 AM
01-19-2011 07:19 AM