I have a task that under performs. I am unable to discover what is 
causing it. Could this be something mesos specific?
Performance difference is 1k q/s vs 20k q/s


1. If manually I run the task on the host the performance is ok
> I think one could rule out network connectivity on/of the host and 
host issues


2. If I manually run a task in the same netns as the under performing 
task, the performance is ok.
  ip netns exec bind bash
  chroot 04a81d99-9b99-410d-bf83-d6d70ef2c7bb/
  (changed only the config port to 54)
  named -u named
> I think we can rule out netns issues


3. If I manually remove or change the cgroups of the mesos/marathon 
task, the performance is still bad

echo 2932859 > /sys/fs/cgroup/memory/user.slice/tasks
echo 2932859 > /sys/fs/cgroup/devices/user.slice/tasks
echo 2932859 > /sys/fs/cgroup/cpu/user.slice/tasks
echo 2932859 > /sys/fs/cgroup/cpuacct/user.slice/tasks
echo 2932859 > /sys/fs/cgroup/pids/user.slice/tasks
echo 2932859 > /sys/fs/cgroup/blkio/user.slice/tasks

or

echo 2932859 > /sys/fs/cgroup/memory/user.slice/tasks
echo 2932859 > /sys/fs/cgroup/devices/user.slice/tasks
echo 2932859 > /sys/fs/cgroup/cpu/user.slice/tasks
echo 2932859 > /sys/fs/cgroup/cpuacct/user.slice/tasks
echo 2932859 > /sys/fs/cgroup/pids/user.slice/tasks
echo 2932859 > /sys/fs/cgroup/blkio/user.slice/tasks


[@]# cat /proc/2936696/cgroup
11:hugetlb:/
10:memory:/user.slice
9:devices:/user.slice
8:cpuacct,cpu:/user.slice
7:perf_event:/
6:cpuset:/
5:pids:/user.slice
4:freezer:/
3:blkio:/user.slice
2:net_prio,net_cls:/
1:name=systemd:/user.slice/user-0.slice/session-17385.scope

[@]# cat /proc/2932859/cgroup
11:hugetlb:/
10:memory:/user.slice
9:devices:/user.slice
8:cpuacct,cpu:/user.slice
7:perf_event:/
6:cpuset:/
5:pids:/user.slice
4:freezer:/
3:blkio:/user.slice
2:net_prio,net_cls:/
1:name=systemd:/mesos/812c481b-c0a4-444a-aafa-de98da9698e2


Reply via email to