随笔分类 -  【26】3fs

摘要:toml格式 [instances."10030201".server] "background_client.io_worker.rdma_connect_timeout" = "10s" 原理解析: 因为整个键名被双引号 "" 包裹,TOML 解析器会把 background_client.io 阅读全文
posted @ 2026-06-24 09:14 苏格拉底的落泪 阅读(8) 评论(0) 推荐(0)
摘要:toml库 假设配置文件是 storage_main_app.toml: [common] [common.log] [[common.log.categories]] categories = [ "." ] handlers = [ "normal", "err", "fatal" ] inhe 阅读全文
posted @ 2026-05-31 20:58 苏格拉底的落泪 阅读(10) 评论(0) 推荐(0)
摘要:toml格式 [[common.log.categories]] categories = [ '.' ] handlers = [ 'normal', 'err', 'fatal' ] inherit = true level = 'INFO' propagate = 'NONE' [[commo 阅读全文
posted @ 2026-05-31 20:54 苏格拉底的落泪 阅读(11) 评论(0) 推荐(0)
摘要:条带化 假设: chainCnt = 12 stripeSize = 4 初始 iter->second = 0 计算: 文件序号 iter->second res = (x % 12) + 1 新 iter->second 1 0 1 (0 + 4) % 12 = 4 2 4 5 (4 + 4) 阅读全文
posted @ 2025-12-07 20:32 苏格拉底的落泪 阅读(11) 评论(0) 推荐(0)
摘要:DeepSeek 3FS集群部署 dnf install rdma-core-devel dnf install gperftools-devel dnf install python3-devel cmake -S . -B build -DCMAKE_BUILD_TYPE=RelWithDebI 阅读全文
posted @ 2025-05-07 14:12 苏格拉底的落泪 阅读(129) 评论(0) 推荐(0)
摘要:搭建foundationdb集群 对stor01、stor02、stor03设置如下配置文件: 1. fdb.cluster配置文件 foundationdb:fdb@192.168.0.20:4500,192.168.0.21:4500,192.168.0.22:4500 foundationdb 阅读全文
posted @ 2023-10-16 09:13 苏格拉底的落泪 阅读(548) 评论(0) 推荐(0)
摘要:foundationd编译安装 1. FoundationDB的编译需要mono。从网站下载代码tar包, 或下载代码:git clone https://kkgithub.com/mono/mono make ihttps://download.mono-project.com/sources/m 阅读全文
posted @ 2022-04-24 14:44 苏格拉底的落泪 阅读(220) 评论(0) 推荐(0)
摘要:paxos算法解析 阅读论文 《Paxos Made Simple》 选定提案的最简单方式就是只允许一个accpetor存在。Proposer发送提案给accpetor,Acceptor会选择它接收到的第一个提案作为被选定的提案。尽管简单,但是这个解决方式却很难让人满意,因为如果accpetor出错 阅读全文
posted @ 2021-12-21 22:46 苏格拉底的落泪 阅读(174) 评论(0) 推荐(0)
摘要:fio使用 fio执行命令: fio \ --name=1m_test \ --directory=/mnt/test01/ganesha \ --rw=write \ --bs=1M \ --iodepth=32 \ --numjobs=12 \ --runtime=160 \ --time_ba 阅读全文
posted @ 2020-10-17 10:35 苏格拉底的落泪 阅读(1269) 评论(0) 推荐(0)
摘要:gflags库 gflags库地址:https://github.com/gflags/gflags DEFINE_bool 是 Google 提供的 gflags 命令行参数解析库中的一个宏,用于 定义布尔类型的命令行标志flag 用法: DEFINE_bool(flag_name, defaul 阅读全文
posted @ 2019-04-18 21:38 苏格拉底的落泪 阅读(138) 评论(0) 推荐(0)
摘要:安装虚拟化rdma网络 参考资料 1. 安装虚拟化rdma网络 2. 基于 SoftRCoE 部署 DeepSeek Fire-Flyer File System (3FS) 阅读全文
posted @ 2018-05-28 22:38 苏格拉底的落泪 阅读(209) 评论(0) 推荐(0)