Comments (6)
Hi @YutingWang98, this is interesting finding! For the size 720 TB/370 TB, is this disk file size, or the stats shown in Spark UI?
from remoteshuffleservice.
Hi @hiboyang, thank you for the reply! It is the stats from spark UI stage tab ('Shuffle Write Size / Records' value). Also, I just did more tests on a same job and here are my findings:
Remote shuffle service
- rss without compression: 5.7GB
- rss with compression (lz4): 3.1GB
- made changes in rss and allow it to use zstd:
- compression level=1 2.4 GB
- compression level=7 2031 MB
External shuffle service
- default setting (zstd compression, compression level=1): 1927 MB
- without compression (spark.shuffle.service.enabled=false): 5.6GB
- other compressions methods
- spark.io.compression.codec=lz4: 2.7 GB
- spark.io.compression.codec=lzf 2.7GB
- spark.io.compression.codec=snappy 2.7 GB
So, I think switching to zstd might be helpful.
from remoteshuffleservice.
Nice to know zstd has better compression ratio. I created a PR to support zstd in RSS: https://github.com/uber/RemoteShuffleService/pull/91/files
from remoteshuffleservice.
Thank you! WIll test our job with this new change. Also I think in spark compression, the zstd compression level 'spark.io.compression.zstd.level' is set to 1 as default. But I saw you are using level 3 as default. Is there any specific reason for it?
from remoteshuffleservice.
No specific reason :) I changed it to level 1 in the PR, but forgot to reply the comment here.
from remoteshuffleservice.
I saw your changes in the pull request! Thanks so much.
from remoteshuffleservice.
Related Issues (20)
- [Spark 3] RSS performance with Adaptive Skew Join Optimization HOT 3
- Corrupted block detected during decompression
- spark 3.0 HOT 4
- Using remote shuffle service with Spark operator HOT 2
- Shuffle Files Storage Is stored by default.Whether alluxio storage is supported and how to implement it. HOT 5
- write amplification HOT 2
- fault tolerance of restarting server HOT 7
- Does RSS support multiple StreamServers on the same node? HOT 4
- Metrics in ScheduledMetricCollector
- hit exception writing heading bytes XXXXX HOT 8
- How long the shuffle data of each ShuffleStage will be stored in RSS nodes? HOT 6
- Root directory not configurable via Helm chart
- Disk damage causes failure HOT 10
- How to evaluate rss cluster size? HOT 1
- Can Rss have stage retry when one server is down? HOT 13
- what may cause RssInvalidServerVersionException? HOT 2
- Does zeus only support jdk 11 + HOT 2
- Does Rss support YARN executor preemption?
- Spark 3.1/3.2 failed sql skew and local reader tests HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from remoteshuffleservice.