mirror of
https://github.com/deepseek-ai/3FS.git
synced 2026-11-05 00:47:47 +00:00
[GH-ISSUE #146] 元数据性能问题 #83
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
deepseek-ai/3FS#83
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @StewieeChen on GitHub (Mar 11, 2025).
Original GitHub issue: https://github.com/deepseek-ai/3FS/issues/146
我在自己的集群搭建了一套3fs集群,其中fdb部署在一块nvme盘上。但是mdtest测下来的性能只有几百,这种情况是否正常,有没有办法提高我的元数据性能。
这个性能符合预期么?
@yuchengkang commented on GitHub (Mar 11, 2025):
同为NVMe
@StewieeChen commented on GitHub (Mar 11, 2025):
您好,请问一下,您这边具体的配置信息呢?
多少个元数据节点,以及对应的foundationdb的规模呢?以及对应NVMe的型号
fuse对应配置(类似于entry_timeout)是多少,然后给client预留了多少内存呢?以及给client使用的CPU具体型号呢?
@wangyibin-gh commented on GitHub (Mar 13, 2025):
meta ops is not a saling point for 3fs. 3fs is designed with the goal of fast bulk data transfer and infrequent metadata ops. FoundationDB's SSI mechanism essentially serialize the meta ops which definitely isn't a wise way to get great meta performance. but is is a comprimise. as we all know, meta ops has always been an issue in distributed storage, it's very hard to get a solid solution quickly. so why bother investing so much energy in doing this for a sceario that won't necessarily requires a lot of meta ops?
yes, for ai training, there is a lot of small files. but the good thing is that they are mostly read-only. so deepseek invented their own dataset format ffrecord, which is quite straightforward design which combine huge amount of small files into one big file, which works well in 3fs. with the help of dataset/dataloader, the meta is retrieved in a few read IO, and subsequent read can be done once the shuffle order is determined. if you are looking for some filesystem with super fast metadata ops, 3fs isn't what you want to look into.
@StewieeChen commented on GitHub (Mar 14, 2025):
thanks