Windows 11 Dev Drive
d
Is anyone using Windows 11 Dev Drive? It uses ReFS instead of NTFS and is supposed to be considerably faster at builds. I wondered in anyone has tried it before I waste time only to find it doesn't play nice with git / .net / umbraco ? https://learn.microsoft.com/en-us/windows/dev-drive/
m
works fine
do I notice a difference? nope
l
I use it. It's a free performance boost. Nothing else changes from your point of view. I'd say it's more resilient and thus safer for your files, but I mean, we're all using Git anyways.
d
Thanks @Matt Wise it was a post demonstrating the speed boost that got me interested. However there seemed to be some custom configuration or node that put me off a while back.
s
From tests people seem to get a nice boost. I don't think I noticed it much "in real life" but I liked knowing that things probably run faster, so I enabled it. It's been fine, did notice a speed increase on the old laptop. Just got a new PC so I don't know what it would have been like without Dev Drive, but it's on again. I did also move npm and nuget caches as described in https://blog.maartenballiauw.be/post/2023/11/22/test-driving-windows-11-dev-drive-for-dotnet.html
i
I use it and it's alot better if you also put all your NuGet caches there. I think Microsoft has an article on it. Will link later
For me the biggest pro is that I can use the same folder structure on every device I use. I mean you could do this before but now I don't need to play with partitions etc. And just have the disk as a file
h
mmm, I just installed it myself, but it is taking longer to do a clean+rebuild on the devdrive than on my normal disk volume, so maybe I did something wrong
s
Not sure but of course if you dedicate a slow drive to it then it wouldn't help. Also, a clean+rebuild might need to re-download nuget packages (if you moved those to the dev drive too) so try that a few times. Also, do make sure your anti-virus isn't interfering here. I do have an exception in my antivirus for my source code since scanning a lot of small files all the time really (really) slows your IDE down.
A fresh clone of Umbraco-CMS (v13 branch): - On my C drive: 1 minute 43 seconds - On my Dev drive: 55 seconds Pretty impressive! The first build of a fresh clone is always slow as it runs an npm install as well, even more tiny files coming in.
d
Did you go with a physical or virtual drive @Sebastiaan ?
s
Ah yes, well.. I started with a new PC recently, so I had the luxury to dedicate a whole drive to it!
d
Ooh nice. I read some issues with the dedicated drive option but that sounds like a great way to work. And that is a considerable build time saving.
h
ah, could be virus checker 😄 will add an exclusion
i
The dev drive should automatically do some exclusions with your AV
At least I think I read that somewhere in the MS docs
h
There is a setting in windows security for dev drive which I believe does th checks asynchronously but does not exclude it.
s
It really did not for me.. but the AV is controlled by the organization so it probably didn't have permission to do so.
i
Ah right, reading it again that's right. Interesting!
s
Great stuff!
Of course this doesn't help if you have 3rd party AV installed (please don't use 3rd party AVs! 😅 )
i
I used to be a big advocate for 'em, oh how the times have changed
s
same! 😅 to be fair, Microsoft AV used to be terrible.. now it's the very opposite for all non-MS versions lol
m
Interesting, thanks for sharing!
12 Views