Hi Tibor,

Il giorno ven, 27/08/2010 alle 18.09 +0200, Tibor Simko ha scritto:
> Do you mean on SLC5 due to the sudo stuff or something?  Otherwise it
> should be more like a factor of 2-4 unless I'm wrong?

indeed on SLC5, but I don't think it's due to sudo. Apparently the
slow-performance install-sh bash script is always chosen instead
of /usr/bin/install, and is used to deploy a single file at a time
(which are a lot if you consider format elements and webstyle icons...)

It's something related to:

<http://sourceware.org/ml/automake-prs/2005-q3/msg00008.html>


$ # with automake-1.11
$ sudo -u apache time make install -j9
24.43user 5.51system 0:26.06elapsed 114%CPU (0avgtext+0avgdata
0maxresident)k
0inputs+0outputs (0major+1405488minor)pagefaults 0swaps

so ~30 seconds with newest autotools.

$ # with automake-1.9
$ sudo -u apache time make install -j9
127.76user 20.07system 2:19.91elapsed 105%CPU (0avgtext+0avgdata
0maxresident)k
0inputs+0outputs (0major+5401328minor)pagefaults 0swaps

indeed it's 3 times slower :-) (actually install-sh is relying
on /urs/bin/install to deploy a single file)...

so almost 2 minutes and a half with default autotools on SLC5.

Best regards,
        Samuele 

-- 
Samuele Kaplun
Invenio Developer ** <http://invenio-software.org/>

Reply via email to