Sidebar

QIE random slowness when running on a VM

0 votes
190 views
asked Aug 15, 2017 by ben-s-7515 (12,320 points)
QIE experiences random slowness when running the service in a linux environment on a VM.

1 Answer

0 votes

There are many factors on the performance of a system running in a virtual environment.  However, if everything appears to be working normal (meaning the resources are not starved, there is enough memory and CPU) but things are still running slowly, it could be due to Transparent Huge Pages (THP).

THP is a feature used by the linux kernel and allocates large contiguous memory spaces for application use.  This works well in non-vitrual environemnts, but can cause slowness in the virtual world.  By default this option is turned on in many linux environments.

To disable this in Ubuntu, you would do the following from the command prompt:

sudo su
echo never > /sys/kernel/mm/transparent_hugepage/enabled

Once this has been done, you will need to restart the server.

answered Aug 15, 2017 by ben-s-7515 (12,320 points)
...