Group: comp.os.linux.networking


Subject: scp 3G file on 125MB/s network slow at 25MB/s why?
From: Rikishi 42
Date: 12/6/2007 8:59:15 PM
On 2007-12-06, gavino <gavcomedy@gmail.com> wrote: > With a Gig nic on 2 boxes on same subnet I get only 25MB /s using scp > to transfer large movie files. > > Why so low? It could be limited by: - reading on one side - writing on the other - scp, which can slow things down a bit > I should get 125MB /s from the Gig nics yes? Round it to 100. But do you have disks that can handle even half of that ? Basically, you're measuring the reading speed of your source disk. And if someone starts talking about cache or buffers, on that machine, just ignore them. No matter wxhat the cache, it has to be filled from the disk, first. On the destination side, you can avoid HD bottleneck if your file fits in the available ram. Wanna find the max speed for a *file* transfer, with your hardware? 1. On the source: copy the file from 1 dir to another. That will put it in ram (if you have enough). 2. scp it to the destination machine 3. now try the same with ftp -- There is an art, it says, or rather, a knack to flying. The knack lies in learning how to throw yourself at the ground and miss. Douglas Adams