Multicore from a different angle


 
Thread Tools Search this Thread
Operating Systems HP-UX Multicore from a different angle
# 1  
Old 12-07-2005
Multicore from a different angle

Everyone seemed to be a little stumped by the multicore question I asked earlier this week, so I decided I'd try a different angle.

Turns out that on a multicore system HP-UX reports every core as a seperate processor. All the usual commands (ioscan, top, etc.) report two processors for every one in a dual core system.

My question now is, can anyone tell me how to find out, from the command line, how many physical processors are on the system?
# 2  
Old 12-07-2005
The problem is that I think you already have the correct answer. A dual core chip has two complete cpu's together with separate L1 caches. They do share a (huge) L2 cache, but I don't think that is enough to render one of them nonexistent. If HP-UX did not report each core as a separate processor, it would be broken.
# 3  
Old 12-07-2005
I think you're right

After nearly a week of trying to figure this out, digging through reams of documentation, and going back and forth with the support hotline, I'm fairly sure you're right. But I'm just as sure that there are a large number of people out there with greater knowledge of HP-UX than me, so I had to ask.

I'll be more than happy to hear it if someone has an idea I haven't tried yet, but for now I guess I'm going with the answers I've got.
# 4  
Old 12-08-2005
Sorry I replied to the earlier post.

Is your machine reporting an odd number of processors?

If this is really a gigantic issues open it up and count the things that look like aluminum quarts of milkSmilie
# 5  
Old 12-08-2005
I have to be able to do this programmatically, Eronysis. On single-core and dual-core systems, which breaks the division idea . . . unless I want to report half a processor.
# 6  
Old 12-08-2005
ioscan -k -C processor | grep processor | wc -l

returns you a nice integer.
# 7  
Old 12-08-2005
Eronysis, you and me are jumping back and forth on different postings here, so I'm going to answer on just this one.

Yes, I have tried the ioscan command, as well as top, checking the syslog, and half a dozen others. But HP-UX 11 reports all the cores as seperate processors, which gives me the number of cores per box. But I ultimately need to be able to tell how many cores are on each processor, now and as technology advances. So I need to know how many physical processors are on the box, whether it's dual core, quad core, single core, or whatever.

So, thank you for trying, but ioscan doesn't do the job, and neither does anything else really, because it only gives me half the info I need.

parstatus would give me the rest of the info I need, but it only works on cell based and superdome systems.
Login or Register to Ask a Question

Previous Thread | Next Thread

4 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

How give tasks to individual processors in a multicore processor ?

Hi all, Using shell script, how to assign tasks to individual processors in a multicore processor ? For example: If I have 4 processors, I want to give one job to each of the processors. (When I give multiple jobs, it's assigning all the load to a single processor. ) Thanks R (5 Replies)
Discussion started by: habzone2007
5 Replies

2. HP-UX

How do I detect multicore processors?

I'm fairly new to HP-UX, and I need to know how to identify the number of cores on a PA-8800 processor from the command line. Any help here would be appreciated. (11 Replies)
Discussion started by: Midcain
11 Replies

3. Post Here to Contact Site Administrators and Moderators

angle brackets should be escaped automatically

I think that HTML code within posts should be turned off -- the vB Code can provide all the features we need. Then, you should modify the program to automatically escape any angle brackets, so that < gets translated to < and > gets translated to > I see a lot of people garble their posts... (4 Replies)
Discussion started by: PxT
4 Replies

4. Post Here to Contact Site Administrators and Moderators

Angle brackets

From the Apache thread in the Adanced forum: Thats because your browser interprets anything within angle brackets to be an HTML tag. You need to quote these brackets if you want them to appear correctly. The proper quotes are: &amp;lt; for < and &amp;gt; for > So, for example, you would have... (1 Reply)
Discussion started by: PxT
1 Replies
Login or Register to Ask a Question