OWLIM FAQ

compared with
Current by Barry Bishop
on May 14, 2012 19:58.

Key
This line was removed.
This word was removed. This word was added.
This line was added.

Changes (5)

View Page History
h5. How do I run OWLIM-SE or an OWLIM-Enterprise worker node on a machine with more CPUs than licensed?

The maximum CPU count is checked during OWLIM initialisation by checking for the number of CPU cores available to the Java Virtual Machine (JVM) in which OWLIM is running. If the number of CPU cores available is greater than specified in the license file then OWLIM will fail to start.
The maximum CPU count is checked during OWLIM initialisation by checking for the number of CPU cores available to the Java Virtual Machine (JVM) in which OWLIM is running. If the number of CPU cores available is greater than specified in the license file then OWLIM will still run, but it will throttle itself to use the equivalent of the licensed number of CPU cores.

OWLIM can be embedded in a user application or deployed using Tomcat/Sesame. In both cases, the user must should restrict the number of CPUs available to the JVM in which OWLIM is running. The method to do this depends upon the operating system:

|| Operating System || Method ||

{info}
MacOS does not provide an easy means to set the processor affinity, so in this situation running OWLIM on a machine with more cores than licensed is more difficult. The most straightforward method is to create a virtual machine (VM) (using VirtualBox for example) and set the number of processors for this VM to the number of licensed CPU cores. A free linux distribution can then be installed in the VM and Sesame/OWLIM/Tomcat set up as necessary.
MacOS does not provide an easy means to set the processor affinity. The most straightforward method to limit CPU usage is to create a virtual machine (VM) (using VirtualBox for example) and set the number of processors for this VM to the number of licensed CPU cores. A free linux distribution can then be installed in the VM and Sesame/OWLIM/Tomcat set up as necessary. Alternatively, just use OWLIM as normal and rely on the internal throttling to manage CPU utilisation.
{info}