Difference between revisions of "BwForCluster NEMO Hardware and Architecture"

From bwHPC Wiki
Jump to: navigation, search
m (Compute and Special Purpose Nodes)
Line 1: Line 1:
== System Architecture ==
== System Architecture ==
The bwForCluster [https://www.hpc.uni-freiburg.de/ NEMO] is a high-performance compute resource with high speed interconnect. It is intended for compute activities related to research in for researchers from the fields '''N'''euroscience, '''E'''lementary Particle Physics and '''M'''icrosystems Engineering (NEMO).
The bwForCluster [https://www.hpc.uni-freiburg.de/ NEMO] is a high-performance compute resource with high speed interconnect. It is intended for compute activities related to research in for researchers from the fields '''N'''euroscience, '''E'''lementary Particle Physics, '''M'''icrosystems Engineering and '''M'''aterials Science (NEMO).
{| style="width: 100%; border-spacing: 5px;"
{| style="width: 100%; border-spacing: 5px;"

Revision as of 16:14, 10 February 2020

1 System Architecture

The bwForCluster NEMO is a high-performance compute resource with high speed interconnect. It is intended for compute activities related to research in for researchers from the fields Neuroscience, Elementary Particle Physics, Microsystems Engineering and Materials Science (NEMO).

Figure: bwForCluster NEMO Schematic

Figure: bwForCluster NEMO Schematic

1.1 Operating System and Software

1.2 Compute and Special Purpose Nodes

For researchers from the scientific fields Neuroscience, Elementary Particle Physics, Microsystems Engineering and Materials Science the bwForCluster NEMO offers 912 compute nodes plus several special purpose nodes for login, interactive jobs, visualization and machine learning.

See bwForCluster NEMO Specific Batch Features for queuing gpu and visualization nodes!

Node specification:

Compute Nodes Login / Interactive Nodes Memory Nodes Visualization Nodes GPU Node
Quantity 912 2 login / 4 interactive 4 med / 4 high 2 1
Processors 2 x Intel Xeon E5-2630v4 (Broadwell) 1 x AMD EPYC 7551P
Processor Frequency (GHz) 2,2 2,0
Number of Cores per Node 20 64 (32 /w enabled SMT)
Accelerator --- 1 x Nvidia T4 8 x Nvidia V100 32GiB
Working Memory DDR4 (GB) 128 256 / 512 128 256
Local SSD (GB) 240 960
Interconnect Omni-Path 100
 The OS needs memory as well. Only about 120 / 250 / 500 GB RAM are available for jobs.
 Maximum memory specification for standard nodes therefore is '-l pmem=6GB'.

2 Storage Architecture

The bwForCluster NEMO consists of two separate storage systems, one for the user's home directory $HOME and one serving as a workspace. The home directory is limited in space and parallel access but offers snapshots of your files and Backup. The workspace is a parallel file system which offers fast and parallel file access and a bigger capacity than the home directory. This storage is based on BeeGFS and can be accessed parallel from many nodes. Additionally, each compute node provides high-speed temporary storage (SSD) on the node-local solid state disk via the $TMPDIR environment variable.

$HOME Workspace $TMPDIR
Visibility global (GbE) global (Omni-Path) node local
Lifetime permanent workspace lifetime (max. 100 days, extension possible) batch job walltime
Capacity 45 TB 768 TB 200 GB per node
Quotas 100 GB per user 20 TB / 1 Million files per user none
Backup snapshots + tape backup no no
 global             : all nodes access the same file system
 local              : each node has its own file system
 permanent          : files are stored permanently
 batch job walltime : files are removed at end of the batch job

2.1 $HOME

Home directories are meant for permanent file storage of files that are keep being used like source codes, configuration files, executable programs etc.; the content of home directories will be backed up on a regular basis. The files in $HOME are stored on a Isilon OneFS and provided via NFS to all nodes.

 Compute jobs on nodes must not write temporary data to $HOME.
 Instead they should use the local $TMPDIR directory for I/O-heavy use cases
 and workspaces for less I/O intense multinode-jobs.

2.2 Workspaces

Workspaces can be generated through the workspace tools. This will generate a directory on the parallel storage with a limited lifetime. When this lifetime is reached the workspace will be deleted automatically after a grace period. Workspaces can be extended to prevent deletion. You can create reminders and calendar entries to prevent accidental removal.

To create a workspace you'll need to supply a name for your workspace area and a lifetime in days. For more information read the corresponding help, e.g: ws_allocate -h.

Defaults and maximum values:

Default and maximum lifetime (days) 100
Maximum extensions 99


Command Action
ws_allocate my_workspace 100 Allocate a workspace named "my_workspace" for 100 days.
ws_list List all your workspaces.
ws_find my_workspace Get absolute path of workspace "my_workspace".
ws_extend my_workspace 100 Set expiration date of workspace "my_workspace" to 100 days (regardless of remaining days).
ws_release my_workspace Manually erase your workspace "my_workspace" and release used space on storage (remove data first for immediate deletion of the data).

2.2.1 Sharing Workspace Data within your Workgroup

Data in workspaces can be shared with colleagues. Making workspaces world readable/writable using standard unix access rights is strongly discouraged. It is recommended to use ACL (Access Control Lists).

Best practices with respect to ACL usage:

  • Take into account that ACL take precedence over standard unix access rights
  • Use a single set of rules at the level of a workspace
  • Make the entire workspace either readonly or readwrite for individual co-workers
  • Optional: Make the entire workspace readonly for your Rechenvorhaben (group bwYYMNNN), e.g. for large input data
  • If a more granular set of rules is necessary, consider using additional workspaces
  • The owner of a workspace is responsible for its content and management

Please note that ls (List directory contents) shows ACLs on directories and files only when run as ls -l as in long format, as "plus" sign after the standard unix access rights.

Examples with regard to "my_workspace":

Command Action
getfacl $(ws_find my_workspace) List access rights on the workspace named "my_workspace"
setfacl -Rm u:fr_xy1001:rX,d:u:fr_xy1001:rX $(ws_find my_workspace) Grant user "fr_xy1001" read-only access to the workspace named "my_workspace"
setfacl -Rm u:fr_xy1001:rwX,d:u:fr_xy1001:rwX $(ws_find my_workspace) Grant user "fr_xy1001" read and write access to the workspace named "my_workspace"
setfacl -Rm g:bw16e001:rX,d:g:bw16e001:rX $(ws_find my_workspace) Grant group (Rechenvorhaben) "bw16e001" read-only access to the workspace named "my_workspace"
setfacl -Rb $(ws_find my_workspace) Remove all ACL rights. Standard Unix access rights apply again.

2.3 Local Disk Space

All compute nodes are equipped with a local SSD with 240 GB capacity (usable 200 GB). During computation the environment variable $TMPDIR points to this local disk space. The data will become unavailable as soon as the job has finished.

2.4 Limits and best practices

To keep the system in a working state for all users, users are asked to respect the limits ("quotas") on the the parallel filesystem, i.e. on workspaces.

Per user, the following restrictions apply:

  • Restriction on size: 20 Terabytes
  • Restriction on of files chunks: 4.000.000

You can check your current usage in the workspaces with the following command:

 beegfs-ctl --getquota --uid $USER

Note that "chunk files" roughly translates to 4 times number of files.

If you are over quota, please start deleting files. Just deleting the workspace (with ws_release) or abandoning it (by not extending) will not reduce your quota: The files in there still exist for a grace period of several days.

Please note the following best practice using the parallel filesystem (i.e. workspaces):

  • The parallel file system works optimal with medium to large files, large quantities of very small files significantly reduce performance and should be avoided
  • Temporary files should not be kept there. Consider using $TMPDIR for these. This is the SSD local to the compute node. Additional benefit: It's faster...
  • There is no backup for workspaces. Final results you cannot afford to loose should go to your home-directory or (better yet) be archived outside NEMO

3 High Performance Network

The compute nodes all are interconnected through the high performance network Omni-Path which offers a very small latency and 100 Gbit/s throughput. The parallel storage for the workspaces is attached via Omni-Path to all cluster nodes. For non-blocking communication 17 islands with 44 nodes and 880 cores each are available. The islands are connected with a blocking factor of 1:11 (or 400 Gbit/s for 44 nodes).