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


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Is it possible to combine multiple CPU to act as a single CPU on the same server?
# 1  
Old 03-11-2014
RedHat 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?
# 2  
Old 03-11-2014
Well we dont know much about your OS for a start...
# 3  
Old 03-11-2014
Apologies for being vague . Wanted to know if this is possible in any of Linux or Unix platforms. We are using Red Hat Enterprise Linux Server release 5.8.
# 4  
Old 03-11-2014
OK your application doesnt know how to take advantage of multi-threading, but that should not be an issue on a multi-core... Even One thread appl. can make usage of more than 1 cpu... not that you will have 2 cpu dedicated, but your application may pass from one to another depending of the load and so should gain on context switching...
So I believe its more a question of tuning... but for that youwould have to know what you application is doing and where it is stuck...
# 5  
Old 03-11-2014
We know for sure that application is not able to use more than one CPU and the vendors has confirmed the same. There are other ways to increase usage of CPU multiple CPU( i.e. multi-instances) but this is not sufficient due to other business process level complications.

This is the reason why we are looking to increase processing power vertically (merged CPU) [if possible] than horizontally(multiple CPU).
# 6  
Old 03-11-2014
Since you say you want to know if this is possible on *any* platform running unix or linux I guess I would need to say yes. If hyperthreading is on simply turn it off.
# 7  
Old 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
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Why Entitlement CPU can't be set to same as Virtual CPU?

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

2. AIX

Entitled CPU lesser Than Used CPU !!

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

3. Red Hat

Java process demoted to single CPU

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

4. Solaris

Difference between CPU CHIP and CPU ID

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

5. Shell Programming and Scripting

Is there a way to make bash [or another shell] use all CPU cores to execute a single script?

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

6. Solaris

Running Sun Fire V480R on a single cpu-Urgent

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

7. Solaris

cpu-shares vs cpu-cap in 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

8. 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

9. 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

10. Solaris

How to down a particular CPU in a server, witch is having 16 CPU's

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
Login or Register to Ask a Question