Configuring GPU acceleration for Spark workloads
Define the use of GPU acceleration for Spark workloads on the following UI screens.
-
Configure the Cloudera Data Engineering deployment form on the Anywhere Cloud Marketplace: in the Recommended Cloudera Data Engineering GPU Nodes section, define Cloudera Data Engineering GPU nodes for running GPU-accelerated Apache Spark
workloads for Nvidia cuDF Spark.
- In the Cluster Configuration section, select the
Create New Cluster option, and in the Recommended
Cloudera Data Engineering GPU Nodes section, configure the
following options:
- Node count. Use 1 node for development. Use 3 or more nodes for production GPU workloads.
- Storage Per Nodes value in GB. The recommendation is 200 GB for Spark shuffle and job logs.
- In the Required Engines section, in the Cloudera Data Engineering Compute engine configuration
section, configure the GPU-related options:
- Select the Spark 4 GPU
check-box.
This option enables GPU for this compute instance, ensuring all Spark jobs run on dedicated GPU nodes configured with Nvidia cuDF Spark.
- Configure the GPU: Maximum GPU option. This option specifies the maximum number of GPUs this compute instance may consume.
For more information, see Deploying a new instance of Cloudera Data Engineering on Anywhere Cloud using a new Kubernetes cluster.
- Select the Spark 4 GPU
check-box.
- In the Cluster Configuration section, select the
Create New Cluster option, and in the Recommended
Cloudera Data Engineering GPU Nodes section, configure the
following options:
-
Configure the Cloudera Data Engineering Job to use a GPU-enabled Spark
Compute.
-
In the Jobs & Runs > Definitions tab > Configuration tab > Spark Compute Options tab, in the GPU Executor Resources section, configure
GPU-acceleration through Nvidia cuDF Spark for Cloudera Data Engineering Jobs.
For more information about Job creation, see Creating jobs in Cloudera Data Engineering.
Configure the following GPU-related options:
- Driver resources
- Driver CPU
- Driver Memory
- GPU resources
- Executors
- Executor CPU
- Executor Memory
- Driver resources
