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

Use the default AWS NVMe SSD for run farm instances #1642

Open
2 tasks done
abejgonzalez opened this issue Aug 29, 2023 · 0 comments
Open
2 tasks done

Use the default AWS NVMe SSD for run farm instances #1642

abejgonzalez opened this issue Aug 29, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@abejgonzalez
Copy link
Contributor

Background Work

Feature Description

Instead of using /home/centos for AWS run farm hosts, we should instead mount the default SSD on the run farm machines and run simulations out of there (see https://serverfault.com/questions/952863/can-you-use-m5ds-local-ssd-as-a-root-device for the code to do this). This would require the run farm to have an extra hook to do any extra setup on the instance after launch run farm.

What I did after manually launching a runfarm, ssh'ing in, and setting up the SSD:

sudo mkdir -p /ssd
sudo mkfs.ext4 -E nodiscard -m0 /dev/nvme0n1
sudo mount -o discard /dev/nvme0n1 /ssd
sudo chown centos:centos -R /ssd/

Motivating Example

Faster writing simulations to disk.

@abejgonzalez abejgonzalez added the enhancement New feature or request label Aug 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant