2015年5月4日

ceph之Placement Group

摘要: 预定义PG_NUM 新建一个存储池命令:ceph osd pool set {pool-name} pg_num 选择一个pg_num的值是强制性的,这是因为该值不能被自动计算出来,以下是一些常用值: a、小于5个OSDs设置pg_num为128; b、5至10个OSDs设置pg_n... 阅读全文

posted @ 2015-05-04 16:28 阳台 阅读(1230) 评论(0) 推荐(0)

C++之字符串分割函数split

摘要: c++之字符串分割: 1 /* 2 *c++之字符串分割: 3 */ 4 5 #include 6 #include 7 #include 8 9 void split(const std::string& s, const std::string& delim,std::... 阅读全文

posted @ 2015-05-04 09:48 阳台 阅读(959) 评论(0) 推荐(0)

导航