Dear All,
After I upgraded EPICS base from 3.14.12.2 to 3.15.3, my IOC was built much slower than before.
So I did a brief test on Debian Jessie: To build two identical example IOCs with 3.14 and 3.15 respectively, the result is that it takes about only 1 second for 3.14 but 10 seconds for 3.15.
For 3.15 IOC, most of the time is taken by the following two perl-related commands:
perl -CSD /usr/lib/epics/bin/linux-x86_64/dbdExpand.pl -I. -I.. -I../O.Common -I../../../dbd -I/usr/lib/epics/dbd -o example.dbd base.dbd xxxSupport.dbd dbSubExample.dbd exampleHello.dbd initTrace.dbd
perl -CSD /usr/lib/epics/bin/linux-x86_64/registerRecordDeviceDriver.pl -I. -I.. -I../O.Common -I../../../dbd -I/usr/lib/epics/dbd -o example_registerRecordDeviceDriver.cpp ../O.Common/example.dbd example_registerRecordDeviceDriver /home/vagrant/epicsApp/app315
Whereas for 3.14 IOC, there are two similar commands but are executed fast:
perl /home/vagrant/base-3.14.12.2/bin/linux-x86_64/makeIncludeDbd.pl base.dbd xxxSupport.dbd dbSubExample.dbd exampleHello.dbd initTrace.dbd exampleInclude.dbd
perl /home/vagrant/base-3.14.12.2/bin/linux-x86_64/registerRecordDeviceDriver.pl ../O.Common/example.dbd example_registerRecordDeviceDriver /home/vagrant/epicsApp/app314 > example.tmp
Does it also happen on your EPICS 3.15 environment?
Thanks,
Lin Wang
Research Associate
Facility for Rare Isotope Beams
Michigan State University
640 South Shaw Lane
East Lansing, MI 48824-1321, USA
Tel. 517-908-7519
Email: [email protected]
|