I want to test transfer speeds from server A to server B, but server A has limited disk space (<50GB) and because the network speeds are fast within the same data center, transferring 50 GB may be too quick to use as a benchmark. Server B has basically unlimited disk space.
Is there a way to transfer a "file" from server A (e.g. as a stream of data that is too large to fit on server A, something like 1 TB) so that I can repeatedly test the network transfer speeds to server B?
One option would be to transfer from server B to server A, and put the file directly into /dev/null
, although I haven't tested this, and I would prefer server A to B because server A has only ssh keys and server B allows ssh via password.