KOHA
Koha performance: Revision 9
Ova stranica dokumentira naša podešavanja (i pokušaje) za što bržom Koha instalacijom. Apache deflate kompresijaSmanjuje veličinu stranice koja se isporučije browersu.
ProfileDevel::NYTProfinstalacija: root@koha-dev-git-reorg:~# cpan Devel::NYTProf profile search query: root@koha-dev-git-reorg:/usr/share/koha/opac/cgi-bin/opac# time perl -d:NYTProf -I/usr/share/koha/lib/ opac-search.pl q=human | wc 1553 3259 58648 real 0m4.001s user 0m3.152s sys 0m0.560s generate html report: root@koha-dev-git-reorg:/usr/share/koha/opac/cgi-bin/opac# nytprofhtml Generating report... Reading nytprof.out Writing report to nytprof directory koha-240First run dpavlin@koha-240:/tmp$ time perl -d:NYTProf -I/usr/share/koha/lib/ /usr/share/koha/opac/cgi-bin/opac/opac-search.pl q=human | wc Use of uninitialized value $borrowernumber in string eq at /usr/share/koha/opac/cgi-bin/opac/opac-search.pl line 483. Use of uninitialized value in string eq at /usr/share/koha/opac/cgi-bin/opac/opac-search.pl line 486. 1962 3177 64512 real 0m8.561s user 0m5.708s sys 0m0.724s Second run dpavlin@koha-240:/tmp$ time perl -d:NYTProf -I/usr/share/koha/lib/ /usr/share/koha/opac/cgi-bin/opac/opac-search.pl q=human | wc Use of uninitialized value $borrowernumber in string eq at /usr/share/koha/opac/cgi-bin/opac/opac-search.pl line 483. Use of uninitialized value in string eq at /usr/share/koha/opac/cgi-bin/opac/opac-search.pl line 486. 1962 3177 64512 real 0m6.664s user 0m5.636s sys 0m0.816s Drop caches and run profile: dpavlin@koha-240:/tmp$ sudo sh -c 'echo 3 > /proc/sys/vm/drop_caches' dpavlin@koha-240:/tmp$ time perl -d:NYTProf -I/usr/share/koha/lib/ /usr/share/koha/opac/cgi-bin/opac/opac-search.pl q=human | wc Use of uninitialized value $borrowernumber in string eq at /usr/share/koha/opac/cgi-bin/opac/opac-search.pl line 483. Use of uninitialized value in string eq at /usr/share/koha/opac/cgi-bin/opac/opac-search.pl line 486. 1962 3177 64512 real 0m30.717s user 0m4.280s sys 0m0.748s Zebra reindexdpavlin@koha-240:/srv/koha$ sudo -u koha ./misc/migration_tools/rebuild_zebra.pl -b -v -r -d /tmp/indexing -k -x -nosanitize |