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

Re: Ramfs and Cachless Networking.

On Wednesday, September 26 2001 11:27 am, Dave Sherohman wrote:
> On Wed, Sep 26, 2001 at 10:44:05AM -0400, igor@ta2000.dyndns.org wrote:
> > I tried to use scp, but I guess it was caching the info somewhere because
> > I was getting the same transfer speeds as from HDs.
> That's a good possibility.  Your test could easily be corrupted on
> either side - the send-from-disk could have been thrown off by the OS
> caching the files in RAM and the send-from-RAM could be thrown off if
> the ramfs had been swapped out.  Linux uses both caching and virtual
> memory pretty aggressively.
> OTOH, as a previous poster suggested, it seems more likely that your
> hard disk is just faster than your network connection, in which case
> I would expect to get the same results either way.
> > Question: Can I tweak scp or use something else to send files directly
> > from RAM of one computer into another as fast as possible ?
> Why does it need to come out of RAM?  Make it up on the fly - pipe
> /dev/urandom or the output of `while /bin/true ; do echo 0 ; done`
> across the network and you don't have to worry about the data being
> cached.

What would the exact syntax of that command be ?
I'm kinda a newbie to linux. Would you please let me which commands I need to 
type on both computers to the network performance.


Reply to: