Nuclos tuning: performance, tmpfs, hugepages, JVM options, PostgreSQL, VirtIO, VirtualBox, Docker, Vagrant, Linux.

globe with meridians Language: Deutsch · English

light bulb Tuning for nerds

Advanced performance ideas – tmpfs, JVM/hugepages, PostgreSQL tuning and VirtIO for virtual machines.

On this page

The following suggestions are a collection of ideas (mostly for Linux) aimed at advanced users with solid Java and OS knowledge. Always verify that a change actually improves performance in your setup.

Linux

Virtualization

VirtualBox, Docker (lightweight Linux containers) and Vagrant (repeatable environments). If Windows runs as a VirtualBox VM, the VirtIO (virtio-net) network driver increases throughput and lowers CPU load:

  1. Mount the VirtIO driver ISO (storage → IDE CD).
  2. Network → Advanced → Adapter type → Paravirtualized network (virtio-net).
  3. Restart the VM and update the network driver from the ISO in the device manager.
  4. Unmount the ISO afterwards.

Related pages

gear Configuring Nuclos for high user load


Load.

Open →

gear Tomcat administration


Tomcat.

Open →