473,765 Members | 2,021 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

multi processor issue

Hi,

How can I check if in our .net environment the applications are using
all 4 of our processors ( 2 CPU's hyperthreaded)
The issue is that our test environment with 1 CPU (hyperthreaded) shows
better performance then our production environment which has two
hyperthreaded CPU's.
We are pretty sure it is not a hardware issue, but probably some
misconfiguratio n or missing setting in the applications. I think the
application is not using all 4 processors. How can I monitor the .net
application and processor usage.

Aug 6 '06 #1
2 1324
Hello, Cathy_db!
You wrote on 6 Aug 2006 12:07:31 -0700:

CdHi,

CdHow can I check if in our .net environment the applications are using
Cdall 4 of our processors ( 2 CPU's hyperthreaded)
CdThe issue is that our test environment with 1 CPU (hyperthreaded) shows
Cdbetter performance then our production environment which has two
Cdhyperthreaded CPU's.
CdWe are pretty sure it is not a hardware issue, but probably some
Cdmisconfigurat ion or missing setting in the applications. I think the
Cdapplication is not using all 4 processors. How can I monitor the .net
Cdapplication and processor usage.

You will have to use performance counters to analyze processor usage.
Take a look at
(
http://technet2.microsoft.com/Window....mspx?mfr=true )
Additionally
( http://www.codeproject.com/dotnet/perfcounter.asp )
( http://www.c-sharpcorner.com/Code/20...CountersP1.asp ).

--
Regards, Vadym Stetsyak.
Blog: http://vadmyst.blogspot.com
Aug 6 '06 #2
I guess we should ask the obvious questions first. Does your
application take advantage of multithreading? Other than the number of
physical CPUs are the hardware configurations the same?

Cathy_db wrote:
Hi,

How can I check if in our .net environment the applications are using
all 4 of our processors ( 2 CPU's hyperthreaded)
The issue is that our test environment with 1 CPU (hyperthreaded) shows
better performance then our production environment which has two
hyperthreaded CPU's.
We are pretty sure it is not a hardware issue, but probably some
misconfiguratio n or missing setting in the applications. I think the
application is not using all 4 processors. How can I monitor the .net
application and processor usage.
Aug 7 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

37
4895
by: ajikoe | last post by:
Hello, Is anyone has experiance in running python code to run multi thread parallel in multi processor. Is it possible ? Can python manage which cpu shoud do every thread? Sincerely Yours, Pujo
77
5382
by: Jon Skeet [C# MVP] | last post by:
Please excuse the cross-post - I'm pretty sure I've had interest in the article on all the groups this is posted to. I've finally managed to finish my article on multi-threading - at least for the moment. I'd be *very* grateful if people with any interest in multi-threading would read it (even just bits of it - it's somewhat long to go through the whole thing!) to check for accuracy, effectiveness of examples, etc. Feel free to mail...
3
3150
by: Amit Dedhia | last post by:
Hi I am developing a Dot net application (involving image processing) on a uni processor. It works well on my machine. I then take all my code on a multi processor, build and run the application there. There is performance degradation. The usual performance of the application on MP machine is better than that of uni processor machine. But the performance of MP degrades when it comes to the multi-threaded part of the application. I am...
2
2120
by: JohnFol | last post by:
I know Windows / SQL etc can utilise multiple processors. In the good old days of coding, you simply wrote the .EXE and Windows would run it on a single processor (or a given processor for multi-processor machines) I know also that threads exist, but am having a few problems understanding how they are split across processors so here is an easy example. I have a VB.Net written application that is processor intensive. It has not been...
1
1418
by: Eugene | last post by:
Hi All, In multi processor computer, do we need to use specific design/coding method to optimize our program to take advantage of the multi processor? If I use a normal program, would it automatically achieve better (maybe significantly) performance by adding more cpu(s). By using special techniques (targeting multi processor sys), would the performance be increased further? If yes, what is those techniques?
2
1152
by: Robert May | last post by:
I have a windows service that spawns multiple threads running a thing that does a bunch of processing. Here's the code that spawns the threads: m_totalThreads=Convert.ToInt32(Settings.GetSetting("ProcessorThreads")); m_executingThreads=new Thread; for (int i=0;i < m_totalThreads;i++) {
3
1474
by: Joe Befumo | last post by:
This is my first attempt at multi-thread programming, and I'm encountering a program-logic problem that I can't quite put my finger on. The program is pretty simple. I'm trying to validate a large list of email addresses. Since the actual validation can take some time, I'm spawning new threads, up to a predetermined maximum value, to process each new address.
1
1897
by: fniles | last post by:
If I use thread in my VB.NET application, will it work in a multi processor machine ? I mean, will it crash a multi processor machine ? Thanks.
0
2328
by: Sabri.Pllana | last post by:
We apologize if you receive multiple copies of this call for papers. *********************************************************************** 2008 International Workshop on Multi-Core Computing Systems (MuCoCoS'08) Barcelona, Spain, March 4 - 7, 2008; in conjunction with CISIS'08. <http://www.par.univie.ac.at/~pllana/mucocos08> *********************************************************************** Context
0
9568
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9398
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10007
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9951
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8831
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7378
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6649
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5421
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2805
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.