-
Notifications
You must be signed in to change notification settings - Fork 392
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
windows: should we recommend devdrives for storing caches? #5023
Comments
This seems sensible, and I was going to open an issue over in https://github.com/iterative/dvc about it, but I'll just leave a few details here for now. Output of Windows 10 Pro for Workstations and Windows 11 Pro for Workstations have "full" ReFS support, which I think means you can have your entire OS on a ReFS partition. However, both Windows 11 Home and Pro now support ReFS via the dev drives feature, generally available late 2023. So now that any Windows 11 system can interface with ReFS partitions, it might be a good idea to start thinking about unblocking iterative/dvc#1263 again. Consider of course that despite a supposed Windows 10 "end of life" in 2025, ~90% of Windows machines are still on Windows 10 today, so it's not absolutely critical to prioritize this now. Although, "ReFs" is mentioned by name in the DVC documentation, but there is no mention of the compatibility issues that a user utilizing "dev drives" is likely to encounter, that their partition won't support See also:
|
Even without reflink, I think using devdrive is worth it (due to async AV scan). Regarding reflink support, there is Since it's untested, and requires a binary package, I am hesitant to use that. But we could optionally support it for Windows if it works (but keep it undocumented for some period). Contributions are welcome. Relevant code is here: |
Awesome, thanks for the details! I have some medium-heavy DVC projects on both an NTFS and ReFS drive right now, I'll have to see if I can clock any reasonable improvements from the async AV alone. And compare that to an NTFS folder excluded from scanning. I think with the dual benefits of async AV and reflinks, it would convince me to maintain a dev drive for DVC projects. But I've still got 3/4 machines in lab/home on Windows 10 so it's not quite time for me to jump head first into dev drive life. I've got a couple prior contribution commitments I need to prioritize before adding on another one, but I'll keep this on the backburner if nobody decides to implement it before I start looking more deeply into it. |
There is DevDrive support on all Windows 11 SKUs.
So what is DevDrive? The following is an excerpt from Microsoft's blog:
ReFS also has reflink/cloning support, but dvc does not support it unfortunately. Reading through the docs, it seems that it'd be perfect for dvc's cache purpose.
Also, checkout the following video:
The text was updated successfully, but these errors were encountered: