You are not logged in.

#1 2022-05-13 06:35:36

makh
Member
Registered: 2011-10-10
Posts: 280

Faster data transfer between two pcs

Hi

Usually in the past we had good ol' desktops with IDE or sata ports. Simply plug out the disk and put it in to the other pc. Data used to be small and the transfer was perhaps fastest. Only bottleneck to attach & detach the desktop screws and hard disk.

Now with 500GB or plus hard disks and using laptop, isnt that simple; I havent opened any laptop yet!!!

I searched around to find that the ssh was a decent option; but it maxed to 2.5 Mbps or 3 Mpbs with slowing down to even 250 kBps; using my usual router. I stopped the process; my external may easily do that from 11 to 60/80 mbps, but with two steps.

Anyways: is there some other method I couldnt get to know of to transfer data fast directly; usually I dont get to do such a task often; but still if some thing can play magic and save time; the next time possibly!

Thanks in advance!


OS:  Arch  &  Debian
System: HP Probook 440 G2
WM: Openbox

Offline

#2 2022-05-13 14:48:46

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 18,318

Re: Faster data transfer between two pcs

I assume you have a high bandwidth link between the machines.  At least 100 Mb/s, preferably 1000 Mb/s
Just as a sanity check, did ssh (probably sftp) report in Mb/s (megabits per second) or in MB/s (megabytes per second)?

You might try rsync.   
If that is not fast enough, you might try setting up a ]NFS

Neither of those are encrypted.  rync can be made to use an ssh tunnel but, encryption will probably slow things down a little.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#3 2022-05-13 23:05:02

makh
Member
Registered: 2011-10-10
Posts: 280

Re: Faster data transfer between two pcs

ewaller wrote:

I assume you have a high bandwidth link between the machines.  At least 100 Mb/s, preferably 1000 Mb/s
Just as a sanity check, did ssh (probably sftp) report in Mb/s (megabits per second) or in MB/s (megabytes per second)?

You might try rsync.   
If that is not fast enough, you might try setting up a ]NFS

Neither of those are encrypted.  rync can be made to use an ssh tunnel but, encryption will probably slow things down a little.

Hi,

I think probably the router is 100 MBps, not more.

2. ssh used MB/s (megabytes per second)

3. I shall give rsync a shot, just to test it.

4. I dont know how: but probably if one machine is set as hotspot, probably it would have been pretty faster; though I dont know how to do that yet!

5. I understand: You mean that rsync will be used via samba/NFS by default, but could be used with ssh also.

6. NFS is also a definite option. But my concern was that since ssh didnt take much speed; than NFS will not play pretty better either!

7. Looking around more: someone suggests to use USB 3 to USB 3 cable or USB bridged cable for the fastest transfer; but theres no easy application to do that in linux. A utility usbnet needs to be configured and given IP somehow. [PRECAUTION: Do not connect USB 1.x or USB 2.x directly; use a Bridged cable. But USB 3.x can be connected directly]

Thank you

Edit-1: Point #7 above.

Last edited by makh (2022-05-13 23:11:11)


OS:  Arch  &  Debian
System: HP Probook 440 G2
WM: Openbox

Offline

#4 2022-05-14 00:18:25

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 18,318

Re: Faster data transfer between two pcs

To put things into perspective, ssh reporting 3MB/s-ish implies you are seeing 30Mb/s or better on your Ethernet link.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#5 2022-05-14 00:28:59

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 26,701
Website

Re: Faster data transfer between two pcs

makh wrote:

I havent opened any laptop yet!!!

And I've not had my hands on one that I've not opened.  Generally swapping out drives in a laptop is pretty strait forward ... so long as it's not an Apple.  I'f it's an Apple, don't even think about opening it if you value your sanity.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#6 2022-05-14 01:42:24

jonno2002
Member
Registered: 2016-11-21
Posts: 308

Re: Faster data transfer between two pcs

you never actually stated your using ethernet, are those speeds using wireless ? if so use ethernet cables

Offline

#7 2022-05-14 05:08:12

seth
Member
Registered: 2012-09-03
Posts: 28,841

Re: Faster data transfer between two pcs

https://www.amazon.com/s?k=sata+usb+adapter
Ok, I guess *both* PCs are notebooks?

Make sure to enhance the network connection - 100Mbps will never be "fast" and 1Gbps has been the ethernet "standard" for a loooooooong time.
So if you've two new-ish notebooks the weak link is the carrier (wifi) or the switch (router).

Last edited by seth (2022-05-14 05:12:50)

Offline

Board footer

Powered by FluxBB