perf(runtime): mark Tokio threads as mimalloc threadpool (#6646)

Upgrade rustfs-mimalloc and rustfs-mimalloc-sys to 0.5.1, then call the new safe wrapper from Tokio worker thread startup so mimalloc can treat runtime threads as threadpool workers.

Keep the hint no-op on Windows, matching RustFS allocator platform boundaries.

Co-authored-by: heihutu <heihutu@gmail.com>
This commit is contained in:
houseme
2026-08-26 16:11:03 +08:00
committed by GitHub
parent b059569744
commit a45cf6b521
3 changed files with 25 additions and 15 deletions
+2 -2
View File
@@ -365,8 +365,8 @@ russh-sftp = "2.4.0"
dav-server = "0.11.0"
# Performance Analysis and Memory Profiling
rustfs-mimalloc = { version = "0.5.0" }
rustfs-mimalloc-sys = { version = "0.5.0" }
rustfs-mimalloc = { version = "0.5.1" }
rustfs-mimalloc-sys = { version = "0.5.1" }
hotpath = { version = "0.24.0", default-features = false }
# Snapshot testing for output format regression detection
insta = { version = "1.48" }