Question about multiple CPU's


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Question about multiple CPU's
# 1  
Old 04-15-2005
Question about multiple CPU's

I ran a tar command on an HP 11.11 box with 12 processors and then ran top. I noticed that the tar command was "jumping" between processors, for example during one iteration of top the tar command would be running on processor 3 and during the next iteration it would be running of processor 7. Can someone please explain the reason/advantage of this? A link would be helpful also. Thanks.
# 2  
Old 04-15-2005
12 cpu's...whoa! Is this a superdome?

tar is i/o bound by nature. It does a read or write and must wait until that completes. It is not running or runable while it's waiting for i/o to finish...therefore it is not in a cpu. When the i/o finishes, the process to put on the run queue. "Idle" cpu's are scanning a run queue looking for something to run. With 12 cpu's you have enough idle cpu's scanning the run queue that there is a good chance the process will get a different cpu.

Some os'es have a processor affinity concept (not sure if HP-UX does). Here, if several runnable processes of equal priority are available, the cpu picks one it recently ran. Almost all os's have a system call to influence proceesor choice, with HP-UX it's mpctl.

One process bouncing among a few cpu's is not too bad. But cpu's will have on-chip (or at least per processor) caches. It's better if processes can be routed to cpu's they previously used.
# 3  
Old 04-18-2005
Thanks for the explanation. To some here it's kind of like a superdome...we like to call it payroll.
# 4  
Old 04-20-2005
Quote:
Originally Posted by Perderabo
12 cpu's...whoa! Is this a superdome?

hehe I have a single partition superdome, we just upgraded it from 48 to 64 procs running a single 1.4TB instance of oracle and the supporting app as well. And added from ~72GB to ~106GB of memory

CPU Count: 64
CPU Speed: 750 MHz
CPU HW Support: 64-bit
Kernel Support: 64-bit
RAM Size: 106240 MB
# 5  
Old 04-20-2005
64 cpu's in one partition! Must be fun running top... Smilie
# 6  
Old 04-20-2005
top -h Smilie always!!!
 
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Required cpu , memory, df output in mail for multiple servers

I have prepared script which will collect cpu, memory and df out out for multiple server and send in one mail, but my script only run in one server, and when I send to mail, it shows in text format. it should be show actual format. if any one can help , that would be very grateful. script... (1 Reply)
Discussion started by: yash_message
1 Replies

2. Solaris

The old golden Question - Cpu load vs utilization

Hi all, Load = run queue, process utilizing cpu or waiting for cpu Cpu utilization = % of time that the cpu is busy. Naturally, I am thinking that if I have 1 cpu and my load=1 all the time, my CPU is 100% busy. Now I have 2 CPU thread running and doing prstat -Z, this is what I... (3 Replies)
Discussion started by: javanoob
3 Replies

3. UNIX for Dummies Questions & Answers

Is it possible to combine multiple CPU to act as a single CPU on the same server?

We have a single threaded application which is restricted by CPU usage even though there are multiple CPUs on the server, hence leading to significant performance issues. Is it possible to merge / combine multiple CPUs at OS level so it appear as a single CPU for the application? (6 Replies)
Discussion started by: Dissa
6 Replies

4. AIX

Monitor Physical CPU usage on multiple servers

Hello, Looking for some help. I am trying to gather data at each server showing when the physical CPU is being used the most based on a weekly timeframe. I know this data can be seen through NMON but with multiple servers in our environment it could take a real long time. is there a easier... (4 Replies)
Discussion started by: audis$
4 Replies

5. UNIX for Advanced & Expert Users

Script to access multiple linux servers to get system details such as CPU usage

Hi Is there any shell script that accesses multiple linux servers to get details such as CPU usage, RAM used etc. The access of the servers must be parallel not serial in the sense it must ping all the servers at a time to get information.The script has to be triggered from a host system and get... (7 Replies)
Discussion started by: mssrivatsa
7 Replies

6. Solaris

Multi CPU Solaris system shows 100% CPU usage.

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

7. UNIX for Dummies Questions & Answers

how to get persistant cpu utilization values per process per cpu in linux (! top,ps)

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

8. UNIX for Dummies Questions & Answers

N00b question on CPU % in top

I have a process in my TOP output that is consistantly at 97% usage. I have 16 CPUs on my box. So is the 97% the cumalative usage of all the CPUs or just one? (3 Replies)
Discussion started by: kskywr
3 Replies
Login or Register to Ask a Question