You are viewing the PKP Support Forum | PKP Home Wiki

How to improve the perfomance?

Are you responsible for making OMP work -- installing, upgrading, migrating or troubleshooting? Do you think you've found a bug? Post in this forum.

Moderators: jmacgreg, michael, asmecher

Forum rules
The Public Knowledge Project Support Forum is moving to http://forum.pkp.sfu.ca

This forum will be maintained permanently as an archived historical resource, but all new questions should be added to the new forum. Questions will no longer be monitored on this old forum after March 30, 2015.

How to improve the perfomance?

Postby vlilloh » Thu Feb 13, 2014 8:44 am


We already have over a hundred books on open access at the http://libros.um.es

But our biggest problem remains the low speed of the system, which is similar to your demo:
Your demo is a bit faster.

However, reading your blog I have discovered how fast the http://langsci-press.org/ OMP works!

Do you know how the http://langsci-press.org/ OMP or its hosting could be improved to reach that speed?

I could talk to our system administrator to change or improve some requirements of the server.

Posts: 297
Joined: Thu Feb 07, 2008 3:35 am
Location: Murcia, Spain

Re: How to improve the perfomance?

Postby asmecher » Thu Feb 13, 2014 8:54 am

Hi Vicente,

We haven't spent much time optimizing OMP yet, as it's relatively new software. That said, it's written with the same general standards as OJS, so I don't expect we'll have scalability problems. Now that there are a few installs with good amounts of content, it's a good time to start analyzing performance.

I suspect http://langsci-press.org/ doesn't run different code -- I suspect we would've heard back from them if they were e.g. changing queries. My suspicion is that their server is configured differently. The key things to look at are...
  • Server API (SAPI): mod_php, CGI, FastCGI, ...? While mod_php is fastest, FastCGI offers a better balance of performance and security on shared servers.
  • Opcode cache? There are XCache, Zend Optimizer, APC, and others; I've used XCache with good results. Make sure the resource allocations are sufficient.
  • MySQL caching/tuning? Some of the default MySQL configuration settings are a little low. Database tuning is an art all its own.
  • Server RAM. Insufficient RAM will cause swapping, which will badly degrade performance.
Of course there are other considerations, but these are the top ones that come to mind.

Those aside, there are probably some specific areas of OMP that will need code optimization. The most common suspects are slow MySQL queries; these can be identified by turning on the MySQL slow query log.

If there are specific parts of OMP that are performing badly, that's also useful information.

Alec Smecher
Public Knowledge Project Team
Posts: 10015
Joined: Wed Aug 10, 2005 12:56 pm

Return to OMP Technical Support

Who is online

Users browsing this forum: No registered users and 1 guest