Created
August 31, 2009 15:37
-
-
Save dann/178519 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ◇ 基本 | |
| どこから: adjusted evictionが高いところの slabを移動させる | |
| * adjusted eviction = eviction_count * items_per_slab | |
| どこに: unique hit rateが低い場所に移動 | |
| * unique hit rate = unique_hits / number_of_slabs | |
| ◇ | |
| 高いeviction数でかつ低いヒットレートのslabクラスがある。 | |
| この問題を避けるために、rebalaceされるクラスの両方のslab classで | |
| eviction数の合計をカウントする。 | |
| リバランスされたのが役に立ったかどうかを発見するために比較する。 | |
| もしそうでなかったら、それらを元に戻す。 | |
| ◇ | |
| 高いevictionでかつ低いヒット率のslab向けに、rebalanceを遅らせて、他のslabがrebalanceされる機会を与えるために、rebalance waitを設定する。 | |
| ※ evictionってのが、追い出し。データがセットされるときに追い出されるって意味。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment