[PR #83] fuse: don't limit max_threads to num of CPU cores #284

Open
opened 2026-10-26 09:48:16 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/deepseek-ai/3FS/pull/83
Author: @huww98
Created: 3/4/2025
Status: 🔄 Open

Base: main ← Head: max_threads


📝 Commits (1)

  • 253c1da fuse: don't limit max_threads to num of CPU cores

📊 Changes

1 file changed (+1 additions, -6 deletions)

View changed files

📝 src/fuse/FuseClients.cc (+1 -6)

📄 Description

fuse threads are mostly blocked on waiting IO. They are not CPU intensive. So, there is no reason to limit them by the number of CPU cores.

We got 7x IOPS with this patch on a 2 core VM.

On AlibabaCloud ecs.g8a.large. From 3k IOPS to 21k.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/deepseek-ai/3FS/pull/83 **Author:** [@huww98](https://github.com/huww98) **Created:** 3/4/2025 **Status:** 🔄 Open **Base:** `main` ← **Head:** `max_threads` --- ### 📝 Commits (1) - [`253c1da`](https://github.com/deepseek-ai/3FS/commit/253c1da72d2ea20250e0d1e1d6d946f9a5463b73) fuse: don't limit max_threads to num of CPU cores ### 📊 Changes **1 file changed** (+1 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `src/fuse/FuseClients.cc` (+1 -6) </details> ### 📄 Description fuse threads are mostly blocked on waiting IO. They are not CPU intensive. So, there is no reason to limit them by the number of CPU cores. We got 7x IOPS with this patch on a 2 core VM. On AlibabaCloud ecs.g8a.large. From 3k IOPS to 21k. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
deepseek-ai/3FS#284
No description provided.