473,473 Members | 1,918 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Sudden increase in processor load

I have a problem with processor load in the enviroment where I'm running the
firts installation of my new application.

My program is running on a Pentium 4 3.0 GHz, wtih 1 GB DDR SDRAM and 80 GB
harddrive. The operating system is Win XP professional and I have no other
programs installed on this box.

My program is communicating with other devices using two network cards. The
communication is time critical in a sence that the messages from one devices
are used in the treatement of incoming messages from other devices. If my
application has not received the messages in the correct order they are sent
or not at all there is an error.

My application completes about 15000 communication cycles (between the
devices) every day and in about 5-10 thare are problems. The problem is that
for some reason the receiving of messages is halted for a period of about 1
second and this cause problems in my app.

I've been using a performance counter measuring the total % Processor time
for my processor twise every second and I can see that the % processor time
is steadily running at about 20-50 % during most of the day but for some
reason it sometimes (about 10 samples) peak up to 100 %. These peaks seems to
cause the problem where I don't receive any messages. I can't explain these
peaks with anything that is going on in my application.

What could be causing these sudden peaks in processor load?

Could it help to increase the priority of my process? (Using
Process.PriorityClass) My application is the olny one running on this
computer.

Any ideas how to debug this. The computer is accessed remotely using Windows
Remote Desktop. And I cannot be connected to it while it's running.

Any suggestions would be appreciated

Best Regards

Henrik
Jul 3 '06 #1
1 2029
Hi Henrik,

For this issue, we can consider it as a Busy Hang which is 100% CPU issue.
Please take a look at the link below.(Hang section)
Commonly it is caused by a loop.
http://msdn.microsoft.com/library/de...us/dnvs600/htm
l/debugging.asp

Here are some KBs for your reference.

258833 How To Troubleshoot High CPU Utilization of an MTS or COM+ Process
http://support.microsoft.com/default...b;EN-US;258833

919791 How to use the Debug Diagnostics Tool to troubleshoot high CPU usage
by a process in IIS
http://support.microsoft.com/default...b;EN-US;919791

Also with a problem as complex as this may need to create dump and do low
level debugging and dump analysis. If the issue is urgent, you may want to
work with Microsoft Customer Service and Support (CSS) for a faster
resolution. Once you open a Support incident with Microsoft CSS, a
dedicated Support Professional can work with you in a more efficient manner.
http://support.microsoft.com

Best regards,

Peter Huang

Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

Jul 4 '06 #2

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

Similar topics

0
by: tony barratt | last post by:
Hello, I am working on a python app which does quite a lot of database manipulation via berkeley db. An increase in performance would be welcome, although ait is pretty quick it just has a lot...
2
by: Alan Hewat | last post by:
I have a relatively modest mySQL database with a PHP interface (70,000 entries). On a standard Dell Dimension 4400 (1.9 GHz with 512 Mbytes) running Suse 8.1 a typical query takes 0.66 sec with no...
2
by: Andy Norman | last post by:
I have a strange problem. When I try to call the input property of the MSXML processor object from VBScript in an ASPX page I get the error "Member not found". The same code (with a few "set"...
3
by: gary | last post by:
Hi, 1. About all C/C++ compilers, Does stack increase from high address to low address and heap grow increase from low to high? What on earth decides their increase direction, CPU architecture, OS...
5
by: Olaf Gschweng | last post by:
We're new into DB2 and have some problem with DB2 8.1 (?) on a Linux system. We load some big tables of a DB2 database from files every day. We do a "DELETE FROM table" for each table and then we...
4
by: kaiteriteri | last post by:
I have a time-consuming VB.net application that i'd like to thread over 2 processors (that's all i've got in my machine!) and, hopefully, get it done in half the time. On running, the application...
5
by: ipy2006 | last post by:
Hi All: In the table XYZ.ORD_DTL the column PDT_DESC is CHAR(35). I want to increase it to CHAR(100). However, I am getting the following error. Please help! db2 =alter table XYZ.ORD_DTL alter...
0
by: bg_ie | last post by:
Hi all, I'm writing a .net Com object to read messages from an external bus. Also, under certain situations, I output messages to the bus in order to generate bus load, for testing purposes. An...
16
by: Mikhail Kovalev | last post by:
Was reading an article the other day (now offline for some reason) which included some "new lines of code"-statistics, this is different, but shows the same trend: ...
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
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...
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,...
0
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
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...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
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...

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.