473,386 Members | 2,050 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Why my C# App use no more 25% of the total 4 CPUs' resources?

is there any setting options ?

Mar 23 '06 #1
4 2145


Wa********@gmail.com wrote:
is there any setting options ?


Perhaps the application have only one thread? or perhaps locking
prevents more than one thread from running at a time.

--
Helge Jensen
mailto:he**********@slog.dk
sip:he**********@slog.dk
-=> Sebastian cover-music: http://ungdomshus.nu <=-
Mar 23 '06 #2

<Wa********@gmail.com> wrote in message
news:11*********************@i39g2000cwa.googlegro ups.com...
is there any setting options ?

because your app is single thread app and can use only 1 CPU (1/4 = 0.25)
???
Mar 23 '06 #3

<Wa********@gmail.com> wrote in message
news:11*********************@i39g2000cwa.googlegro ups.com...
| is there any setting options ?
|

It highly depends what your application is doing, if it only runs a single
active thread it will only use a single (and the same) CPU. Note that a quad
CPU box is more likely used as a server machine, that means that it will run
multi-threaded application services that will take advantage of the
available CPU's.

Willy.
Mar 23 '06 #4

"Willy Denoyette [MVP]" <wi*************@telenet.be> wrote in message
news:%2***************@TK2MSFTNGP09.phx.gbl...

<Wa********@gmail.com> wrote in message
news:11*********************@i39g2000cwa.googlegro ups.com...
| is there any setting options ?
|

It highly depends what your application is doing, if it only runs a single
active thread it will only use a single (and the same) CPU. Note that a
quad
CPU box is more likely used as a server machine, that means that it will
run
multi-threaded application services that will take advantage of the
available CPU's.

Willy.


Very few apps are CPU bound and those that are should probably not be
written in .NET. For the most part .NET apps use threads to avoid blocking
on I/O therefore I would not expect to see multiple CPUs used.
Mar 24 '06 #5

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

Similar topics

1
by: Canneloni | last post by:
Xeon hyperthreaded CPUs show up as two CPUs in the cpuinfo file. So a dual Xeon machine appears as a quad processor. In Windows, it's the same thing. A dual Xeon will have 4 CPU charts...
2
by: Viviana Vc | last post by:
Hi all, I have a computer with 2 CPUs where I have to build a big project. I am using WinXP and MS Visual Stuio .NET (VC++ 7.1). When I'm building the project one of the CPU is completely taken,...
1
by: AWHK | last post by:
I got 4 virtual CPUs on my computer (xeon processor) and I got this .NET application that runs a lengthy processor intensive task. I have noticed when I start two instances of the application (each...
1
by: RP | last post by:
Hi all, where can I find some docs on tuning asp.net 1.1 for HT CPUs? We just upgraded our server to a single HT CPU and it appears that the OS still reports 2 CPUs? TIA!
3
by: adsheehan | last post by:
I have been reading many of the posting on the GIL and impact on threading etc. I have found is confusing and would welcome some clarity on this. I understand that embedding the interpreter in a...
4
by: Klaas Vantournhout | last post by:
Hi, I am currently using OpenMP (gcc 4.2.0) to do parallel computing on a computer with a certain amount of cpu's. I need the total number of cpu's as a variable in my code. So I was...
4
by: Rob R. Ainscough | last post by:
Seriously, could VS 2005 be any slower? I've got 4GB RAM, dual core AMD CPU FX60, two 10K rpm SATA drives, and 7800GTX video card and VS 2005 is still horribly SLOW!! It is the most frustrating...
1
by: rcamarda | last post by:
I have been unsuccessful locating information about the maximum number of CPU's SQL Server 2005 Enterprise supports. However I did find info in a document about configuring a fail over cluster...
2
by: alwaali | last post by:
Hi I need help please This is my project and i need a help to solve it with you A page of text is to be read and analyzed to determine number of occurrences and locations of different words. The...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

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.