EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

2002  2003  2004  <20052006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 2002  2003  2004  <20052006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: RE: R3.14.8 testing
From: "Jeff Hill" <[email protected]>
To: "'Marty Kraimer'" <[email protected]>, <[email protected]>
Date: Tue, 8 Nov 2005 16:54:53 -0700
> Note that this is a 68040 cpu, i.e. it is slow

Its not easy to test 68k here. 

Nevertheless, these particular spy results are surely server side code 
driven and AFAIKT the server hasn't changed in any way that would 
impact efficency between R3.14.7 and R3.14.8.

Nevertheless, I have commited a slightly better Mantis 111 fix to
the client side, but again I'm not expecting that this would have much 
impact on server side CPU consumption.

> When I run the mrkSoftTest/caApp test on vxWorks I get
> 
> 1) neither testcaput or testcaget completes all their connections
> 2) spy shows
> 
> CAS-client                8d4d5c  179    90% (    9014)   88% 
> (     651)

I ran this:

~/epicsR3.14/epics/mrkSoftTest/caApp$ jobs
[3]   Running                 ../bin/linux-x86/testcaput 5000 5 &
[4]   Running                 ../bin/linux-x86/testcaput 5000 5 &
[6]   Running                 ../bin/linux-x86/testcaput 5000 5 &
[7]-  Running                 ../bin/linux-x86/testcaput 5000 5 &
[8]+  Running                 ../bin/linux-x86/testcaput 5000 5 &
~/epicsR3.14/epics/mrkSoftTest/caApp$
~/epicsR3.14/epics/mrkSoftTest/caApp$
~/epicsR3.14/epics/mrkSoftTest/caApp$ ../bin/linux-x86/testcaget 5000 1
stateChanges 04200 time 2005/11/08 16:41:38.769362
readAccess 04200 writeAccess 04200 time 2005/11/08 16:41:38.769362
notConnected 00800 time 2005/11/08 16:41:38.769362
stateChanges 00800 time 2005/11/08 16:41:39.779527
readAccess 05000 writeAccess 05000 time 2005/11/08 16:41:39.779527
notConnected 00000 time 2005/11/08 16:41:39.779527

And I see this:

iocca> spyReport

NAME          ENTRY         TID   PRI   total % (ticks)  delta % (ticks)
--------     --------      -----  ---   ---------------  ---------------
tExcTask     excTask     1dfe740    0     0% (       0)    0% (       0)
tLogTask     logTask     1dfbdb8    0     0% (       0)    0% (       0)
tShell       shell       13dbb98    1     0% (      32)    0% (      12)
tNetTask     netTask     1bb9990   50     1% (     269)    1% (      21)
tPortmapd    portmapd    1b88cd8  100     0% (       0)    0% (       0)
syncNTP                  1b35080  109     0% (       0)    0% (       0)
cbHigh                   1b3a928  128     0% (       0)    0% (       0)
timerQueue               1b4e8e0  129     0% (       0)    0% (       0)
scanOnce                 154a348  129     0% (       0)    0% (       0)
scan0.1                  15237b0  133     0% (       1)    0% (       0)
scan0.2                  1528fb8  134     0% (       0)    0% (       0)
cbMedium                 1b420c0  135     0% (       0)    0% (       0)
scan0.5                  152e7c0  135     0% (       0)    0% (       0)
scan1                    1533fc8  136     0% (       0)    0% (       0)
scan2                    15397d0  137     0% (       0)    0% (       0)
scan5                    153efd8  138     0% (       0)    0% (       0)
scan10                   15447e0  139     0% (       0)    0% (       0)
cbLow                    1b49858  140     0% (       0)    0% (       0)
dbCaLink                 1661040  149     0% (       0)    0% (       0)
poolPoll                 1b7e3c8  149     0% (       0)    0% (       0)
CAS-client               14988f8  179     4% (    1188)    5% (     106)
CAS-client               12b4fb8  179     1% (     511)    4% (      83)
CAS-client               122ee38  179     1% (     449)    4% (      76)
CAS-client               11ae4c0  179     1% (     424)    4% (      76)
CAS-client               1137b50  179     1% (     382)    4% (      74)
CAS-client               10ba2d0  179     0% (      77)    0% (       0)
CAS-event                149b9f0  180     0% (       0)    0% (       0)
CAS-event                14bf348  180     0% (       0)    0% (       0)
CAS-event                12af7b0  180     0% (       0)    0% (       0)
CAS-event                11b15b8  180     0% (       0)    0% (       0)
CAS-event                113ac48  180     0% (       0)    0% (       0)
CAS-event                12344d8  180     2% (     545)   10% (     193)
CAS-TCP                  151d7f8  181     0% (       0)    0% (       0)
CAS-beacon               1b83618  182     0% (       0)    0% (       0)
CAS-UDP                  1b814c0  183     0% (      96)    0% (       0)
errlog                   1b52fe0  189     0% (       0)    0% (       0)
taskwd                   1b50d70  189     0% (       0)    0% (       0)
cpuUsageTask             1b75c68  255    20% (    5331)   17% (     303)
KERNEL                                    0% (      51)    0% (       6)
INTERRUPT                                 0% (      70)    0% (      17)
IDLE                                     61% (   16309)   45% (     800)
TOTAL                                    92% (   26550)   94% (    1767)

> > ../online_notify.c: CA beacon socket disconnect error was
> > "S_errno_EADDRNOTAVAIL"

As mentioned earlier, this has been fixed.

Jeff


> -----Original Message-----
> From: Marty Kraimer [mailto:[email protected]] 
> Sent: Friday, November 04, 2005 6:24 AM
> To: [email protected]; Jeff Hill
> Subject: Re: R3.14.8 testing
> 
> 
> More news.
> 
> When I run the mrkSoftTest/caApp test on vxWorks I get
> 
> 1) neither testcaput or testcaget completes all their connections
> 2) spy shows
> 
> CAS-client                8d4d5c  179    90% (    9014)   88% 
> (     651)
> 
> 
> Note that this is a 68040 cpu, i.e. it is slow
> 
> This does not happen on either solaris or linux.
> 
> Marty Kraimer wrote:
> 
> > I did a CVS update and complete rebuild
> >
> > On vxWorks and solaris I  get
> >
> > ../online_notify.c: CA beacon socket disconnect error was
> > "S_errno_EADDRNOTAVAIL"
> > ../online_notify.c: CA beacon socket disconnect error was 
> > "S_errno_EADDRNOTAVAIL"
> > ../online_notify.c: CA beacon socket disconnect error was 
> > "S_errno_EADDRNOTAVAIL"
> > ../online_notify.c: CA beacon socket disconnect error was 
> > "S_errno_EADDRNOTAVAIL"
> > ../online_notify.c: CA beacon socket disconnect error was 
> > "S_errno_EADDRNOTAVAIL"
> >
> > I do not get this on linux.
> >
> 


References:
Re: R3.14.8 testing Marty Kraimer

Navigate by Date:
Prev: RE: R3.14.8 testing Ernest L. Williams Jr.
Next: Re: 3.14.8: blockingSockTest - assert() fails. Ralph Lange
Index: 2002  2003  2004  <20052006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: R3.14.8 testing Marty Kraimer
Next: Re: R3.14.8 testing Ernest L. Williams Jr.
Index: 2002  2003  2004  <20052006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 02 Feb 2012 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·