Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  <19961997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  Index 1994  1995  <19961997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017 
<== Date ==> <== Thread ==>

Subject: Performance Comparison for mv167 and mv177
From: Johnny Tang <tang@cebaf.gov>
To: tech-talk@aps.anl.gov
Cc: tang@cebaf.gov
Date: Mon, 24 Jun 96 12:43:31 EDT
===========================================
This mail is made of the recycled electrons
===========================================
Mailer: Elm [revision: 70.85]


Results on Performance Measurements on mv167 (33MHZ) and mv177(50MHZ)
---------------------------------------------------------------------

I. EPICS Database for IOC Performance Measurement

   The testing epics database was designed by Marty Kraimer of
APS. In the database, there is one master fanout record which
forwards another 6 fanout records. Each of these six fanout 
records forwards to 5 calculation records. Each of these five
calc record forwards to a chain of 9 ai records as shown in
the following diagram.

   Mfanout -> Sfanout1 ---> calc1 --> ai1 -> ai2 -> ... -> ai9
           |             |
           -> Sfanout2   -> calc2
             .             .
             .             .
             .           -> calc5
             .
           -> Sfanout6 
   
II. Procedure of Measurements

   i. Step through the scan field of Mfanout: 
      1sec, .5sec, .2sec and .1sec

   ii. For each of above scan rates,
       start spy; 
       wait until cpu usage of the scanPeriod Task stablized;
       record cpu usage of the scanPeriod Task and cpu idle;
       stop the spy;

III. Results -- R3.12.2 epics

        mv167(33MHZ)              mv177(50MHZ)              mv177(50MHZ)
                                  with 68040 epics          with 68060 epics*
       ---------------------      ---------------------     ---------------------
       scanPeriod    CPU IDL      scanPeriod    CPU IDL     scanPeriod    CPU IDL
       CPU usage                  CPU usage                 CPU usage
                                     
1  sec     2%          90%            1%           90%          1%          90%
.5 sec     6%          84%            2%           89%          2%          90%
.2 sec    14%          56%            7%           79%          7%          80%
.1 sec    29%          35%           13%           66%         13%          66%
        (event lost)

* epics base compiled with -DCPU=MC68060 which affects the vxWorks kernel 

VI. Conclusions

    1. For about 300 epics records, mv177(50Mhz) is 2 times faster
       than mv167(33Mhz) at the epics records running 1Hz and 5Hz scan rates; 
       About 2.5 times faster at the epics records running 10Hz;
       3 times faster at the epics records running 2Hz.

    2. The event lost happens when 300 epics records running at the
       scan rate 10Hz on mv167(33Mhz).

    3. The performances are almost identical between epics 68040 executable and
       epics 68060 executable running on mv177.
       
    
--
=============================================================
Johnny Tang     Voice: (804)249-7239  E-Mail: tang@cebaf.gov
Continuous Electron Beam Accelerator Facility
12000 Jefferson Avenue, MS 85A
Newport News, Virginia 23606
=============================================================


Navigate by Date:
Prev: What's the Password? Mark M . Ito
Next: Re: What's the Password? Bakul Banerjee
Index: 1994  1995  <19961997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017 
Navigate by Thread:
Prev: Re: What's the Password? Bakul Banerjee
Next: Medm help Vladimir T. Romanovski
Index: 1994  1995  <19961997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017 
ANJ, 10 Aug 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·