Solved

Force all 4 Core usage in a QuadCore Server.

Posted on 2008-10-01
10
908 Views
Last Modified: 2012-06-21
Hi,

One of My Customer has raised the following Query:

"From the SRM reports for terminal server sv01 during single-user load testing, it is apparent that the S-Plus application is single-threaded.  Despite running on a quad-core Wintel server, it is only making maximum use of 1 core (>80% processor utilisation on that 1 core, 20-25% utilisation across all cores in the server).

The question for Server Support Team is therefore, is there any technology that can be applied to the server that would allow the application to make more use of the available processing power in the server?"

To my knowledge An application designed to support Quad-Core only can use all the cores efficiently. Any ideas from experts for above issue is welcome!
0
Comment
Question by:sunilswain
  • 3
  • 3
  • 2
  • +2
10 Comments
 
LVL 95

Accepted Solution

by:
Lee W, MVP earned 125 total points
ID: 22612575
You cannot force a single threaded application to use multiple processors any more than you can force more than one person to steer a car and expect to not have an accident.  

Think of the threads as tasks and the people as the cores.  There are some things that multiple people working on will get done much faster - and others where you realistically cannot utilize a second person.  In a small sink, have you ever tried having 2 people wash the dishes at the same time - not one wash and one dry - BOTH, actively washing dishes...?
0
 
LVL 13

Assisted Solution

by:Rowley
Rowley earned 125 total points
ID: 22613388
Nice analogy.
0
 
LVL 5

Author Comment

by:sunilswain
ID: 22613595
Well... My Client understands the difference between Single threading and Multi threading applications. He's asking for any new Technology that can help a single threading process to utilize the processing power of all cores available in Quad Core !!!
0
Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

 
LVL 34

Expert Comment

by:jamietoner
ID: 22613712
"He's asking for any new Technology that can help a single threading process to utilize the processing power of all cores available in Quad Core" It doesn't exist, as leew explained you can't make a single threaded app act like a multi-threaded app.
0
 
LVL 13

Expert Comment

by:Rowley
ID: 22613841
"...My Client understands the difference between Single threading and Multi threading applications..."

To be brutally honest, it would appear not otherwise he wouldn't ask such a question. A good explanation as to the differences between single and multi threading:

A thread is a path of execution through a program. Single threaded programs have one path of execution, and multi-threaded programs have two or more paths of execution. For most programs, one thread of execution is all you need, but sometimes it makes sense to use multiple threads in a program to accomplish multiple simultaneous tasks.

So unless you specifically write a program to be multi-threaded, you cannot take advantage of SMP hardware architectures.

Further reading:

http://en.wikipedia.org/wiki/Symmetric_multiprocessing
http://en.wikipedia.org/wiki/Multithreading
http://en.wikipedia.org/wiki/Thread_(computer_science)

0
 
LVL 95

Expert Comment

by:Lee W, MVP
ID: 22622925
So I take it the B grade was because we couldn't tell you how to do the impossible?
0
 
LVL 5

Expert Comment

by:ostaehr
ID: 22622996
You could install a virtualization solution (VMware Server 2.0, Hyper-V, MS Virtual Server/PC, ..) and run one VM on each CPU. If the host-OS is W2008 Enterprise Edition you are very lucky because it licenses 4 virtual guests and you can use all 4 CPUs without additional costs.
0
 
LVL 5

Author Comment

by:sunilswain
ID: 22657758
Well ... from the client the question itself was a B-Grade type question!!! I still thought maybe we have some hardware simulation softwares that may make the impossible a possible... but that was not the case..
0
 
LVL 95

Expert Comment

by:Lee W, MVP
ID: 22659484
No such thing as a "B" grade type quesiton.  If you thought the question was easy or impossible, you assign fewer points to it.  If you don't plan on giving an "A" grade, then you need to state that in the question (and watch how few if any responses you get).  Everyone answering your question is a volunteer - appropriate grading is a method of saying THANK YOU for taking your time to answer my question.  If you don't wish to show respect to those helping you, you'll find fewer and fewer people willing to help you.
0
 
LVL 5

Author Comment

by:sunilswain
ID: 22731007
Leew,

Thanks for that tip.. Will remember that next time.

Sunil
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

this article is a guided solution for most of the common server issues in server hardware tasks we are facing in our routine job works. the topics in the following article covered are, 1) dell hardware raidlevel (Perc) 2) adding HDD 3) how t…
Sometimes drives fill up and we don't know why.  If you don't understand the best way to use the tools available, you may end up being stumped as to why your drive says it's not full when you have no space left!  Here's how you can find out...
This tutorial will walk an individual through locating and launching the BEUtility application and how to execute it on the appropriate database. Log onto the server running the Backup Exec database. In a larger environment, this would generally be …
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question