KS-Soft. Network Management Solutions
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister    ProfileProfile    Log inLog in 

% Processor Time on a Multi-Processor Machine

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    KS-Soft Forum Index -> HostMonitor
View previous topic :: View next topic  
Author Message
duck



Joined: 24 Oct 2002
Posts: 2

PostPosted: Thu Oct 31, 2002 2:59 pm    Post subject: Reply with quote

How do you calculate the % Processor Time on a Multi-Processor machine?

I have a Performance Counter Test that measures the % Processor Time for sqlservr. According to the Windows Performance Monitor the process is running about 140% (this is normal for some of our machines), but Host Monitor is only reporting 100%.

Is it possible that Host Monitor 3.40 is not calculating this correctly on a multi-processor machine?
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12795
Location: USA

PostPosted: Thu Oct 31, 2002 7:02 pm    Post subject: Reply with quote

H'm, Performance Counter test does not calculate anything, it just inquires Windows and displays result...

Regards
Alex
Back to top
View user's profile Send private message Visit poster's website
duck



Joined: 24 Oct 2002
Posts: 2

PostPosted: Fri Nov 08, 2002 12:40 pm    Post subject: Reply with quote

I still don't understand. This is a two processor box, so when Performance Monitor shows 150%, the task manager shows 75% for the sqlsrvr process. I wrote a VB Script to calculate the % Processor using Win32_PerfRawData_PerfProc_Process and I get the 150% in the Performance monitor. Could this be a future enhancement to calculate the a process PercentCPU according to http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wmisdk/wmi/win32_perfrawdata_perfproc_process.asp
Back to top
View user's profile Send private message
y.beyet



Joined: 16 Apr 2002
Posts: 62
Location: France

PostPosted: Thu Feb 13, 2003 8:07 am    Post subject: Reply with quote

Alex, Could you please report "bad status" instead of a value over 100%, the log analyser show so bad display when i have this problem...

[ This Message was edited by: y.beyet on 2003-02-13 07:07 ]
Back to top
View user's profile Send private message Visit poster's website
KS-Soft



Joined: 03 Apr 2002
Posts: 12795
Location: USA

PostPosted: Fri Feb 14, 2003 12:33 am    Post subject: Reply with quote

What do you mean "log analyser show so bad display"? Does it display something wrong? Or you just don't want to have report with values over 100%?

Regards
Alex
Back to top
View user's profile Send private message Visit poster's website
y.beyet



Joined: 16 Apr 2002
Posts: 62
Location: France

PostPosted: Fri Feb 14, 2003 6:35 am    Post subject: Reply with quote

I have sometimes results over 10000% on one server, you can imagine the result in the display with other values between 0 and 100%.

And yes, if value over 100% are wrong, they should not be displayed.

[ This Message was edited by: y.beyet on 2003-02-14 05:39 ]
Back to top
View user's profile Send private message Visit poster's website
KS-Soft



Joined: 03 Apr 2002
Posts: 12795
Location: USA

PostPosted: Fri Feb 14, 2003 12:09 pm    Post subject: Reply with quote

H'm.. Do you have single-processor or multi-processor system?

Regards
Alex
Back to top
View user's profile Send private message Visit poster's website
y.beyet



Joined: 16 Apr 2002
Posts: 62
Location: France

PostPosted: Mon Feb 17, 2003 2:05 am    Post subject: Reply with quote

multi-processor one under nt4.
Back to top
View user's profile Send private message Visit poster's website
KS-Soft



Joined: 03 Apr 2002
Posts: 12795
Location: USA

PostPosted: Tue Feb 18, 2003 12:18 am    Post subject: Reply with quote

Could you try to use CPU Usage test instead of Performance Counter? CPU Usage test acesses to the same performance data but it does not use pdh.dll. May be it will show another results?

Regards
Alex
Back to top
View user's profile Send private message Visit poster's website
y.beyet



Joined: 16 Apr 2002
Posts: 62
Location: France

PostPosted: Tue Feb 18, 2003 2:00 am    Post subject: Reply with quote

i use CPU usage test.
We have tried a lot of thing about that problem a few month ago...
I'am just searching a best issue for this problem

[ This Message was edited by: y.beyet on 2003-02-18 05:57 ]
Back to top
View user's profile Send private message Visit poster's website
hmo



Joined: 14 Feb 2003
Posts: 81
Location: Denmark

PostPosted: Tue Feb 18, 2003 3:46 pm    Post subject: Reply with quote

... just a short notice regarding this topic:

CPU monitoring by Performance Counter (mode: OneByOn) work on W2K and XP. You can even monitor single CPU- or 2,3 and 4 together!

On the other hand... the use of "CPU usage" directly does not show the "right" value in multiple CPU system (not here anyway).

Cheers,
Hans Mosegaard
Back to top
View user's profile Send private message Send e-mail Visit poster's website
KS-Soft



Joined: 03 Apr 2002
Posts: 12795
Location: USA

PostPosted: Wed Feb 19, 2003 6:21 pm    Post subject: Reply with quote

You will laugh, but we don't have any multi-processor system. Could you please start test program (available at http://www.ks-soft.net/download/cputest2.exe) and send screen shot to line2@ks-soft.net?

Regards
Alex
Back to top
View user's profile Send private message Visit poster's website
hmo



Joined: 14 Feb 2003
Posts: 81
Location: Denmark

PostPosted: Tue Feb 25, 2003 12:54 am    Post subject: Reply with quote

Sure!
A screendump is on the way through cyberspace!
Cheers,
Hans Mosegaard
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    KS-Soft Forum Index -> HostMonitor All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

KS-Soft Forum Index