Dự án

Tổng quan

Hồ sơ

Feature #150

Cập nhật bởi Bùi Khắc Nghĩa cách đây 12 tháng

Yêu cầu: Enable compression trên data pool của S3 
 ceph osd pool set CMC-G1.rgw.buckets.data compression_algorithm snappy 
 ceph osd pool set CMC-G1.rgw.buckets.data compression_mode force 

 So sánh kết quả CPU trước và sau khi enable compress ( S3 gateway và các node) 
 Cách test: + Upload file lớn ( 500MB - 1GB) 

 Link kết quả:  
 https://docs.google.com/spreadsheets/d/1pGO0wn9Stg_3RKpjIpUq2nrsQEPRLeZl3n-8kdALJq0/edit#gid=0 
 https://docs.google.com/spreadsheets/d/1euil2yZ0S6TwR1ZOKru79nLmPWdUpGIAeUsTbe0SoKk/edit#gid=422264090 

 ==== 
 Phụ thuộc vào 2 giá trị sau 
 compression_max_blob_size 
 compression_min_blob_size 

 ![](clipboard-202311211146-5aqr0.png) 


 ========== 
 ceph osd pool set CMC-G1.rgw.buckets.data compression_algorithm snappy 
 ceph osd pool set CMC-G1.rgw.buckets.data compression_mode aggressive 
 ceph osd pool set CMC-G1.rgw.buckets.data compression_max_blob_size 1073741824 
 ceph osd pool set CMC-G1.rgw.buckets.data compression_min_blob_size 1048576 

 ![](clipboard-202312040855-coesv.png) 
 ![](clipboard-202312040901-b9q5q.png) 
 ![](clipboard-202312040936-iww3f.png) 

 ceph osd pool set CMC-G1.rgw.buckets.data compression_algorithm snappy 
 ceph osd pool set CMC-G1.rgw.buckets.data compression_mode force 
 ceph osd pool set CMC-G1.rgw.buckets.data compression_max_blob_size 1073741824 
 ceph osd pool set CMC-G1.rgw.buckets.data compression_min_blob_size 1048576 

 ![](clipboard-202312040919-otkg8.png) 
 ![](clipboard-202312040919-0yatv.png) 
 ![](clipboard-202312040936-vnpiw.png) 

 ceph osd pool set CMC-G1.rgw.buckets.data compression_algorithm snappy 
 ceph osd pool set CMC-G1.rgw.buckets.data compression_mode passive 
 ceph osd pool set CMC-G1.rgw.buckets.data compression_max_blob_size 1073741824 
 ceph osd pool set CMC-G1.rgw.buckets.data compression_min_blob_size 1048576 

 ![](clipboard-202312040930-esmlh.png) 
 ![](clipboard-202312040931-ouapq.png) 
 ![](clipboard-202312040936-vlell.png) 

 ceph osd pool set CMC-G1.rgw.buckets.data compression_algorithm snappy 
 ceph osd pool set CMC-G1.rgw.buckets.data compression_mode none 
 ceph osd pool set CMC-G1.rgw.buckets.data compression_max_blob_size 1073741824 
 ceph osd pool set CMC-G1.rgw.buckets.data compression_min_blob_size 1048576 

 ![](clipboard-202312040943-8dkcz.png) 
 ![](clipboard-202312040944-zsrai.png) 
 ![](clipboard-202312040950-i1uj3.png) 


 ceph osd pool set CMC-G1.rgw.buckets.data compression_algorithm snappy 
 ceph osd pool set CMC-G1.rgw.buckets.data compression_mode none 
 ceph osd pool set CMC-G1.rgw.buckets.data compression_max_blob_size 0 
 ceph osd pool set CMC-G1.rgw.buckets.data compression_min_blob_size 0 

 ![](clipboard-202312041010-yb1vt.png) 
 ![](clipboard-202312041011-tqcbb.png) 
 ![](clipboard-202312041014-wlbov.png) 

Quay lại