Re: Ramfs and Cachless Networking.
On Wed, Sep 26, 2001 at 10:44:05AM -0400, email@example.com 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
When we reduce our own liberties to stop terrorism, the terrorists
have already won. - reverius