Head to head

Gluten vs cuDF for Spark: which lowers Spark compute cost?

No overall score: Apache Gluten is outside our lead question (Not documented for Amazon EMR on the pages reviewed). Gluten scores higher on Hardware independence, Pricing and trial transparency and Openness; cuDF for Spark scores higher on Cost mechanism and evidence, Adoption effort, Fit on platforms you already run and Maturity and support. cuDF for Spark documents Amazon EMR; Gluten does not document it on the pages reviewed.

By The Meter DeskSpark Cost Compare

Desk research from public vendor and project pages. Editorial assessment; we did not run the products.

How do the scores compare?

Gluten and cuDF for Spark: scores by criterion (0 to 10)
CriterionGlutencuDF for SparkHigher
Cost mechanism and evidence 30%67cuDF for Spark
Adoption effort 20%57cuDF for Spark
Fit on platforms you already run 10%59cuDF for Spark
Hardware independence 5%74Gluten
Pricing and trial transparency 10%98Gluten
Openness 10%109Gluten
Maturity and support 15%79cuDF for Spark

Which cost levers does each document?

Documented by the vendorNot documented on the pages reviewed

Gluten

1 of 4 levers: fewer instance hours

cuDF for Spark

1 of 4 levers: fewer instance hours

Where does each run?

Gluten

Amazon EMR: Not documentedEMR on EKS: Not documentedDatabricks: Not documentedSelf-managed Spark: Documented

Binaries are published for Spark 3.3, 3.4, 3.5, 4.0 and 4.1. Managed platforms are not documented on the pages reviewed.

cuDF for Spark

Amazon EMR: DocumentedEMR on EKS: Not documentedDatabricks: DocumentedSelf-managed Spark: Documented

NVIDIA documents EMR, Databricks, Dataproc, GKE, Azure Synapse, Kubernetes, on-prem and OCI. EMR on EKS is not named on the pages reviewed.

What does each cost to adopt?

Gluten

Pricing

Free. Apache 2.0, no license fee.

Source: Apache Gluten homepage

Trial
Free download.
Hardware
Runs on CPUs. Binaries are compiled on CentOS 7 and Intel Xeon Platinum 8272CL; the project says performance and compatibility are not guaranteed on other operating systems or hardware.
Adoption
No query changes, but setup needs spark.plugins=org.apache.gluten.GlutenPlugin, off-heap memory and the ColumnarShuffleManager. Spill support is marked experimental.
License
Apache 2.0

cuDF for Spark

Pricing

No plugin fee. You pay for GPU instance hours at your cloud's published rates.

Source: NVIDIA/spark-rapids on GitHub

Trial
Free to download and run.
Hardware
NVIDIA GPUs, Volta or later. On EMR, core and task nodes must be GPU instance types; ARM is not supported.
Adoption
AWS states it works "without code changes" on EMR 6.2.0 and later: set enableSparkRapids, YARN GPU settings, spark.plugins=com.nvidia.spark.SQLPlugin and the DominantResourceCalculator.
License
Apache 2.0

What figures does each publish?

Gluten

Vendor states

"TPC-H: Overall 3.34x speedup with Gluten + Velox"

Source: Apache Gluten homepage

Vendor figure. Not measured by Spark Cost Compare.

Vendor states

"TPC-DS: Overall 3.02x speedup"

Source: Apache Gluten homepage

Vendor figure. Not measured by Spark Cost Compare.

Vendor states

"Up to 23.45x speedup on individual queries"

Source: Apache Gluten homepage

Vendor figure. Not measured by Spark Cost Compare.

cuDF for Spark

NVIDIA headline performance figures were not collected for this page.

Which should you choose?

Choose Gluten if

you value an open-source license and seeing the price before a sales call. Best fit: Teams running self-managed Spark who can tune off-heap memory and want an Apache-governed engine.

Choose cuDF for Spark if

you value a visible release and support record and documentation on the platforms you already run. Best fit: Teams that can run GPU instances and want an open-source engine documented on many platforms.

Common questions

Which scores higher overall, Apache Gluten or NVIDIA cuDF for Apache Spark?

No overall score: Apache Gluten is outside our lead question (Not documented for Amazon EMR on the pages reviewed). The bill estimator lets you re-weight the scores for your platform.

Do Apache Gluten and NVIDIA cuDF for Apache Spark run on Amazon EMR?

Apache Gluten: Not documented on the pages reviewed. Binaries are published for Spark 3.3, 3.4, 3.5, 4.0 and 4.1. Managed platforms are not documented on the pages reviewed. NVIDIA cuDF for Apache Spark: Yes. NVIDIA documents EMR, Databricks, Dataproc, GKE, Azure Synapse, Kubernetes, on-prem and OCI. EMR on EKS is not named on the pages reviewed.

Which is cheaper to adopt?

Apache Gluten: Free. Apache 2.0, no license fee. NVIDIA cuDF for Apache Spark: No plugin fee. You pay for GPU instance hours at your cloud's published rates. Neither figure includes the instance hours your jobs use.

Read next