Skip to content
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

consider setting up windows dev drives for our users #1425

Open
Gankra opened this issue Sep 19, 2024 · 0 comments
Open

consider setting up windows dev drives for our users #1425

Gankra opened this issue Sep 19, 2024 · 0 comments
Labels
feature request New feature or request

Comments

@Gankra
Copy link
Member

Gankra commented Sep 19, 2024

Windows dev drives AKA ReFS are an opt-in new filesystem that is optimized for github repos / builds that can potentially speed things up a lot.

It's a bit surprising to me that github of all places can't automagically set this up for you but it is true that there's windows features that Don't Work in these drives so in the most general sense they aren't safe to turn on. However I believe it's basically always fine, so as a default it's pretty sensible.

Known Pros

Wins from dev drive are apparently mostly that it basically tells windows defender to stop realtime scanning the contained files. This is apparently especially high impact for things like unzipping files. Honestly kind of surprising to hear windows defender runs on github actions but maybe it does?

Known Limitations

Biggest limitation of devdrive is that it doesn't support "reparse points" which is similar to a linux FUSE filesystem in that they are a filesystem-level feature that lets a filesystem say there is a "file" that is actually some magic that another program gets callback'd to read/write the bytes as needed

  • this is a big deal for windows as an operating system because this feature backs many things like
    • dropbox/onedrive cloud sync files, which may not exist on the FS until you access them
    • filesystem mounts
    • certain kinds of symlinky things
    • font files, which are i guess synthesized on the fly if you read them
  • for a source repo and build these things are largely irrelevant (why are you mounting a filesystem underneath your repo? why are you booting up onedrive in there? etc)
@Gankra Gankra added the feature request New feature or request label Sep 19, 2024
@Gankra Gankra changed the title consider windows dev drives consider setting up windows dev drives for our users Sep 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant