473,838 Members | 1,637 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Performance monitoring

Hi

I would like some general pointers about monitoring some performance
parameters of an application we have written. For example: how many threads
it has currently running, how long the threads take, how much memory the
application is using, what percentage of cpu capacity the application is
using.

I assume a good idea would be to use a PermanceCounter (or several). I have
read a little about them on the web, but I've not really come very far yet.

Do PerformanceCoun ters for the abovementioned tasks exist, or do I need to
create a "custom" counter? How do I actually use the counter - does the
application being monitored need to instantiate and update the counters, or
can that happen automatically (without needing to alter the source code for
the application)? How do I present the counter information - do I use
"Perfmon"?

Thanks for any pointers,
Peter
Nov 17 '05 #1
2 3142
Performance counters are not the only things to measure performance, the are
different tools called profilers with the help of which you can measure
performance of your application and detect performance bottle necks.

Here are some free ones.
You can use CLR Profiler (
http://www.microsoft.com/downloads/d...displaylang=en )
or DevPartner Profiler (
http://www.compuware.com/products/de...evPartner&sf=1 )
- needs free registration

--
Vadym Stetsyak aka Vadmyst
"Peter Kirk" <pk@alpha-solutions.dk> wrote in message
news:#S******** ******@TK2MSFTN GP09.phx.gbl...
Hi

I would like some general pointers about monitoring some performance
parameters of an application we have written. For example: how many threads it has currently running, how long the threads take, how much memory the
application is using, what percentage of cpu capacity the application is
using.

I assume a good idea would be to use a PermanceCounter (or several). I have read a little about them on the web, but I've not really come very far yet.
Do PerformanceCoun ters for the abovementioned tasks exist, or do I need to
create a "custom" counter? How do I actually use the counter - does the
application being monitored need to instantiate and update the counters, or can that happen automatically (without needing to alter the source code for the application)? How do I present the counter information - do I use
"Perfmon"?

Thanks for any pointers,
Peter

Nov 17 '05 #2
"Vadym Stetsyak" <va*****@ukr.ne t> skrev i en meddelelse
news:e%******** **********@TK2M SFTNGP14.phx.gb l...
Performance counters are not the only things to measure performance, the
are
different tools called profilers with the help of which you can measure
performance of your application and detect performance bottle necks.

Here are some free ones.
You can use CLR Profiler (
http://www.microsoft.com/downloads/d...displaylang=en )
or DevPartner Profiler (
http://www.compuware.com/products/de...evPartner&sf=1 )
- needs free registration


Thanks for the links. Turns out they were fine for our purpose - and we
could identify at least one place where our program has a bottleneck.

Peter
Nov 17 '05 #3

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

Similar topics

1
2881
by: Peter Ang | last post by:
I was wondering if the CPU is the bottleneck. Hence I used the Performance Monitor to look up some values. Here are the results. Counter Scale Average Maximum Minimum %Disk Time 1 2.74 24.932 0 Current Disk Queue Length 10 0.090 6 0 Buffer cache hit ratio 1 99.752 99.752 99.751
0
1282
by: Leo | last post by:
What tool exist in vb.net to do performance monitoring of a web site, like conters, logs and how to use them. Many thanks. Leo
1
395
by: Michael Riggio | last post by:
Hi, Does anyone know if there are any free performance monitoring tools similar to Intel VTune. I need to be able to see how long I spend in certain methods and how expensive some statements are. Thanks! -Mike
1
2448
by: Evan Smith | last post by:
My database is suffering from poor performance of late. Reports that used to run in a reasonable time, now take a while. The explain output show that the query is fully indexed, and the statistics are up to date. Using a statement monitor I was able to determine that a particular query took 545 seconds of real time to run, yet only 19 seconds of CPU. According to my system monitoring tools, I had plenty of idle CPU cycles and free memory...
2
1532
by: Jimmy | last post by:
Hi all I have tried this to enable asp.net performance monitoring but in step 3 I do not see the 'View Report'...? To view the available ASP.NET counters on a Windows XP computer with IIS installed 1.. From the Start button, click Run. 2.. Enter perfmon in the Open text box and then click OK. 3.. In PerfMon click View Report.
0
835
by: Sam Marrocco | last post by:
What are the exact requirements for remote performance monitoring from one XP workstation to another XP workstation? I'd like to keep a vb.net-based display of the CPU monitors of several machines available from a main machine. My code works fine, but I'm reading various requirements......C:/ drives must be shared, registry hives that must be shared....etc. Does anyone know the real minimum requirements? I'd like to do this without...
2
1450
by: Shawn B. | last post by:
Greetings, Lets say I have this class written in standard C++. I want to expose it to C# programs. So lets say I create a ref class to "wrap" around the standard C++ class. What are the performance implications of doing so? For the sake of clarity, the class is currently written in C#. It is a CPU emulator. C# performs well, but after rewriting it in C++/CLI it performs even better. But I'd like to rewrite it in standard C++ and...
5
2476
by: mjan | last post by:
Hello, could you please advice on how to measure replication performance in Oracle, DB2 & MS SQL Server RDBMS installed in Windows servers ? I've got two servers with databases installed and configured, I prepared set of data using DBGEN from TPC and I already imported them into databases.Also, I configured the replication. Now I have to do a test with a few kind of replications method implemented in these RDMBS, but I don't know which...
0
1411
by: RSL101 | last post by:
*This maybe dup msg. My earlier post never show up! I like to get your input regarding UDB performance monitoring. Our environment is IBM AIX and some linux running web applications open to US users via public internet. The product we are considering is Tivoli Monitor for Databases. What are your experience in using this product eg, installation,setup and delivery. We need it to
0
9854
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
10903
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
10584
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
10645
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
10290
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
9425
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...
0
7015
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();...
1
4482
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
3
3131
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.