Run DRAGEN in Bench - Interactive
Introduction
DRAGEN can run in Bench workspaces
In either FPGA mode (hardware-accelerated) or software mode when using FPGA instances. This can be useful when comparing performance gains by hardware acceleration or to distribute concurrent processes between the FPGA and cpu.
In software mode when using non-FPGA instances.
The DRAGEN command line parameters to specify the location of the licence file are different.
FPGA mode uses
LICENSE_PARAMS=``"--lic-instance-id-location /opt/dragen-licence/instance-identity.protected --lic-credentials /opt/dragen-licence/instance-identity.protected/dragen-creds.lic"Software mode uses
LICENSE_PARAMS="--sw-mode --lic-credentials /opt/dragen-licence/instance-identity.protected/dragen-creds-sw-mode.lic"
DRAGEN Bench Images
DRAGEN software is provided in specific Bench images with names starting with Dragen. For example (available versions may vary):
Dragen 4.4.1 - Minimalprovides DRAGEN 4.4.1 and SSH accessDragen 4.4.6provides DRAGEN 4.4.6, SSH and JupyterLab.
Prerequisites
Memory
The instance type is selected during workspace creation (Projects > your_project > Bench > Workspaces). The amount of RAM available on the instance is critical. 256GiB RAM is a safe choice to run DRAGEN in production. All FPGA2 instances offer 256GiB or more of RAM.
When running in Software mode, use himem-large (348GiB RAM) or hicpu-large (144 GiB RAM) to ensure enough RAM is available for your runs.
FPGA-mode
Using an fpga2-medium instance type.
Example
Software-mode
Using a standard-xlarge instance type.
Software mode is activated with the DRAGEN --sw-mode parameter.
Example
Last updated
Was this helpful?
