EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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

Subject: Re: registerRecordDeviceDriver.pl takes a long time to finish
From: Luca Cavalli <[email protected]>
To: "[email protected]" <[email protected]>, "[email protected]" <[email protected]>
Date: Thu, 28 Sep 2017 08:00:23 +0000
Hi,

can Perl profiling be of any help here?

install NYTProf Perl package, then build your IOC with:

$ export NYTPROF=addpid=1
$ PERL5OPT=-d:NYTProf make

Locate the correct nytprof.out.<pid> and open it with

$ nytprofhtml -f nytprof.out.<pid> --open

Hope it helps,

Luca


On Wed, 2017-09-27 at 12:15 +0200, Hinko Kocevar wrote:
Hi,

Under 3.15.4 perl script execution takes a lot of time on Linux Mint, while it executes in a jiffy on CentOS.
I added a time in front of the perl call in RULES.db:


time perl -CSD /devel/root/R3.15.4/base/bin/linux-x86_64/registerRecordDeviceDriver.pl   -I. -I.. -I../O.Common -I../../../dbd -I/devel/root/R3.15.4/modules/adcore-master/dbd -I/devel/root/R3.15.4/modules/adsimdetector-master/dbd -I/devel/root/R3.15.4/modules/asyn-master/dbd -I/devel/root/R3.15.4/modules/autosave-master/dbd -I/devel/root/R3.15.4/modules/busy-master/dbd -I/devel/root/R3.15.4/modules/calc-master/dbd -I/devel/root/R3.15.4/modules/sscan-master/dbd -I/devel/root/R3.15.4/base/dbd    -o simDetectorApp_registerRecordDeviceDriver.cpp ../O.Common/simDetectorApp.dbd simDetectorApp_registerRecordDeviceDriver /devel/stage/R3.15.4/iocs/simdetectorioc-master


29.95user 0.02system 0:29.98elapsed 99%CPU (0avgtext+0avgdata 19256maxresident)k


I think other calls to perl are awfully slow, too..
Any idea why it might be so slow?

Thanks,
Hinko

 



<< Le informazioni contenute in questo messaggio di posta elettronica e relativi allegati sono riservate e confidenziali e ne è vietata la diffusione in qualunque modo eseguita. Qualora Lei non fosse la persona a cui il presente messaggio è destinato, La invitiamo ad eliminarlo e a darcene gentile comunicazione. Quanto precede ai fini del rispetto delle Legge 675/96 e del Decreto Legislativo 30/06/2003 n.196, sulla tutela dei dati personali >>

<< This e-mail is confidential and may well also be legally privileged. If you have received it in error, you are on notice of its status. Please notify us immediately by reply e-mail and then delete this message from your system. Please do not copy it or use it for any purposes, or disclose its contents to any other person: to do so could be a breach of confidence. Thank you for your co-operation. Please contact our IT Helpdesk on +3902380481 or email [email protected] if you need assistance >>
 


Replies:
Re: registerRecordDeviceDriver.pl takes a long time to finish Andrew Johnson
References:
registerRecordDeviceDriver.pl takes a long time to finish Hinko Kocevar

Navigate by Date:
Prev: Re: Record processing twice after upgrading to Base 3.15.5 Andrew Johnson
Next: Motor module problem Jörn Dreyer
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <20172018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: registerRecordDeviceDriver.pl takes a long time to finish Michael Davidsaver
Next: Re: registerRecordDeviceDriver.pl takes a long time to finish Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <20172018  2019  2020  2021  2022  2023  2024 
ANJ, 21 Dec 2017 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·