OJS OCS OMP OHS

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
What to do if you have a technical problem with OMP:

1. Search the forum. You can do this from the Advanced Search Page or from our Google Custom Search, which will search the entire PKP site. If you are encountering an error, we especially recommend searching the forum for said error.

2. Check the FAQ to see if your question or error has already been resolved.

3. Post a question, but please, only after trying the above two solutions. If it's a workflow or usability question you should probably post to the OMP Discussion subforum; if you have a development question, try the OMP Development subforum.

How to improve the perfomance?

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

Hi,

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:
http://omp.sfu.ca/present/index.php/aup-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.

Thanks,
Cheers.
vlilloh
 
Posts: 280
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.

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


Return to OMP Technical Support

Who is online

Users browsing this forum: No registered users and 4 guests