473,799 Members | 3,422 Online
Bytes | Software Development & Data Engineering Community
+ 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.Priorit yClass) 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 2048
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
1046
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 to do. Currently it runs on RH 8.0, FC2 or 3 coming. And it is installed from an (rpm python-2.2.1-17). It runs on a dual processor xeon. My experience with X leads me to believe you can get a performance increase of 10-20% from compiling it.
2
3981
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 other system load (http://icsd.ill.fr/) On a new IBM dual processor XEON 2.4GHZ (1 GO RAM & 2 SCSI disks) running Suse 8.2 the same query (with no other system load) takes anywhere between 0.5 and 3.0 seconds - randomly variable response for...
2
1858
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" statements added) works find in ASP. What on earth is going on ? I can't find anything in the knowledge base on it.
3
5193
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 or compiler? 2. In GNU gcc, { int a = {0, 1, 2, 3, 4}; bool b; float c; for (int i = 0; i < 5; i++) {
5
4026
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 load the data by something like that: LOAD FROM "/pathto/artikel.data" OF DEL MODIFIED BY DATESISO CHARDEL0xbf SAVECOUNT 50000 MESSAGES "/pathto/artikel.msg" INSERT INTO artikel;
4
7021
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 should create a 2nd thread and run it on the other processor (processing a distinct set of data), leaving the current thread to run and process its set of data. But the 2nd thread must run on the free processor, otherwise there's no point... ...
5
19306
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 column PDT_DESC SET DATA TYPE CHAR(100) DB21034E The command was processed as an SQL statement because it was not a
0
1759
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 idea of my code is supplied below, and as you can see I use Stopwatch to generate an accurate timer. DoLoop is my timer callback and it is called with an interval of 20ms. When doing the bus load I need the timer to perform as well as possible,...
16
2225
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: http://www.simplyhired.com/a/jobtrends/trend/q-asp,+jsp,+php,+ruby,+python,+coldfusion,+perl http://www.indeed.com/jobtrends?q=perl%2Cpython%2Cphp%2Cruby What happened?
0
9544
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
10490
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10259
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
10238
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
10030
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9077
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
7570
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
5589
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4145
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 we have to send another system

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.