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

ci: explore using ReFS drive to speed up Windows CI jobs #919

Closed
wants to merge 6 commits into from

Conversation

rfratto
Copy link
Member

@rfratto rfratto commented May 23, 2024

No description provided.

@rfratto rfratto force-pushed the windows-dev-drive branch from 4383a4f to ba7944d Compare May 23, 2024 16:22
@rfratto
Copy link
Member Author

rfratto commented May 23, 2024

While there are reports of another project successfully using ReFS drives to speed up CI, there's a few issues preventing Alloy from using it right now:

  1. Creating a ReFS drive (the New-VHD command) doesn't work with windows-2019. My understanding is that the Windows version must match the Windows version of Docker images, which is windows-2019; upgrading may not be a choice right now.

  2. Commands like go build and docker build still have on-disk caches on the normal drive, where they don't take advantages of the performance boosts. While it may be possible to reconfigure the Docker and Go to place caches on the mounted drive, this would be somewhat of a large burden, and issue 1 prevents this from being productive anyway.

Closing for now, but maybe in the future all Windows runners use ReFS by default and things will be faster.

@rfratto rfratto closed this May 23, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 25, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant