I have still with mesos 1.9 degraded performance, any help to sort this 
out would be nice. Makes me also wonder if others have bothered testing 
this or not? I am testing still with mesos and thus have mostly a 
default setup.

Previously when I opened this thread, there was questioning about 
resource differences between the vm and container. This is not the case, 
the vm has allocated 1 vcpu. To counter eventual memory issues I try to 
use the dns cache by requesting contstantly the same 2 domains in 
files-2.tst.



[0] marathon task resources
  "cpus": 1,
  "mem": 300,


[1] memory usage vm
  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
 9671 named     20   0  289m  90m 2948 S  0.0 18.8  12:18.22 named


[2] testing vm
[@ test-dns]$ dnsperf -f inet -t 2 -s 192.168.10.10 -d files-2.tst -l 10
DNS Performance Testing Tool
Nominum Version 2.1.0.0

[Status] Command line: dnsperf -f inet -t 2 -s 192.168.10.10 -d 
files-2.tst -l 10
[Status] Sending queries (to 192.168.10.10)
[Status] Started at: Tue Oct 22 14:30:03 2019
[Status] Stopping after 10.000000 seconds
[Status] Testing complete (time limit)

Statistics:

  Queries sent:         116834
  Queries completed:    116834 (100.00%)
  Queries lost:         0 (0.00%)

  Response codes:       NOERROR 116834 (100.00%)
  Average packet size:  request 27, response 111
  Run time (s):         10.011078
  Queries per second:   11670.471452

  Average Latency (s):  0.008367 (min 0.000778, max 0.020300)
  Latency StdDev (s):   0.001285


[3] testing container

[marc@os0 test-dns]$ dnsperf -f inet -t 2 -s 192.168.10.13 -d 
files-2.tst -l 10
DNS Performance Testing Tool
Nominum Version 2.1.0.0

[Status] Command line: dnsperf -f inet -t 2 -s 192.168.10.13 -d 
files-2.tst -l 10
[Status] Sending queries (to 192.168.10.13)
[Status] Started at: Tue Oct 22 14:29:48 2019
[Status] Stopping after 10.000000 seconds
[Timeout] Query timed out: msg id 3
[Timeout] Query timed out: msg id 9
[Timeout] Query timed out: msg id 10
[Timeout] Query timed out: msg id 11
...
...
...
[Timeout] Query timed out: msg id 21251
[Timeout] Query timed out: msg id 21253
[Timeout] Query timed out: msg id 21260
[Timeout] Query timed out: msg id 21328
[Timeout] Query timed out: msg id 21344
[Timeout] Query timed out: msg id 21365
[Timeout] Query timed out: msg id 21390
[Status] Testing complete (time limit)

Statistics:

  Queries sent:         24770
  Queries completed:    24275 (98.00%)
  Queries lost:         495 (2.00%)

  Response codes:       NOERROR 24275 (100.00%)
  Average packet size:  request 27, response 111
  Run time (s):         10.000185
  Queries per second:   2427.455092

  Average Latency (s):  0.000326 (min 0.000130, max 0.003435)
  Latency StdDev (s):   0.000139

Reply via email to