This section discusses various tuning changes on the operating system level that you can perform on the server running the MDEX Engine to optimize its performance.

This topic discusses performance expectations of MDEX Engine deployments on VMware (all supported versions) and provides recommendations for such deployments.

Virtualizing Guided Search deployments on VMware is motivated by cost management reduction that is typically associated with server consolidation, as well as by human cost reduction associated with simplified server administration and maintenance.

Performance risk associated with virtualizing the MDEX Engine is directly related to the performance and scalability requirements of your application. While Oracle recommends virtualization, customers interested in virtualizing HPC (high-performance computing) applications should analyze the risk associated with such projects and seek IT support with strong virtualization skills and experience. Oracle believes that virtualization of the MDEX Engine on VMware is most appropriate at smaller data scale.

Oracle recommends the following practices to ensure adequate performance on VMware:

This section lists recommended tuning changes on RHEL 4 and RHEL 5 configurations for the MDEX Engine.

Oracle recommends disabling the swap token timeout by setting it to zero. The swap token is a mechanism in Linux that allows some processes to make progress when the total working set size of all processes exceeds the size of physical RAM.

In situations when only one process is active, and the virtual memory size of that process gets close to, or exceeds the size of the available RAM, enabling the swap token negatively affects performance. In the context of the Dgraph, this can happen if the physical server is dedicated exclusively to running the MDEX Engine, and the index size is close to, or exceeds the size of the available RAM.

Oracle recommends disabling the swap token for those MDEX Engine configurations running on Linux that serve large data sets and are memory- and disk-bound.

If you choose not to disable the swap token, and experience erratic Dgraph performance, you may wish to examine the system to determine whether the swap token is causing problems. The swap token can cause "direct steal" operations.

To measure "direct steal" operations, check the contents of /proc/vmstat, adding pgsteal_dma32 and pgsteal_normal values and subtracting kswapd_steal.

To disable the swap token timeout on RHEL 5:


Copyright © Legal Notices