You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 8, 2022. It is now read-only.
using ubuntu 16.04, xeon CPU E5-2699 v4.
snap release 1.0
due to poor performance of snap under loaded system (cpu/memory/cache) we pin the snap program on isolated cores.
without doing so most of the tasks become disabled following MISS events.
scenario:
boot with kernel option isolcpus=16,17,18 (this requires reboot of the host)
then execute snap at the following way:
$sudo nohup taskset -c 16-18 snapteld -l 3 -t 0
then load pcm plugin --> plugin load fails on timeout.
please note that other plugins and tasks work well, we only face a problem with pcm.
if we avoid cpu pinning (i.e. $sudo snapteld -l 3 -t 0) then we are capable to run all plugins including pcm.
the problem: we can not load pcm plugin and run pcm related tasks.
can someone explain the reason for this behaviour?
is there any solution for that?
we must use pcm and we can only run with isolated cores...
thakns.
The text was updated successfully, but these errors were encountered:
@beyossi There are some settings you may try to change to improve snapteld performance:
--max-procs value, -c value Set max cores to use for Snap Agent (default: 1) [$GOMAXPROCS]
--work-manager-queue-size value Size of the work manager queue (default: 25) [$WORK_MANAGER_QUEUE_SIZE]
--work-manager-pool-size value Size of the work manager pool (default: 4) [$WORK_MANAGER_POOL_SIZE]
So, as you can see, by default snap will use just single core - maybe in your case, when pinning to 3 cores, try to set --max-procs to 3 also. If there is a lot of metrics to collect consider also tweaking --work-manager config options setting to values higher than default.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
using ubuntu 16.04, xeon CPU E5-2699 v4.
snap release 1.0
due to poor performance of snap under loaded system (cpu/memory/cache) we pin the snap program on isolated cores.
without doing so most of the tasks become disabled following MISS events.
scenario:
$sudo nohup taskset -c 16-18 snapteld -l 3 -t 0
please note that other plugins and tasks work well, we only face a problem with pcm.
if we avoid cpu pinning (i.e. $sudo snapteld -l 3 -t 0) then we are capable to run all plugins including pcm.
the problem: we can not load pcm plugin and run pcm related tasks.
can someone explain the reason for this behaviour?
is there any solution for that?
we must use pcm and we can only run with isolated cores...
thakns.
The text was updated successfully, but these errors were encountered: