4 ms·
there's a constant size overhead, and file copying is network, not cpu limited (isn't it?). so why would large files be significantly slower?
by andrewcooke 14y ago
there's a constant size overhead, and file copying is network, not cpu limited (isn't it?). so why would large files be significantly slower?
- diginux 14y agoI am not sure it is fair to say scp is cpu limited per se, but it is slow. A quick article that may help you out: http://intermediatesql.com/linux/scrap-the-scp-how-to-copy-data-fast-using-pigz-and-nc/ http://intermediatesql.com/linux/scrap-the-scp-how-to-copy-d...
- andrewcooke 14y agoif you read the article, it's because the faster alternatives use multiple streams and/or use compression. it's got nothing to do with encryption. and you can get scp to compress your data first (-C).
- diginux 14y agoCompression also slows it down: http://www.spikelab.org/transfer-largedata-scp-tarssh-tarnc-compared/ http://www.spikelab.org/transfer-largedata-scp-tarssh-tarnc-... This has been my experience in practice, too.