EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  <19992000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  <19992000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Slow booting ioc
From: "Garrett D. Rinehart" <[email protected]>
To: [email protected]
Cc: [email protected]
Date: Thu, 21 Jan 1999 11:15:21 -0600 (CST)
> X-Accept-Language: en
> MIME-Version: 1.0
> To: "Garrett D. Rinehart" <[email protected]>
> CC: [email protected]
> Subject: Re: Slow booting ioc
> Content-Transfer-Encoding: 7bit
> 
> "Garrett D. Rinehart" wrote:
> > 
> > My iocs all take much, much longer to boot under 3.13.0b11 than they did
> > under 3.12.1. Is there a reason for this?
> > 
> > -- Garrett Rinehart
> >    Intense Pulsed Neutron Source
> >    Argonne National Laboratory
> 
> 
> What does much much longer mean?
> Which parts of the boot process takes longer?
> 
> Marty Kraimer

Sorry, I should have given more detail in the first place. I was just hoping someone would 
say, "such-and-such is always the problem."

Here's the boot as seen from the shell. I've added comments (prefaced by "***") as to 
where the problems exist.

boot device          : ei
processor number     : 0 
.
.
.
flags (f)            : 0x0 
startup script (s)   : st.cmd

Attaching network interface ei0... done.
Loading... 437992 + 50684 + 27258

*** Here between the "437992" and the "+ 50684" there is a delay of one minute, sometimes 
more. Booting from my 3.12.1 host, this line is virtually seamless.

Starting at 0x1000...

Target Name: vxTarget 
Attaching network interface ei0... done.
Attaching network interface lo0... done.
Loading symbol table from
oak:/home/oak/RINEHART/EPICS_3.13.0b11/iocBoot/iocPTS/vxWorks.sym ...done
 
*** Another delay of 30 seconds to one minute which used to only be a few seconds.

 ]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]
 ]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]
 ]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]
      ]]]]]]]]]]]  ]]]]     ]]]]]]]]]]       ]]              ]]]]         (R)
 ]     ]]]]]]]]]  ]]]]]]     ]]]]]]]]       ]]               ]]]]            
 ]]     ]]]]]]]  ]]]]]]]]     ]]]]]] ]     ]]                ]]]]            
 ]]]     ]]]]] ]    ]]]  ]     ]]]] ]]]   ]]]]]]]]]  ]]]] ]] ]]]]  ]]   ]]]]]
 ]]]]     ]]]  ]]    ]  ]]]     ]] ]]]]] ]]]]]]   ]] ]]]]]]] ]]]] ]]   ]]]]  
 ]]]]]     ]  ]]]]     ]]]]]      ]]]]]]]] ]]]]   ]] ]]]]    ]]]]]]]    ]]]] 
 ]]]]]]      ]]]]]     ]]]]]]    ]  ]]]]]  ]]]]   ]] ]]]]    ]]]]]]]]    ]]]]
 ]]]]]]]    ]]]]]  ]    ]]]]]]  ]    ]]]   ]]]]   ]] ]]]]    ]]]] ]]]]    ]]]]
 ]]]]]]]]  ]]]]]  ]]]    ]]]]]]]      ]     ]]]]]]]  ]]]]    ]]]]  ]]]] ]]]]]
 ]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]
 ]]]]]]]]]]]]]]]]]]]]]]]]]]]]]       Development System
 ]]]]]]]]]]]]]]]]]]]]]]]]]]]]
 ]]]]]]]]]]]]]]]]]]]]]]]]]]]       VxWorks version 5.2
 ]]]]]]]]]]]]]]]]]]]]]]]]]]       KERNEL: WIND version 2.4
 ]]]]]]]]]]]]]]]]]]]]]]]]]       Copyright Wind River Systems, Inc., 1984-1995

                               CPU: Motorola MVME167.  Processor #0.
                              Memory Size: 0x800000.  BSP version 1.0.


ioc_startup: tRdbTask (vxgdb) ID=  7b49dc 
Executing startup script st.cmd ...
# VxWorks startup file for iocPTS

ld < bin/iocCore
*** Another 30 seconds... seems slow, but I never timed this part before.
value = 8013836 = 0x7a480c

ld < bin/PTSsystemLib
*** Another 10-30 seconds... seems slow, but I never timed this part before.
value = 7879400 = 0x783ae8

# Databases
dbLoadDatabase("dbd/PTSsystemApp.dbd")
value = 0 = 0x0

# Record instances
dbLoadRecords "../../PTSsystemApp/Db/ASD.database"
value = 0 = 0x0

*** The dbLoadDatabase and dbLoadRecords seem a bit slow, but its probably just because 
I'm usually minutes into the reboot by the time it gets here and it looks like it'll never 
end. Assuming the later, we'll call this section "normal". 

After iocInit, I have it load some corrections that are of the form:
< Fixes
where Fixes is a file containing 'dbpf "record.field","value"' statements. I've noticed 
delays of several seconds between that load command ("< Fixes") and the actual reading of 
the commands in the file. This also never used to be the case.

On average, I'd say my ioc boot time has doubled. It used to take 2-1/2 minutes. Now it 
rarely is to the point of loading records by that time.

By the way, my ioc is an mv167, my old host is a Sparc10 with some old SunOS and the new 
host is an Ultra-2 with Solaris 2.6. I was running EPICS_3.12.1 and now I'm running 
3.13.0b11.

-- Garrett


Navigate by Date:
Prev: Re: X-terminals & EPICS security Ralph Lange
Next: RE: X-terminals & EPICS security Jeff Hill
Index: 1994  1995  1996  1997  1998  <19992000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Slow booting ioc Marty Kraimer
Next: RE: Slow booting ioc Jeff Hill
Index: 1994  1995  1996  1997  1998  <19992000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 10 Aug 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·