Slow performance by PHP directory operations on virtual machine (Ubuntu libvirt)

Posted by thonixx on Server Fault See other posts from Server Fault or by thonixx
Published on 2012-03-20T02:11:43Z Indexed on 2012/03/20 5:31 UTC
Read the original article Hit count: 510

Some days ago I installed an Ubuntu server and two running virtual machines with libvirt. Everything works fine except one performance problem.

Everytime when I call a PHP script with directory operations the operations are very slow and not performant. Here is an example: http://zother.white-tiger.ch/ And here you see an example without a directory operation and how fast it is: http://michaeltanner.ch/

It's all on the same virtual server. The virtual machine uses 6 cores (8 are available) and 7500 megabytes RAM (8 Gigabyte are available). The disk image format is qcow2.

How can I improve the performance?

© Server Fault or respective owner

Related posts about ubuntu

Related posts about Performance