NTFS really isn't that bad
summary
Explains why rustup install time on Windows falls from 3m30s → 14s by combining small code changes and Windows fixes: replace copies with moves, increase buffering, avoid 20,000 redundant stats (20,000 stats saved), stop unnecessary open/read/write permission roundtrips, and dispatch slow CloseHandle work to worker threads (close handles moved to threads). Uses Process Monitor traces, Rust patches, and Windows Defender cooperation; results: installer latency drops to seconds across NTFS, NFS and WSL scenarios.
AI-written summary · about
chapters (15)
- 0:00Introduction
- 1:05Identifying the bottleneck
- 2:52Initial performance fixes
- 5:52Optimizing file operations
- 9:14I/O contention fixes
- 11:20Reducing unnecessary syscalls
- 14:23Security and architecture
- 16:52File metadata optimization
- 20:10Threaded file closing
- 25:38Antivirus collaboration
- 27:33Performance results
- 30:45Lustre file system issues
- 33:37Key takeaways
- 35:47WSL performance analysis
- 40:24Q&A session
related talks
39mFuzzing the Native NTFS Read-Write Driver (NTFS3) in the Linux Kernel
49mThe Windows Subsystem for Linux WSL Latest updates and future improvements
16mSquirrelFS: using the Rust compiler to check file-system crash consistency
01h 24mWindows Native API
25mThe Windows Subsystem for Linux
48mWindows Subsystem for Linux Your enterprise ready multitool
40mKeynote: Kernel Developer Roundtable
10mKeynote: Rust in the Linux Kernel: A New Era for Cloud Native Performance and Security
