Dynmaic load shedding
authorWoo Xie <woo@fb.com>
Tue, 28 Apr 2015 22:25:31 +0000 (15:25 -0700)
committerAndrii Grynenko <andrii@fb.com>
Wed, 29 Apr 2015 22:57:33 +0000 (15:57 -0700)
commit37624c1f29756ef40e49233fceeddf3790dab6cd
tree7a78a1a6922c94d135031d8336d9e511894ed7b4
parentef0137ceaf11b0dce2b732797c480ccb9adb20b6
Dynmaic load shedding

Summary:
add a free system memory limit to Load Shed Configuration for dynamic shedding

Test Plan:
tested on edge241.01.ams3, works as expected. Once the free memory is less than 23G (picked on purpose for testing),  new connections are shedded.   But the shedding rate is totally wrong.  I will explain and address it in another diff.

https://fburl.com/103620501
https://fburl.com/103620701

Reviewed By: afrind@fb.com

Subscribers: trunkagent, fugalh, bmatheny, nimishshah, folly-diffs@, jsedgwick, yfeldblum, chalfant, xning, alexkr

FB internal diff: D2026477

Tasks: 4604893

Signature: t1:2026477:1430176828:65eadd82efa3189a1bebcb8518efaf56cd36beed
folly/wangle/acceptor/LoadShedConfiguration.h