Solved

Force all 4 Core usage in a QuadCore Server.

Posted on 2008-10-01
10
897 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
 
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
How does your email signature look on mobiles?

Do your employees use mobile devices to reply to emails? With mobile becoming increasingly important to the business world, it is in your best interest to make sure that your email signature looks great across all types of devices.

 
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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Join & Write a Comment

Suggested Solutions

More or less everybody in the IT market understands the basics of Networking, however when we start talking about Storage Networks, things get a bit dizzier, and this is where I would like to help.
A procedure for exporting installed hotfix details of remote computers using powershell
This tutorial will show how to push an installation of Backup Exec to an additional server in both 2012 and 2014 versions of the software. Click on the Backup Exec button in the upper left corner. From here, select Installation and Licensing, then I…
This tutorial will walk an individual through the steps necessary to install and configure the Windows Server Backup Utility. Directly connect an external storage device such as a USB drive, or CD\DVD burner: If the device is a USB drive, ensure i…

760 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now