SCP/RCP stats ?

SCP/RCP stats ?

am 27.08.2007 10:10:44 von rv

Hello,

I've made a network application that make a syncronisation of several
computers. This app works with the "RSync" command that is based on
SSH. I would to know the difference between SCP and a simple RCP
concerning CPU load, network load, and the augmentation of the size of
a compressed packet compared to a non-compressed packet.

It is a tool to know this kind of informations ???

Thanks

RV

Re: SCP/RCP stats ?

am 28.08.2007 00:51:02 von Ben Morrow

Quoth RV :
> Hello,
>
> I've made a network application that make a syncronisation of several
> computers. This app works with the "RSync" command that is based on
> SSH. I would to know the difference between SCP and a simple RCP
> concerning CPU load, network load, and the augmentation of the size of
> a compressed packet compared to a non-compressed packet.
>
> It is a tool to know this kind of informations ???

This is not a Perl question. You would probably get better answers
elsewhere, such as a forum dealing with SSH, rsync, or your OS.

Note that rsync-over-ssh is not at all the same thing as scp. What is it
you wish to compare? rsync-over-ssh to scp (likely to be much more
efficient in terms of network load, while using more CPU time)?
rsync-over-ssh to rsync-over-rsh (likely to be less efficient in terms
of both network load and CPU time, while being secure)?

In any case, you can find out various things about the raw network
packets sent with tcpdump; you can measure the CPU time required for a
transfer crudely with time(1) or top(1), or less crudely with something
like gprof(1) or Devel::DProf.

Ben

--
Like all men in Babylon I have been a proconsul; like all, a slave ... During
one lunar year, I have been declared invisible; I shrieked and was not heard,
I stole my bread and was not decapitated.
~ ben@morrow.me.uk ~ Jorge Luis Borges, 'The Babylon Lottery'