Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Performance Discrepancy: Velox Accelerates Spark on x86 but Not on ARM #8514

Open
sachin220594 opened this issue Jan 13, 2025 · 0 comments
Open
Labels
bug Something isn't working triage

Comments

@sachin220594
Copy link

sachin220594 commented Jan 13, 2025

Backend

VL (Velox)

Bug description

I conducted a performance comparison of Spark with and without Velox on both x86 and ARM architectures using the TPC-H Query 5. The results indicate that while Velox enhances performance on x86, it does not yield the same improvement on ARM.

Observed Performance Metrics:
x86 Environment:
Without Velox: 109.37 seconds
With Velox: 44.04 seconds
Improvement: ~59.7% reduction in execution time
ARM Environment:
Without Velox: 102.82 seconds
With Velox: 102.96 seconds
Improvement: No significant improvement observed

Spark version

Spark-3.5.x

Spark configurations

--conf spark.memory.offHeap.enabled=true
--conf spark.memory.offHeap.size=12g
--conf spark.gluten.sql.columnar.forceShuffledHashJoin=true
--conf spark.driver.memory=4G
--conf spark.executor.instances=1
--conf spark.executor.memory=30G
--conf spark.executor.cores=16
--conf spark.sql.shuffle.partitions=32
--conf spark.executor.memoryOverhead=2g
--conf spark.driver.maxResultSize=2g

System information

Configuration Details:
Hardware Details:
x86 Environment:
Instance Type: m6i.4xlarge
CPU: Intel Xeon (Ice Lake)
Cores: 16 vCPUs
RAM: 64 GB
ARM Environment:
Instance Type: m7g.4xlarge
CPU: AWS Graviton3
Cores: 16 vCPUs
RAM: 64 GB

Relevant logs

No response

@sachin220594 sachin220594 added bug Something isn't working triage labels Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage
Projects
None yet
Development

No branches or pull requests

1 participant