View topic - performance analysis using spin

performance analysis using spin

Discussion about the general applications that run on QNX6

performance analysis using spin

Postby jba » Fri May 06, 2005 9:59 am

Hi,
we are currently using the tool "spin" (version 1.10) with QNX 6.2.1
on an x86 machine for a performance analysis. Unfortunately we get some unplausible results.
E.g. we get a CPU load of about 19000% when starting spin -c.
That seems to be a little bit too much, even though we know, that
our application can easily provoke a load of 100%. Is there a reason for
that enormous number. And possibly a way to reinterpret this result.

Thanks in advance
jba
jba
New Member
 
Posts: 4
Joined: Fri May 06, 2005 9:47 am

RE: performance analysis using spin

Postby noc » Fri May 06, 2005 5:26 pm

SPIN is not an official QNX product. I would suggest you take a look at the source code ...

See below discussion for SPIN source or you want to contact the author:

http://www.openqnx.com/PNphpBB2-viewtopic-t3247-.html
noc
Senior Member
 
Posts: 1634
Joined: Sat Jul 06, 2002 4:34 am

RE: performance analysis using spin

Postby Thunderblade » Mon May 30, 2005 10:31 am

Not sure if it is included with 6.2.1, but you should search for 'hogs'. It is more reliable than 'spin'.
Thunderblade
Senior Member
 
Posts: 489
Joined: Thu Apr 07, 2005 11:52 am

RE: performance analysis using spin

Postby kphoffmann » Wed Jun 08, 2005 10:49 am

I made some adaptions to the 1.10 version of 'spin', so that ist also runs under QNX6.3
(specially memory and NIC statistics), if someone's interested.

(Though: I didn't manage to contact Igor yet, to post the changes to him, but hopefully this will happen within the next few days).
kphoffmann
Active Member
 
Posts: 20
Joined: Wed Feb 26, 2003 6:47 am

Re: RE: performance analysis using spin

Postby rgallen » Wed Jun 08, 2005 4:17 pm

kphoffmann wrote:I made some adaptions to the 1.10 version of 'spin', so that ist also runs under QNX6.3
(specially memory and NIC statistics), if someone's interested.

(Though: I didn't manage to contact Igor yet, to post the changes to him, but hopefully this will happen within the next few days).


Yeah, I'm interested ! I started doing it a few weeks ago, but got pre-empted by something else, and then it slipped my mind...

Rennie
rgallen
QNX Master
 
Posts: 671
Joined: Thu Jul 11, 2002 6:48 pm

performance analysis using spin

Postby kphoffmann » Thu Aug 25, 2005 11:24 pm

I made some adaptions to the 1.10 version of Sorry for the late answer, I do not attend to this NG regularily (in fact I hate
HTML-based newsgroups :-) )

I actually made a V1.11 of 'spin' wich works quite well actually, which I'd like to make available for everyone in OpenQNX (if Igor doesn't oppose :-) ).

Does anybody know, how to do this?
kphoffmann
Active Member
 
Posts: 20
Joined: Wed Feb 26, 2003 6:47 am

RE: performance analysis using spin

Postby noc » Fri Aug 26, 2005 1:08 am

Where don't you attach it to your post so that everyone can "see" it.

Igor probably won't oppose. As a matter of fact, he's probably not even interested in QNX anymore.
noc
Senior Member
 
Posts: 1634
Joined: Sat Jul 06, 2002 4:34 am

Postby kphoffmann » Mon Aug 29, 2005 11:39 am

Ok, here's the V1.11 of spin.

All my changes are for Neutrino V6.3.0 and later only, so that this version should still run under QNX 6.2.

From the change note in spin.c:

Change log:
1.11 - Adaption to QNX6.3.0, June 8, 2005, by Karsten Hoffmann (kphoffmann@ish.de),
- New interface for NIC statistics again :-(
- Memory statistics interface changed as well.
- Date format changed to ISO-type


P.S.: Does anybody know, why this BBS complains about *.tgz' attachments, but it allows '*.tar.gz' files?! Wierd ...
Attachments
spin-1.11.tar.gz
spin version 1.11
(15.99 KiB) Downloaded 741 times
kphoffmann
Active Member
 
Posts: 20
Joined: Wed Feb 26, 2003 6:47 am

Postby Thunderblade » Mon Aug 29, 2005 12:49 pm

I find the QNX System Profiler the most reliable tool to measure performance, and I see who is running when.
Thunderblade
Senior Member
 
Posts: 489
Joined: Thu Apr 07, 2005 11:52 am


Return to QNX6 - Applications

Who is online

Users browsing this forum: No registered users and 0 guests

cron