Backout Bug 1023477 - reduce EBS writes by removing journal, tweaking writeout. r=me
authorRail Aliiev <rail@mozilla.com>
Mon, 16 Jun 2014 10:05:59 -0400
changeset 1833 42b776622e2633f7dd983f897df99404db405822
parent 1831 0021bb445f34a6a5711c9aa3916d3dcef7406fe2
child 1834 ef257b25e88d0382721d322058955b4e68a6978a
child 1835 da69a61b039e82ed86278c07804f987b514b8baf
push id1376
push userraliiev@mozilla.com
push dateMon, 16 Jun 2014 14:06:45 +0000
reviewersme
bugs1023477
Backout Bug 1023477 - reduce EBS writes by removing journal, tweaking writeout. r=me
modules/toplevel/manifests/slave/build.pp
modules/tweaks/manifests/filesystem.pp
--- a/modules/toplevel/manifests/slave/build.pp
+++ b/modules/toplevel/manifests/slave/build.pp
@@ -8,17 +8,16 @@ class toplevel::slave::build inherits to
     include dirs::builds::hg_shared
     include dirs::builds::git_shared
     include dirs::builds::tooltool_cache
 
     include users::builder
 
     include ntp::daemon
     include tweaks::nofile
-    include tweaks::filesystem
 
     include nrpe
     include nrpe::check::buildbot
     include nrpe::check::ide_smart
     include nrpe::check::procs_regex
     include nrpe::check::child_procs_regex
 
     include packages::mozilla::git
deleted file mode 100644
--- a/modules/tweaks/manifests/filesystem.pp
+++ /dev/null
@@ -1,24 +0,0 @@
-# This Source Code Form is subject to the terms of the Mozilla Public
-# License, v. 2.0. If a copy of the MPL was not distributed with this
-# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-
-class tweaks::filesystem {
-    # Optimize EXT4 writeback performance on virtual machines only
-    if ($::virtual =~ /xen/) {
-        case $::operatingsystem {
-            CentOS, Ubuntu: {
-                sysctl::value {
-                    'vm.dirty_writeback_centisecs':
-                        value => 360000;
-                    'vm.dirty_expire_centisecs':
-                        value => 360000;
-                    'vm.dirty_ratio':
-                        value => 95;
-                    'vm.dirty_background_ratio':
-                        value => 95;
-                }
-            }
-        }
-    }
-}
-