Hello, I can confirm the same problem on Ubuntu 16.04 and EPICS base 3.16.
2017-09-27 12:32 GMT-03:00 Johnson, Andrew N. <[email protected]>:
> Hi Hinko,
>
> On Sep 27, 2017, at 5:15 AM, Hinko Kocevar <[email protected]> wrote:
>>
>> 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?
>
> This sounds more like a problem with your Linux Mint system configuration than with the EPICS scripts, I run Linux Mint on my personal laptop at home and don’t see these kinds of issues.
>
> I wonder if this may be related to different Locale settings. Is this slow:
> time perl -CSD -e 'print "Hello\n"'
>
> If yes, please try this
> time perl -e ‘print "Hello\n"'
> and then this
> time perl -CSDL -e 'print "Hello\n"'
> and this
> time perl -C -e 'print "Hello\n"'
> to see if the flags make any difference. What is your locale set to (echo $LANG) and maybe try changing it to see if that has any effect.
>
> Please report any interesting findings back here...
>
> HTH,
>
> - Andrew
>
- Replies:
- Re: registerRecordDeviceDriver.pl takes a long time to finish Johnson, Andrew N.
- References:
- registerRecordDeviceDriver.pl takes a long time to finish Hinko Kocevar
- Re: registerRecordDeviceDriver.pl takes a long time to finish Johnson, Andrew N.
- Navigate by Date:
- Prev:
Re: registerRecordDeviceDriver.pl takes a long time to finish Johnson, Andrew N.
- Next:
Re: registerRecordDeviceDriver.pl takes a long time to finish Michael Davidsaver
- Index:
1994
1995
1996
1997
1998
1999
2000
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: registerRecordDeviceDriver.pl takes a long time to finish Johnson, Andrew N.
- Next:
Re: registerRecordDeviceDriver.pl takes a long time to finish Johnson, Andrew N.
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
<2017>
2018
2019
2020
2021
2022
2023
2024
|