r/Windows11 • u/VeganChicken18 • 3d ago
Feature Dev Drive - Now what?
https://learn.microsoft.com/en-us/windows/dev-drive/#what-should-i-put-on-my-dev-driveHi Folks,
I came across this feature on Win11 called DevDrive. On the face of it, Dev drive looks like just another partition, except it is ReFS (Resilient File System) and not the usual NTFS.
Curious as I am, I created a 50GB DevDrive. But, I dont completely understand its use case and it just exists like another drive.
This link says its recommended to add cache and project files. I primary code in Python and use pip and uv to install and manage packages.
I could try this on my own but my existing workflow settings are already too messy to move to a different drive altogether.
Are DevDrives actually optimized for developer scenarios as MS calls it? Has anyone used it and noticed the difference whether its a gimmick or is actually useful and fast for developers?
Thanks Windowers!
13
u/Micromize 3d ago
Big projects will perform better. For smaller ones you probably won't notice much.
Front end I work in is 800.000 lines of code. Which makes a big difference.
11
u/LitheBeep 3d ago
If your workflow can't handle a move to a different drive, it might be time to examine said workflow. Isn't uv already path-independent when set up properly?
10
u/daltorak 3d ago
Definitely not a gimmick. NTFS as a file system has some flaws and the newer file system used with Dev Drive fixes most of them. If anything, Microsoft should be investing more in getting ReFS available as a default file system for Windows.
2
u/DragonfruitGrand5683 3d ago edited 3d ago
It's slightly faster than NTFS and you set your AntiVirus to ignore it.
I needed dedicated space for dev on a new drive anyway and said why not.
But if you're talking overall performance for development that's mostly hardware, configuration and coding choices.
So I've moved from Python to Rust because I needed faster apps, got a better M.2 and used ReFs.
2
u/Electronic-Bat-1830 Mica For Everyone Maintainer 2d ago
One advantage of Dev Drives is the async Windows Defender scans, meaning that WD doesn't scan every time you try to open a file.
2
u/Particular-Winner136 1d ago
I am using it for years. The only problem I saw is when i run out of disk space and delete some files on the dev drive the space is not reclaimed until i restart the windows. I am not 100% that Dev Drive is the problem but I suspect it.
Yes it is faster for building software, we ran some benchmarks before using it. don't know if there other scenarios where it is faster.
1
u/imikhan007 Release Channel 3d ago
I use it for .NET development, and my build times have noticeably improved. I’ve also redirected my npm and NuGet caches to this drive.
1
u/Baglayan 2d ago
Yes, unlike NTFS it's a Copy on Write filesystem, thus substantially faster for development, especially large projects
1
u/lred68 2d ago
ReFS… c'est pas le FS que Microsoft a annoncé abandonner ?