When using standard, non-gpu ecinteractive or JupyterHub sessions, you can enjoy some fast, local SSD storage that can be persisted across sessions in addition to the usual filesystems available. Made available as $LOCALSSD
, its contents are automatically archived into your $HPCPERM
when your interactive session finishes so you can recover them on your next session and continue where you left off. This feature is primarily aimed to speed up development workflows where builds are required.
Before starting your standard, non-gpu interactive session, make sure you request the amount of local disk space you are going to require.
ecinteractive -s 30 |
When your session starts, you will have a space in the local disk pointed to by $LOCALSSD environment variable that you can use in your session
Both $LOCALSSD and $TMPDIR will share the same quota |
At the end of the session, either by your choice killing the session or wall time, the contents of $LOCALSSD will be archived automatically into a special directory in your $HPCPERM under:
$HPCPERM/.DO_NOT_DELETE_LOCALSSD_ARCHIVE/ |
Note that:
There is no automatic restore of your LOCALSSD contents, so next time you open a new interactive session, you will be able to restore the contents of the local storage from your previous one running the following command:
ec_restore_local_ssd |
If you do not restore after starting a new session and you use the $LOCALSSD, a new archive will be created when the job ends and so you will not have the previous data in this archive. Only one backup is kept from the previous archive in case you make a mistake. |
You must request how much space you need when you start your interactive session as described above. You will not be able to exceed that limit while in that interactive session.
Default size | Maximum size | |
---|---|---|
HPC interactive session | 3 GB | 100 GB |
ECS Interactive session | 3 GB | 20 GB |