From 8e3e7264d0bba3adc61ca88c33d636b0a7605da7 Mon Sep 17 00:00:00 2001 From: Grant Slater Date: Sat, 8 Feb 2014 07:31:58 +0000 Subject: [PATCH] jakelong, nepomuk: Decrease scheduler queue depth to improve latency --- roles/jakelong.rb | 9 +++++++++ roles/nepomuk.rb | 4 ++-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/roles/jakelong.rb b/roles/jakelong.rb index 41b409f5d..5338778e0 100644 --- a/roles/jakelong.rb +++ b/roles/jakelong.rb @@ -26,6 +26,15 @@ default_attributes( :cache_mem => "650 MB", :cache_dir => "coss /store/squid/coss-01 15000 block-size=8192 max-size=262144 membufs=30" }, + :sysfs => { + :hdd_tune => { + :comment => "Tune the queue for improved performance", + :parameters => { + "block/xvda/queue/nr_requests" => "64", + "block/xvda/queue/scheduler" => "deadline" + } + } + }, :tilecache => { :tile_parent => "sanfrancisco.render.openstreetmap.org", :tile_siblings => [ diff --git a/roles/nepomuk.rb b/roles/nepomuk.rb index 8d64f6ac3..3c7d3ccf9 100644 --- a/roles/nepomuk.rb +++ b/roles/nepomuk.rb @@ -30,8 +30,8 @@ default_attributes( :hdd_tune => { :comment => "Tune the queue for improved performance", :parameters => { - "block/vda/queue/nr_requests" => "512", - "block/vda/queue/scheduler" => "noop" + "block/vda/queue/nr_requests" => "64", + "block/vda/queue/scheduler" => "deadline" } } }, -- 2.39.5