Comments (4)
This is actually a really interesting problem. Compression often is a bottleneck, but sometimes it's the network in the end.
I think the ideal solution is dynamic compression, most likely with lzo since it's normally not CPU bound. You can vary the rate by adjusting compression until the input read speed is highest (since input read rates effectively slow down as output gets slowed down). That might be no compression or max compression.
I haven't seen any utilities that do this, but it should be... not easy but relatively straight forward. And should work without caveats.
from wdt.
Hey, compression is on the things we want to do. We have an ongoing effort (but not high pri yet), but you will see it soon in WDT. In the time being:
- We use gzip in wcp (https://github.com/facebook/wdt/blob/master/wcp.sh#L87)
- In WDT we have done some testing using folly compression https://github.com/facebook/folly/blob/master/folly/io/Compression.h#L56
Look at Snappy and LZ4_VARIANT
Please feel free to share any experience you have had with respect to compression and tell us more about what are you using WDT with.
from wdt.
Thanks for your reply. I am testing WDT for transferring log file between two machines, use disk, but the speed is not so good, about 18Mbytes/sec. If adding compression and write data using pwrite function, i think the throughput could be higher.
from wdt.
Try with -block_size_mbytes=-1 and -num_ports=1.
In case of disk, just one writer thread generally gives best throughput. We have multiple threads to optimize for flash.
Also you can use -enable_perf_stat_collection to find out which system calls are taking more time.
Let us know if that improves throughput or not.
from wdt.
Related Issues (20)
- Error: wdt building with cygwin64 on windows
- Error in gtest when building HOT 4
- client listen to server for some minutes on wdt HOT 1
- configuration breaks: implicitly converting 'Bool' to 'STRING' type. HOT 1
- build failed on ubuntu20.04 HOT 1
- build wdt_url_test failed HOT 5
- fatal error: 'wdt/Wdt.h' file not found HOT 5
- Any plans to make new release? HOT 6
- Regression – build no longer works (using cmake on Ubuntu 18.04) HOT 2
- Socket timeout issue
- Build instructions on building glog from source are no longer correct
- build failed, help me, please HOT 6
- build failed
- /usr/ports/net/wdt/work/wdt-1.27.1612021-190-g6a122f2/../folly/folly/Conv.h not found
- fatal error: 'wdt/util/FileCreator.h' file not found
- error: incompatible integer to pointer conversion assigning to 'char *' from 'int'
- M1 mac dose not work
- Project status HOT 2
- Build Error : Undefined reference to folly::detail::SimdSplitByCharImplToStrings HOT 3
- Cant transfer data[need help] HOT 4
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 wdt.