From 586483d60ed216a1b507823e8da0ef863d70c1a0 Mon Sep 17 00:00:00 2001 From: Grant Slater Date: Thu, 1 Aug 2013 11:00:47 +0100 Subject: [PATCH] Tune virtio disks on nadder-01/02 --- roles/nadder-01.rb | 11 +++++++++++ roles/nadder-02.rb | 11 +++++++++++ 2 files changed, 22 insertions(+) diff --git a/roles/nadder-01.rb b/roles/nadder-01.rb index 1e75f0d8a..6952ac37a 100644 --- a/roles/nadder-01.rb +++ b/roles/nadder-01.rb @@ -14,6 +14,17 @@ default_attributes( } } }, + :sysfs => { + :hdd_tune => { + :comment => "Tune the queue for improved performance", + :parameters => { + "block/vda/queue/nr_requests" => "512", + "block/vdb/queue/nr_requests" => "512", + "block/vda/queue/scheduler" => "deadline", + "block/vdb/queue/scheduler" => "deadline" + } + } + }, :squid => { :cache_mem => "1500 MB", :cache_dir => "coss /store/squid/coss-01 128000 block-size=8192 max-size=262144 membufs=80" diff --git a/roles/nadder-02.rb b/roles/nadder-02.rb index b09058256..22541a067 100644 --- a/roles/nadder-02.rb +++ b/roles/nadder-02.rb @@ -14,6 +14,17 @@ default_attributes( } } }, + :sysfs => { + :hdd_tune => { + :comment => "Tune the queue for improved performance", + :parameters => { + "block/vda/queue/nr_requests" => "512", + "block/vdb/queue/nr_requests" => "512", + "block/vda/queue/scheduler" => "deadline", + "block/vdb/queue/scheduler" => "deadline" + } + } + }, :squid => { :cache_mem => "1500 MB", :cache_dir => "coss /store/squid/coss-01 128000 block-size=8192 max-size=262144 membufs=80" -- 2.39.5