You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by dl...@apache.org on 2014/10/27 04:01:06 UTC

svn commit: r1634440 - in /mesos/site: publish/documentation/latest/network-monitoring/ publish/documentation/latest/powered-by-mesos/ publish/documentation/network-monitoring/ publish/documentation/powered-by-mesos/ source/documentation/latest/

Author: dlester
Date: Mon Oct 27 03:01:05 2014
New Revision: 1634440

URL: http://svn.apache.org/r1634440
Log:
Updates PoweredByMesos and Network Monitoring documentation on website.

Modified:
    mesos/site/publish/documentation/latest/network-monitoring/index.html
    mesos/site/publish/documentation/latest/powered-by-mesos/index.html
    mesos/site/publish/documentation/network-monitoring/index.html
    mesos/site/publish/documentation/powered-by-mesos/index.html
    mesos/site/source/documentation/latest/network-monitoring.md
    mesos/site/source/documentation/latest/powered-by-mesos.md

Modified: mesos/site/publish/documentation/latest/network-monitoring/index.html
URL: http://svn.apache.org/viewvc/mesos/site/publish/documentation/latest/network-monitoring/index.html?rev=1634440&r1=1634439&r2=1634440&view=diff
==============================================================================
--- mesos/site/publish/documentation/latest/network-monitoring/index.html (original)
+++ mesos/site/publish/documentation/latest/network-monitoring/index.html Mon Oct 27 03:01:05 2014
@@ -225,6 +225,24 @@ $ echo "57345 61000" > /proc/sys/net/
 ]
 </code></pre>
 
+<h1>Network Egress Rate Limit</h1>
+
+<p>Mesos 0.21.0 adds an optional feature to limit the egress network bandwidth for each container. With this feature enabled, each container&rsquo;s egress traffic is limited to the specified rate. This can prevent a single container from dominating the entire network.</p>
+
+<h2>How to enable it?</h2>
+
+<p>Egress Rate Limit requires Network Monitoring. To enable it, please follow all the steps in the <a href="#Network_Monitoring">previous section</a> to enable the Network Monitoring first, and then use the newly introduced <code>egress_rate_limit_per_container</code> flag to specify the rate limit for each container. Note that this flag expects a <code>Bytes</code> type like the following:</p>
+
+<pre><code>mesos-slave \
+    --checkpoint \
+    --log_dir=/var/log/mesos \
+    --work_dir=/var/lib/mesos \
+    --isolation=cgroups/cpu,cgroups/mem,network/port_mapping \
+    --resources=cpus:22;mem:62189;ports:[31000-32000];disk:400000;ephemeral_ports:[32768-57344] \
+    --ephemeral_ports_per_container=1024 \
+    --egress_rate_limit_per_container=37500KB # Convert to ~300Mbits/s.
+</code></pre>
+
 	</div>
 </div>
 

Modified: mesos/site/publish/documentation/latest/powered-by-mesos/index.html
URL: http://svn.apache.org/viewvc/mesos/site/publish/documentation/latest/powered-by-mesos/index.html?rev=1634440&r1=1634439&r2=1634440&view=diff
==============================================================================
--- mesos/site/publish/documentation/latest/powered-by-mesos/index.html (original)
+++ mesos/site/publish/documentation/latest/powered-by-mesos/index.html Mon Oct 27 03:01:05 2014
@@ -146,9 +146,10 @@
 <li><a href="http://www.viadeo.com">Viadeo</a></li>
 <li><a href="http://www.vimeo.com">Vimeo</a></li>
 <li><a href="http://www.virdata.com">Virdata</a></li>
+<li><a href="http://www.wizcorp.jp">Wizcorp</a></li>
 <li><a href="http://www.woorank.com">WooRank</a></li>
-<li><a href="http://www.xogito.com">Xogito</a></li>
 <li><a href="http://www.yieldbot.com">Yieldbot</a></li>
+<li><a href="http://www.xogito.com">Xogito</a></li>
 </ul>
 
 

Modified: mesos/site/publish/documentation/network-monitoring/index.html
URL: http://svn.apache.org/viewvc/mesos/site/publish/documentation/network-monitoring/index.html?rev=1634440&r1=1634439&r2=1634440&view=diff
==============================================================================
--- mesos/site/publish/documentation/network-monitoring/index.html (original)
+++ mesos/site/publish/documentation/network-monitoring/index.html Mon Oct 27 03:01:05 2014
@@ -225,6 +225,24 @@ $ echo "57345 61000" &gt; /proc/sys/net/
 ]
 </code></pre>
 
+<h1>Network Egress Rate Limit</h1>
+
+<p>Mesos 0.21.0 adds an optional feature to limit the egress network bandwidth for each container. With this feature enabled, each container&rsquo;s egress traffic is limited to the specified rate. This can prevent a single container from dominating the entire network.</p>
+
+<h2>How to enable it?</h2>
+
+<p>Egress Rate Limit requires Network Monitoring. To enable it, please follow all the steps in the <a href="#Network_Monitoring">previous section</a> to enable the Network Monitoring first, and then use the newly introduced <code>egress_rate_limit_per_container</code> flag to specify the rate limit for each container. Note that this flag expects a <code>Bytes</code> type like the following:</p>
+
+<pre><code>mesos-slave \
+    --checkpoint \
+    --log_dir=/var/log/mesos \
+    --work_dir=/var/lib/mesos \
+    --isolation=cgroups/cpu,cgroups/mem,network/port_mapping \
+    --resources=cpus:22;mem:62189;ports:[31000-32000];disk:400000;ephemeral_ports:[32768-57344] \
+    --ephemeral_ports_per_container=1024 \
+    --egress_rate_limit_per_container=37500KB # Convert to ~300Mbits/s.
+</code></pre>
+
 	</div>
 </div>
 

Modified: mesos/site/publish/documentation/powered-by-mesos/index.html
URL: http://svn.apache.org/viewvc/mesos/site/publish/documentation/powered-by-mesos/index.html?rev=1634440&r1=1634439&r2=1634440&view=diff
==============================================================================
--- mesos/site/publish/documentation/powered-by-mesos/index.html (original)
+++ mesos/site/publish/documentation/powered-by-mesos/index.html Mon Oct 27 03:01:05 2014
@@ -146,9 +146,10 @@
 <li><a href="http://www.viadeo.com">Viadeo</a></li>
 <li><a href="http://www.vimeo.com">Vimeo</a></li>
 <li><a href="http://www.virdata.com">Virdata</a></li>
+<li><a href="http://www.wizcorp.jp">Wizcorp</a></li>
 <li><a href="http://www.woorank.com">WooRank</a></li>
-<li><a href="http://www.xogito.com">Xogito</a></li>
 <li><a href="http://www.yieldbot.com">Yieldbot</a></li>
+<li><a href="http://www.xogito.com">Xogito</a></li>
 </ul>
 
 

Modified: mesos/site/source/documentation/latest/network-monitoring.md
URL: http://svn.apache.org/viewvc/mesos/site/source/documentation/latest/network-monitoring.md?rev=1634440&r1=1634439&r2=1634440&view=diff
==============================================================================
--- mesos/site/source/documentation/latest/network-monitoring.md (original)
+++ mesos/site/source/documentation/latest/network-monitoring.md Mon Oct 27 03:01:05 2014
@@ -115,3 +115,22 @@ $ curl -s http://localhost:5051/monitor/
     }
 ]
 ```
+
+# Network Egress Rate Limit
+
+Mesos 0.21.0 adds an optional feature to limit the egress network bandwidth for each container. With this feature enabled, each container's egress traffic is limited to the specified rate. This can prevent a single container from dominating the entire network.
+
+## How to enable it?
+
+Egress Rate Limit requires Network Monitoring. To enable it, please follow all the steps in the [previous section](#Network_Monitoring) to enable the Network Monitoring first, and then use the newly introduced `egress_rate_limit_per_container` flag to specify the rate limit for each container. Note that this flag expects a `Bytes` type like the following:
+
+```
+mesos-slave \
+	--checkpoint \
+	--log_dir=/var/log/mesos \
+	--work_dir=/var/lib/mesos \
+	--isolation=cgroups/cpu,cgroups/mem,network/port_mapping \
+	--resources=cpus:22;mem:62189;ports:[31000-32000];disk:400000;ephemeral_ports:[32768-57344] \
+	--ephemeral_ports_per_container=1024 \
+	--egress_rate_limit_per_container=37500KB # Convert to ~300Mbits/s.
+```

Modified: mesos/site/source/documentation/latest/powered-by-mesos.md
URL: http://svn.apache.org/viewvc/mesos/site/source/documentation/latest/powered-by-mesos.md?rev=1634440&r1=1634439&r2=1634440&view=diff
==============================================================================
--- mesos/site/source/documentation/latest/powered-by-mesos.md (original)
+++ mesos/site/source/documentation/latest/powered-by-mesos.md Mon Oct 27 03:01:05 2014
@@ -44,9 +44,10 @@ layout: documentation
 * [Viadeo](http://www.viadeo.com)
 * [Vimeo](http://www.vimeo.com)
 * [Virdata](http://www.virdata.com)
+* [Wizcorp](http://www.wizcorp.jp)
 * [WooRank](http://www.woorank.com)
-* [Xogito](http://www.xogito.com)
 * [Yieldbot](http://www.yieldbot.com)
+* [Xogito](http://www.xogito.com)
 
 ## Software projects built on Mesos