Ximin Luo wrote: > Florent Daigniere wrote: >> Bottom line is: you invest some CPU cycles, you end up inserting faster >> (less blocks to insert) and people will enjoy faster downloads (less >> blocks to download)! > > erm, downloaders will have to decompress the data too. if it takes a long time > to compress, it will take a long time to decompress. that could be slower than > downloading 3% extra blocks, and will take up quite a bit of CPU use... > > X >
Modern compression algorithms allow FAST decompression. We are talking 10 to 20 times faster here! http://en.wikipedia.org/wiki/Lempel-Ziv-Markov_chain_algorithm # Compression speed: approximately 1 MiB per second on a 2 GHz CPU # Decompression speed: 10-20 MiB per second on a 2 GHz CPU Anyway, the assumption is and has always been that CPU cycles are cheap contrary to network traffic. Moore's law doesn't apply to networks. Florent