Merging from default production
authorRail Aliiev <rail@mozilla.com>
Mon, 16 Jun 2014 10:06:41 -0400
branchproduction
changeset 1834 ef257b25e88d0382721d322058955b4e68a6978a
parent 1832 f903eedd329302db29a40feabefcce99dff5e201 (current diff)
parent 1833 42b776622e2633f7dd983f897df99404db405822 (diff)
child 1836 7d69f5e64c78ffcbbc0ee29d3fe88b9c7302656c
push id1376
push userraliiev@mozilla.com
push dateMon, 16 Jun 2014 14:06:45 +0000
bugs1023477
Merging from default changeset: 1833:42b776622e26 tag: tip parent: 1831:0021bb445f34 user: Rail Aliiev <rail@mozilla.com> date: Mon Jun 16 10:05:59 2014 -0400 summary: Backout Bug 1023477 - reduce EBS writes by removing journal, tweaking writeout. r=me
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;
-                }
-            }
-        }
-    }
-}
-