You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@drill.apache.org by br...@apache.org on 2019/01/18 23:39:32 UTC
[drill-site] branch asf-site updated: doc edit
This is an automated email from the ASF dual-hosted git repository.
bridgetb pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/drill-site.git
The following commit(s) were added to refs/heads/asf-site by this push:
new 91e6885 doc edit
91e6885 is described below
commit 91e68851eea8a06505171dc51d9800166fa454fc
Author: Bridget Bevens <bb...@maprtech.com>
AuthorDate: Fri Jan 18 15:39:14 2019 -0800
doc edit
---
docs/configuring-cgroups-to-control-cpu-usage/index.html | 10 +++-------
feed.xml | 4 ++--
2 files changed, 5 insertions(+), 9 deletions(-)
diff --git a/docs/configuring-cgroups-to-control-cpu-usage/index.html b/docs/configuring-cgroups-to-control-cpu-usage/index.html
index 84fe54d..5134698 100644
--- a/docs/configuring-cgroups-to-control-cpu-usage/index.html
+++ b/docs/configuring-cgroups-to-control-cpu-usage/index.html
@@ -1295,7 +1295,7 @@
</div>
- Jun 8, 2018
+ Jan 18, 2019
<link href="/css/docpage.css" rel="stylesheet" type="text/css">
@@ -1305,9 +1305,8 @@
<p>In Drill 1.13, you had to update the <code>cgroup.procs</code> file with the Drill process ID (PID) each time a Drillbit restarted in order to enforce the CPU limit for the Drillbit service. As of Drill 1.14, Drill can directly manage the CPU resources through the Drill start-up script, <code>drill-env.sh</code>. You no longer have to manually add the PID to the <code>cgroup.procs</code> file each time a Drillbit restarts. This step occurs automatically upon restart. The start-up scr [...]
-<p>Note: The Linux kernel version must support cgroups v2 to use this feature. Version 4.5 officially supports cgroups v2. You can run the following command to get the kernel version: </p>
-<div class="highlight"><pre><code class="language-text" data-lang="text">uname -r
-</code></pre></div>
+<p>Note: Cgroups V2 is recommended. </p>
+
<p>The <code>drill-env.sh</code> script contains variables that you must enable for Drill to directly manage the CPU resources. Uncomment the following variables in drill-env.sh to enable the feature: </p>
<table><thead>
@@ -1358,9 +1357,6 @@ The <code>cpu.cfs_quota_us</code> parameter specifies the total amount of runtim
<p>You can install the libcgroup package using the <code>yum install</code> command, as shown: </p>
<div class="highlight"><pre><code class="language-text" data-lang="text"> yum install libcgroup
</code></pre></div>
-<p>For Drill to directly manage the CPU resources through the Drill start-up script, <code>drill-env.sh</code>, the Linux kernel version must support cgroups v2. Version 4.5 of the kernel officially supports cgroups v2. You can run the following command to get the kernel version: </p>
-<div class="highlight"><pre><code class="language-text" data-lang="text"> uname -r
-</code></pre></div>
<h2 id="configuring-cpu-limits">Configuring CPU Limits</h2>
<p>Complete the following steps to set a hard and/or soft limit on Drill CPU usage for the Drill process running on the node: </p>
diff --git a/feed.xml b/feed.xml
index b167ec6..20c45cd 100644
--- a/feed.xml
+++ b/feed.xml
@@ -6,8 +6,8 @@
</description>
<link>/</link>
<atom:link href="/feed.xml" rel="self" type="application/rss+xml"/>
- <pubDate>Fri, 18 Jan 2019 13:58:26 -0800</pubDate>
- <lastBuildDate>Fri, 18 Jan 2019 13:58:26 -0800</lastBuildDate>
+ <pubDate>Fri, 18 Jan 2019 15:37:19 -0800</pubDate>
+ <lastBuildDate>Fri, 18 Jan 2019 15:37:19 -0800</lastBuildDate>
<generator>Jekyll v2.5.2</generator>
<item>