Error » Microsoft Error! » Microsoft Operating Systems Error » Microsoft windows 2003 error » Choosing Whether to Run Performance Monitor Locally or Remotely

Microsoft windows 2003 error all error and bugs related to microsoft windows 2003 error

Post New Thread Reply
  Choosing Whether to Run Performance Monitor Locally or Remotely
LinkBack Thread Tools Display Modes
Old 27-Dec-2006, 11:25 PM   #1 (permalink)
Administrator
 
Anilrgowda's Avatar

Posts: 18,715
Join Date: Jan 2006
Rep Power: 10 Anilrgowda is on a distinguished road

IM:
Default Choosing Whether to Run Performance Monitor Locally or Remotely

I have noticed lately that there seems to be a rather heated debate on various Web sites as to whether it is more appropriate to run the Windows Performance Monitor locally or remotely. There are good arguments on both sides of the issue, so I decided to put it to the test. In this article, I will attempt to answer the age old question of whether you should be running the Performance Monitor locally or remotely.

While I was preparing to write this article, my mind drifted to one of my college physics classes. During one particular lecture, the professor was explaining that absolute zero was the temperature at which there was absolutely no heat left in an object. Someone in the class asked if anything exists that is actually that cold. The professor explained that scientists had come close to producing absolute zero temperatures, but that actually achieving absolute zero was impossible. The reason that he gave was because there is heat in the mechanism that’s being used to measure the object’s temperature. He went on to explain that one of the fundamental laws of physics is that you can’t measure an object (temperature or otherwise) without effecting the object to at least some small degree.
The reason that I bring that up is because I have noticed lately that there seems to be a rather heated debate on various Web sites as to whether it is more appropriate to run the Windows Performance Monitor locally or remotely. There are good arguments on both sides of the issue, but the reason for the debate has to do with the little physics lesson that I just gave you. The Performance Monitor is designed to measure what’s going on inside of a computer. As the laws of physics dictate, you can not measure your computer’s performance without affecting it to some degree.
Both sides of the local / remote debate agree that the Performance Monitor’s results are skewed. The debate centers not around preventing the skewing, but rather on whether the results are less skewed when you run the Performance Monitor locally or remotely.
Before I Begin

Personally, I think that it would be short sighted for me to tell you that you should always run the Performance Monitor locally, or that you should always run it remotely. The reason why I say this is that the Performance Monitor is a complex tool that can do a lot of different jobs. Rather than me telling you to always run Performance Monitor locally or to always run Performance Monitor remotely, I think that it makes more sense to look at the debate at the task level rather than at the tool level. Of course, the Performance Monitor includes hundreds, if not thousands of counters. There is no way that I can write about all of them. I will therefore focus my attention on some of the more common performance monitoring tasks. The sections below focus on specific aspects of monitoring a system’s performance.
CPU Monitoring

One of the most common Performance Monitoring tasks involves watching the computer’s CPU utilization. As you probably know, Windows sees each application or service as an independent process. Each process is made up of one or more threads. The threads are what the computer’s CPU actually executes.
If you stop and think about it, the Performance Monitor is an application. Like any other application, it must execute threads when it runs. Like it or not, drawing all of those cool graphs consumes some processing power, which makes it look like the CPU is working harder than it really is.
As I said in the beginning though, nobody debates the fact that the Performance Monitor produces skewed results. The question is are the results more accurate when you run the Performance Monitor locally or remotely. Going into this article, I suspected that the results were probably more accurate when you run the Performance Monitor remotely, because you are not consuming CPU cycles by drawing Performance Monitor charts. Rather than just telling you to run the Performance Monitor remotely when measuring CPU utilization though, I decided to put it to the test.
I decided to run the Performance Monitor for one minute and forty seconds against one of my servers. I performed the tests during a period of minimal activity at 10:30 on a Sunday night. Figure A shows the outcome of the test when it was run locally. Figure B shows the outcome of the same test run remotely.

Figure A: This was a CPU utilization test that was run locally

Figure B: This is the outcome when the CPU utilization test was run remotely
Granted, this test isn’t exactly scientific, because to gain truly accurate results, the test would have to be run over a long duration. Over the testing period though, both tests produced roughly the same number of spikes in activity. However, the spikes were a lot lower when the tests were run remotely. As such, the average CPU utilization was also lower. After seeing this, I tend to agree with my prediction that CPU utilization tests are probably more accurate when run remotely.
Disk Monitoring

There are a whole lot of counters that can be used to measure hard disk utilization. I decided to use the %Disk Time counter for this test since it reflects the amount of time that the hard disk actually has to work. Going in my theory was that whether you run the Performance Monitor locally or remotely, probably doesn’t make much difference since the Performance Monitor doesn’t actually save data when you are passively monitoring disk usage.
I tested the hard disk activity in roughly the same way as I tested CPU usage. The tests were performed during a period of minimal activity, late at night. Figure C shows the results when the test was run locally. Figure D shows the results when the test was run remotely.

Figure C: This is the %Disk Time counter when run locally

Figure D: This is the %Disk Time counter when monitored remotely.
In the end, there were a couple of good spikes of disk activity when the test was run remotely, but I don’t think that the spikes were related to the Performance Monitor being run remotely. There was way too much time when the percentage of disk utilization was zero for me to believe that running the test remotely really makes a difference. Of course the only way to be sure would be to run the test over a long duration under controlled conditions.
Memory Monitoring

When testing the system’s memory, I was initially inclined to look at the Pages / Sec counter. This counter monitors the frequency at which memory pages are read from or written to disk. However, the last test showed that there wasn’t much disk activity going on. I therefore decided to monitor the available bytes of memory instead.
Normally, the available bytes should remain fairly constant unless you are running a memory hungry application or you are opening or closing applications. Going in, my expectations were that there would be slightly less memory available when the test is run locally since the Performance Monitor application requires some memory. Figure E shows the test results when the test was run locally, and Figure F shows the results when the test was run remotely.

Figure E: This is the Available Bytes of memory as shown by the Performance Monitor when running locally

Figure F: This is the Available Bytes of memory as shown by the Performance Monitor when running remotely
When I actually ran the tests, the results were exactly what I expected. More memory is available to the system when you run the Performance Monitor remotely.
Network Usage Monitoring

The last test that I decided to perform was to see if there was a difference in the way that Performance Monitor reported network traffic usage based on whether Performance Monitor was being run locally or remotely. Going in, I am assuming that the Performance Monitor will show way more network traffic when run remotely. For the tests, I will be measuring the Network Interface performance object’s Bytes Total/Sec counter. The results are shown in Figures G and H.

Figure G: This is the server’s total volume of network traffic as reported with the Performance Monitor running locally

Figure H: This is the server’s total volume of network traffic as reported with the Performance Monitor running remotely
If you look at the graphs shown in Figures G and H, it would at first appear as though both test measured an identical amount of network traffic. However, if you look at the average, minimum, and maximum values, you can see that there was significantly more traffic when the test was run remotely.
Conclusion

The Performance Monitor isn’t perfect. Whether you choose to run the Performance Monitor locally or remotely, the results are going to be skewed to some degree. In my opinion though, the skewed results are usually not a big deal unless you are working on something that requires a high degree of precision. The reason why I say this is because your copy of Performance monitor produces results that are just as valid as anyone else’s. We are all working with the same limitations. Therefore, when you see documentation from Microsoft that tells you to look for specific Performance Monitor counter values to tell whether that aspect of the system is operating normally or not, you have to remember that Microsoft’s testing results are just as skewed as yours are. My point is that it really doesn’t even matter if the results are skewed, so long as everyone’s results are skewed in roughly the same way. Granted, everyone’s computers are configured differently, so not everyone’s Performance Monitor results are going to be skewed by exactly the same amounts, but that’s kind of what Performance Monitoring is all about; finding which values are normal for your system and at what threshold the counters represent a problem.
If I was pressed to make a recommendation though, I would suggest running the Performance Monitor remotely for measuring CPU, hard disk, and memory usage. However, I would recommend running the Performance Monitor locally if you are measuring anything network related.
Anilrgowda is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!
Reply With Quote
   


   
Post New Thread Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Check your system health with the Reliability and Performance Monitor Anilrgowda Microsoft windows vista error 0 18-Jul-2007 12:04 AM
Connect remotely to Windows 2003 servers to monitor performance. Anilrgowda Microsoft windows vista error 1 10-Jul-2007 12:16 AM
Connect remotely to Windows 2003 servers to monitor performance. Anilrgowda Microsoft windows vista error 1 10-Jul-2007 12:04 AM
Why Can't I log on locally? Anilrgowda Microsoft windows 2003 error 1 05-Jun-2007 03:23 AM
Key Performance Monitor Counters Anilrgowda Microsoft windows 2003 error 0 27-Dec-2006 11:49 PM


All times are GMT -8. The time now is 02:18 PM.

Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0

DMCA Policy

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228