<div dir="ltr">Hi,<br><br>I have two machines, their hardware is not identical, but their installation is.<br><br>One is a 3 years old DELL server, while the other is a 1 year old server.<br><br>One is running 2.6.26-2-686 while the other 2.6.30-1-686<br>
<br>What I am seeing is slow startup - emphasis on startup, the code works fast once its running - of perl scripts<br><br>Even the smallest perl script such as this:<br>===<br>#!/usr/bin/perl<br><br>use lib '/usr/local/MySystem/lib';<br>
<br>use DB;<br><br>===<br><br>Take 7 seconds to start, in comparison to 0.030secods<br><br>If I don't use the "use DB;" which my package<br><br>It loads fast<br><br>I am trying to figure out why, I checked the HD speeds via hdparam, the newer server is 1.5 times faster 103MB/sec<br>
<br>I tried to see what libraries were being used, used strace, but I can't see something "big" that is causing the delay.<br><br>The "use DB;" can be replaced with any other "custom" library package I wrote, they all take 2-7 seconds to load, while on the other machine it takes negligible time<br>
<br>Does someone have a "thread" to cling to?<br><br>Thanks,<br>Noam Rathaus<br></div>