Paul Brett created MESOS-2332:
---------------------------------

             Summary: Report per-container metrics for network bandwidth 
throttling
                 Key: MESOS-2332
                 URL: https://issues.apache.org/jira/browse/MESOS-2332
             Project: Mesos
          Issue Type: Improvement
          Components: isolation
            Reporter: Paul Brett


Export metrics from the network isolation to identify scope and duration of 
container throttling.  

Packet loss can be identified from the overlimits and requeues fields of the 
htb qdisc report for the virtual interface, e.g.

{noformat}
$ tc -s -d qdisc show dev mesos19223
qdisc pfifo_fast 0: root refcnt 2 bands 3 priomap  1 2 2 2 1 2 0 0 1 1 1 1 1 1 
1 1
 Sent 158213287452 bytes 1030876393 pkt (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
qdisc ingress ffff: parent ffff:fff1 ----------------
 Sent 119381747824 bytes 1144549901 pkt (dropped 2044879, overlimits 0 requeues 
0)
 backlog 0b 0p requeues 0
{noformat}

Note that since a packet can be examined multiple times before transmission, 
overlimits can exceed total packets sent.  

Add to the port_mapping isolator usage() and the container statistics protobuf. 
Carefully consider the naming (esp tx/rx) + commenting of the protobuf fields 
so it's clear what these represent and how they are different to the existing 
dropped packet counts from the network stack.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to