User Tools

Site Tools


services:cluster:usetmpforio

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
services:cluster:usetmpforio [2024/04/26 14:11] hoffmac00services:cluster:usetmpforio [2024/04/26 14:19] (current) hoffmac00
Line 1: Line 1:
 ====== Use /tmp for I/O intensive single node jobs ====== ====== Use /tmp for I/O intensive single node jobs ======
  
-Jobs that do a lot of I/O operations on a shared cluster filesystem like ''/scratch'' can severely slow down the whole system. If your job does not use multiple nodes and is not reading and writing very large files, it might be a good idea to move input and output files to the ''/tmp'' folder on the compute node itself. ''/tmp'' is a RAM based filesystem, meaning that anything you store there is actually stored in memory. So space is quite limited. Currently you can use at most 24GB of ''/tmp'' space. Since ''/tmp'' uses RAM, usage also counts towards the allocated memory limit (e.g. --mem or --mem-per-cpu settings). So the memory that the process uses during calculation plus the amount of data stored in files below /tmp can not exceed the total amount of RAM installed in the compute node. Let's look at some examples...+Jobs that do a lot of I/O operations on a shared cluster filesystem like ''/scratch'' can severely slow down the whole system. If your job does not use multiple nodes and is not reading and writing very large files, it might be a good idea to move input and output files to the ''/tmp'' folder on the compute node itself.
  
-===== Please note: usable space below /tmp is limited by the --mem option =====+''/tmp'' is a RAM based filesystem, meaning that anything you store there is actually stored in memory. So space is quite limited. Currently all jobs on a node can use at most 20% of the total system memory for space in ''/tmp''. If you need more space, you should consider using ''/dev/shm'', where you can use up to 50% of the total system memory per job.
  
 +
 +<note important>
 +Usable space below /tmp and /dev/shm counts towards your job's memory usage and thus is limited by the ''--mem'' option
 +</note>
services/cluster/usetmpforio.1714140675.txt.gz · Last modified: 2024/04/26 14:11 by hoffmac00

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki