Slow performance by PHP directory operations on virtual machine (Ubuntu libvirt)
- by thonixx
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?