[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Speeding up scp (Was: Re: Ramfs and Cachless Networking.)



Viktor Rosenfeld <rosenfel@informatik.hu-berlin.de> wrote:
> Samuli Suonpaa wrote:
>> $ time scp -c 3des -q oberon:/var/www/testi.100M /dev/zero
>> 
>> real	1m28.652s
>> user	0m0.050s
>> sys	0m0.450s
>> $ time scp -c blowfish -q oberon:/var/www/testi.100M /dev/zero 
>> 
>> real	0m27.329s
>> user	0m0.070s
>> sys	0m0.390s
>> 
>> Nice difference, right?
> Stop!  Could the file /var/www/testi.100M be in the OS cache during
> the second try?  

It was, but it was there the first time also, I deliberately ran both
these commands a couple of times and only reported the last attempt.
(Should have mentioned that, though.)

> If not, than a 300% speed improvement is certainly nice.

It certainly is.

Suonpää...



Reply to: