A few questions for building up KNIME Server

#1

Hi KNIME,

I have a few questions for building up KNIME Server.

Is there any way I can set the limit of the no. of cores or processors used by executor?; such as setting the max value of memory in the <knime.ini> file.

If you look at it: https://docs.knime.com/2018-12/server_admin_guide/index.html#per-user-knime-executors, it says “Additionally, there is a preference in KNIME which can limit the number of threads used per executor”. Then how can I set the limit number of threads used per executor?

I would like to build up Per-user KNIME executor. Is it possible to use one executor only for deployment out of several executors? If it is possible, what am I supposed to do that?

0 Likes

#2

Hi,

sorry for the late reply.

  1. To my knowledge there is no such option. The problem is that an application itself doesn’t decide on which core it runs but the operating system itself (more precisely the kernel). Depending on your OS you might be able to bind an application to a specific core. However, this might yield worse performance as you cannot utilize the CPU fully. There might be other options that let you decide the maximum CPU usage for a specific application but that should be also OS dependent.
  2. See https://docs.knime.com/2018-12/server_admin_guide/index.html#preferences-file what you basically have to do is to create a preference file that is fetched by the executor and applied on startup. The option for maximum number of threads can be found in KNIME Analytics Platform under File -> Preferences -> KNIME. Adjust the value accordingly and export the preferences. You can simply open the .epf file with any text editor and adjust it.
  3. I’m not sure that this is possible, but I will ask someone who knows.

Cheers,
Moritz

1 Like

#3

Thank you for your reply!

1 Like