Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Use SSD drive for Windows Ruby location #14

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

Merged
merged 1 commit into from
Jan 30, 2020
Merged

Conversation

MSP-Greg
Copy link
Collaborator

From a bit of quick research, the systems used for Actions have both a HD and an SSD. Added code to place the Windows Ruby on the SSD, assuming it is d:

@eregon
Copy link
Member

eregon commented Jan 30, 2020

Could you give some pointers to that research?

@MSP-Greg
Copy link
Collaborator Author

Info on VM:
https://help.github.com/en/actions/automating-your-workflow-with-github-actions/virtual-environments-for-github-hosted-runners#cloud-hosts-for-github-hosted-runners

States:

Each virtual machine has the same hardware resources available.

  • 2-core CPU
  • 7 GB of RAM memory
  • 14 GB of SSD disk space

Uses Standard_DS2_v2:
https://docs.microsoft.com/en-us/azure/virtual-machines/windows/sizes-general#dsv2-series

On a Windows VM:

PS C:\> Get-CimInstance Win32_LogicalDisk

DeviceID DriveType ProviderName VolumeName        Size         FreeSpace
-------- --------- ------------ ----------        ----         ---------
A:       2                                                     
C:       3                      Windows           136912564224 8117616640
D:       3                      Temporary Storage 15031267328  13100244992

The numbers line up with D: being the SSD.

@eregon
Copy link
Member

eregon commented Jan 30, 2020

Great, thank you for the PR, let's merge it :)

@eregon eregon merged commit 4d7199d into ruby:master Jan 30, 2020
@MSP-Greg
Copy link
Collaborator Author

JFYI,

The whole step of downloading and extracting didn't seem to change much time-wise, but SSD's have got to be faster than HD's...

Working on fully tested master binaries, I'll probably use an embedded action for it. Maybe when I'm done we can think about non MRI Rubies...

@MSP-Greg MSP-Greg deleted the windows-ssd branch January 30, 2020 21:24
@slonopotamus
Copy link

It is forbidden to use magic outside of Hogwarts!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants