Research Computing Dos and Don'ts: Difference between revisions

From Stat DS Computing Wiki
Jacobg2 (talk | contribs)
No edit summary
Jacobg2 (talk | contribs)
No edit summary
Line 1: Line 1:
=== 1- Do Respect Your Storage Usage ===
=== 1 - Do Respect Your Storage Usage ===
The main storage location at "/home/yourusername" is located on a network storage device (NAS) and shared by every user in the department. The NAS has a large amount of space, but when you divide that by the number of total users, it can fill up quick. Please monitor your storage usage and delete unused data. Run the command below to view the size of your home directories. The larger your directory, the longer this command will take to run.<syntaxhighlight lang="bash">
The main storage location at "/home/yourusername" is located on a network storage device (NAS) and shared by every user in the department. The NAS has a large amount of space, but when you divide that by the number of total users, it can fill up quick. Please monitor your storage usage and delete unused data. Run the command below to view the size of your home directories. The larger your directory, the longer this command will take to run.<syntaxhighlight lang="bash">
du -sh ~/.[!.]* | sort -hr
du -sh ~/.[!.]* | sort -hr
</syntaxhighlight>
</syntaxhighlight>
=== 2 - Do not max out the server ===
Our servers are much more powerful than your laptop, but still can't handle running a dozen high output jobs at once. If you run too much on a single server, your session can become slow or even time out. Other users may not be able to connect to the server, rendering it useless for everyone until your job finishes.

Revision as of 12:57, 24 March 2026

1 - Do Respect Your Storage Usage

The main storage location at "/home/yourusername" is located on a network storage device (NAS) and shared by every user in the department. The NAS has a large amount of space, but when you divide that by the number of total users, it can fill up quick. Please monitor your storage usage and delete unused data. Run the command below to view the size of your home directories. The larger your directory, the longer this command will take to run.

du -sh ~/.[!.]* | sort -hr

2 - Do not max out the server

Our servers are much more powerful than your laptop, but still can't handle running a dozen high output jobs at once. If you run too much on a single server, your session can become slow or even time out. Other users may not be able to connect to the server, rendering it useless for everyone until your job finishes.