Weitere ähnliche Inhalte
Ähnlich wie Mysql基于ssd flashcache实践 (20)
Mysql基于ssd flashcache实践
- 2. Who am I 天羽 tianyu@taobao.com @tb天羽 SI Oracle Mysql 16:26 2
- 26. Hang DDL hang、Dmsetup hang、copy hang FIX:调整FLASHCACHE_COPY_PAGES and FLASHCACHE_ASYNC_SIZE dosync.fast_remove=0再dmsetup remove会hang FIX:Fast_remove=1,主动刷并限制力度,调整合并后写块上限 验证:dmsetup remove ,完全4K往SAS刷,不hang。每秒100M/S,100G需17分钟 15:45 18
- 29. Flashcache配置 白名单 cache_all=0 LRU reclaim_policy=1 脏刷新率 dirty_thresh_pct=90 快速remove fast_remove = 1 刷出力度 max_clean_ios_set=2 max_clean_ios_total=4 15:45 21
- 38. 监控 readhit读命中 writehit 写命中 dirtywrhit脏写命中 cache_pct cache数据块占总空间比例 dirty_pct dirty数据块占总空间比例 lg_written逻辑写 phy_written物理写 fio_status Healthy(状态标志) reserves 预留空间百分比 10%预警 Internal temperature 温度 15:38 30
- 40. Q&A Do what you want,@北京&杭州 天羽 tianyu@taobao.com 15:40 32 THANK YOU