X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/fd7b86ceec5580060856ff46c6cfcf47c1f0bbec..61c46fcc4427544046ccd20efb02ce63be568aac:/roles/tile.rb diff --git a/roles/tile.rb b/roles/tile.rb index c32e35eb6..82dcc21ba 100644 --- a/roles/tile.rb +++ b/roles/tile.rb @@ -38,6 +38,7 @@ default_attributes( :max_connections => "250", :temp_buffers => "32MB", :work_mem => "128MB", + :max_parallel_workers_per_gather => "0", :wal_buffers => "1024kB", :wal_writer_delay => "500ms", :commit_delay => "10000", @@ -67,7 +68,20 @@ default_attributes( "kernel.sched_min_granularity_ns" => 10000000, "kernel.sched_wakeup_granularity_ns" => 15000000 } - } + }, + :no_tcp_slow_start => { + :comment => "Disable TCP slow start", + :parameters => { + "net.ipv4.tcp_slow_start_after_idle" => "0" + } + }, + :tcp_use_bbr => { + :comment => "Use TCP BBR Congestion Control", + :parameters => { + "net.core.default_qdisc" => "fq", + "net.ipv4.tcp_congestion_control" => "bbr" + } + }, }, :tile => { :database => {