Attach a device to jobs and workstations
Attaching a device gives a job a filesystem it shares with other jobs, and whatever it writes there outlives its own cluster. The decision that affects performance is whether the solver reads across the mount or from local scratch.
Attach to a job
- On the Specify Inputs step of job setup, click Attach From Storage Device.
- Select the device you want and click Next. The picker takes one device at a time, so repeat the flow if a job needs two.
- Finish with one of the two buttons below, which decide whether the job also copies files out of the device.
What happens next depends on which button you finish with:
The second mode is driven by two checkbox columns, Copy and Symlink, on each file and folder in the device.
Data written to the mount persists after the job's cluster terminates, and stays available to other jobs and workstations.
Symlinked entries show a yellow chain-link icon in the input list once attached. Copying into work/ means the solver reads local scratch rather than across the NFS mount, which is usually faster for I/O-heavy runs, at the cost of the copy time up front and a second copy of the data.
The UI won't allow both. If you need data from an HPS and a CFS, copy it across from a workstation first.
Attach to a workstation
- On the workstation setup page, open Add Storage Device.
- Select one or more devices.
- Launch the workstation. Devices cannot be added afterwards.
Unlike files and jobs, a device must be specified when you create the workstation: see create a workstation.
Also: if an attached HPS terminates, the workstation dies with it, because the workstation's working directory lives on the device. See workstation files.
Once running, the device mounts in the home directory as storage_{device_id}. Anything you add to or change in that directory is reflected on the device.
On Windows workstations the mount can also be mapped to a drive letter, which Rescale Support enables for you. It covers at most three devices, mapped to Y:, X:, and W:, and works only in interactive desktop sessions rather than over SSH. Ask before you launch the workstation: enabling it has no effect on workstations that are already running.
How many jobs can attach at once
An HPS serves files over NFS on port 2049, and NFS imposes limits people hit without warning.
The cap counts nodes, not jobs, so one 30-slot DOE weighs far more than one basic job. Exceeding a defined limit queues jobs until capacity frees up. Exceeding an undefined one degrades performance, can crash the NFS mount, and leaves attached jobs failing to launch.
The ceiling rises with the coretype and core count you chose at creation. Across all AWS coretypes a device also tops out at 50 slots attached at any one time, whatever the node figures below suggest.
Limits for the remaining coretypes aren't defined, which is the dangerous case: there's no queueing to protect you, so the symptom is a crashed mount rather than a wait. Heavy-I/O workflows hit the wall well below these numbers: internal testing reached them only at moderate load.
If you're near the limit, the two things that help are running a larger HPS or attaching fewer jobs at a time. Rescale separately caps how many nodes may attach simultaneously, so a single large job can start more slowly than you expect even when the total is fine.
Where the cluster launches
Rescale attempts to launch attached job clusters in the same availability zone as the device, unless you've configured AZ preferences. Other zones are tried if that fails.
This matters for performance. A cluster in a different AZ from its storage adds latency, and on some clouds, transfer cost.
Related
- Create a device — the coretype choice that sets these limits
- Manage a device — extending and sharing
- Job queuing — what an exceeded node limit looks like
- Submitting a job with HPS attached via API