maciakl / perfmong

Automatically exported from code.google.com/p/perfmong
0 stars 0 forks source link

Dual CPU Monitoring #7

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Monitoring for dual CPU machines or generally SMP's with more than 1 CPU.

1. detect total number of processors
2. grab readings for additional CPU's during each update
3. modify GUI to display the info for multiple CPU's

Proposed GUI Strategies:

1. simply display CPU value as a composite of several values - for example
show something like: 30/25/10% for 3 CPU machine. We will then need to
check all the CPU's and only change the color of the text when all of them
are above or below the thresholds.

2. add new labels, and update them individually. Labels may need to be
added dynamically when the program loads. Alternatively, number of CPU's
may be stored in the config file.

Please note that I currently do not own a dual CPU machine so there is no
way I can test this feature or implement it on my own. 

Original issue reported on code.google.com by maci...@gmail.com on 22 Jun 2007 at 11:20

GoogleCodeExporter commented 9 years ago

Original comment by maci...@gmail.com on 22 Jun 2007 at 11:21

GoogleCodeExporter commented 9 years ago
i have 3 dual machines at work i can test with. BTW this comment box on 
code.google.com has a bug, hit bcakspace when typing, it removes 2 chars ata a 
time, 
and makes typing coherant sentences quite a b%^^h!
LOL
mcm

Original comment by mckinnon...@gmail.com on 22 Jun 2007 at 11:36

GoogleCodeExporter commented 9 years ago
Thanks.

Btw, the box works fine for me in Firefox 2.0.0.4 - what do you use?

Original comment by maci...@gmail.com on 23 Jun 2007 at 12:24

GoogleCodeExporter commented 9 years ago
Fixed in 0.2.5 - thanks for all the help

Original comment by maci...@gmail.com on 26 Jun 2007 at 5:14

GoogleCodeExporter commented 9 years ago
Oops... This was not fixed yet. Sorry. Re-setting it to Accepted.

Original comment by maci...@gmail.com on 26 Jun 2007 at 5:16

GoogleCodeExporter commented 9 years ago
Assigning this issue to mike. I have no dual CPU machine available for testing.

Original comment by maci...@gmail.com on 12 Jul 2007 at 3:37

GoogleCodeExporter commented 9 years ago
i will look into this (hopefully) in the next week or so.  i have so many 
projects 
on the go right now at work i have to get out! Yay 60 hour weeks. 

Original comment by mustcode...@gmail.com on 13 Jul 2007 at 3:58

GoogleCodeExporter commented 9 years ago
No worries. There is no pressure. I assigned it to you because you have the 
hardware
to test it. Whenever it gets done, it gets done. And if we never get it working,
that's fine too. :)

Original comment by maci...@gmail.com on 13 Jul 2007 at 4:47

GoogleCodeExporter commented 9 years ago
this task has been started and i would estimate its about 70% done.  I just 
have to 
modify it slightly to allow for (n) processors (its just hardwired for 2 to 
test the 
concept). 

Original comment by mustcode...@gmail.com on 17 Jul 2007 at 5:22

GoogleCodeExporter commented 9 years ago
Awesome! I changed the status to "started". This is great.

Original comment by maci...@gmail.com on 17 Jul 2007 at 5:30

GoogleCodeExporter commented 9 years ago
attached is a .swf file that shows you how the ui will work.  there will be 
more 
labels however and the original CPU label will show total processor while the 
popup 
will show each individual cpu.

Original comment by mustcode...@gmail.com on 17 Jul 2007 at 5:50

Attachments:

GoogleCodeExporter commented 9 years ago
Ah! Looks cool! It's just that the vid has a big square window in the foreground
saying "project created by Mike, Adobe Captivator" which covers most of the 
detail.
But from what I've seen it looks great.

Good job!

Original comment by maci...@gmail.com on 17 Jul 2007 at 6:03

GoogleCodeExporter commented 9 years ago
lol thats  dumb, if i knew that i wouldn't have used it!
anyways you get the point, just mouse over the cpu label and if you have 2 or 
more 
processors each one will appear above the previous one. 

Original comment by mustcode...@gmail.com on 17 Jul 2007 at 6:15

GoogleCodeExporter commented 9 years ago
im pretty much done this change now.  How should i commit the package, just svn 
commit? or should i do anything special? 

Original comment by mustcode...@gmail.com on 17 Jul 2007 at 6:31

GoogleCodeExporter commented 9 years ago
i just committed it via svn.  hope you can test it on a dual proc box its 
pretty 
fun. 

Original comment by mustcode...@gmail.com on 17 Jul 2007 at 6:39

GoogleCodeExporter commented 9 years ago
Thanks! Submitting to trunk is fine. :) I'll just make sure it still runs 
properly on
single CPU rig, and we can probably roll out a new minor release.

Original comment by maci...@gmail.com on 17 Jul 2007 at 6:52

GoogleCodeExporter commented 9 years ago
Btw, if you need a screencasting tool I think Wink does the trick:
http://www.debugmode.com/wink/

It's open source and free.

Original comment by maci...@gmail.com on 17 Jul 2007 at 3:01