Networking Protocols
April 8, 2004 11:30 PM
Subscribe
Networking question: What could cause one protocol to be drastically slower than another between the same two computers? [more inside]
I have a Mac OS X desktop and a Windows XP desktop sitting next to each other both connected to a gigabit Ethernet switch. If I copy files from the Windows XP machine to the OS X machine using Samba, it's quite speedy, as I would expect. But if I try to transfer from the Windows XP machine to the OS X machine using SCP (or SFTP), I only get about 15KB/second. In a related problem, if I SSH into the OS X machine from the Windows machine, the SSH connection is exceptionally laggy and occasionally drops entirely.
If I plug my Powerbook into the same switch as well, SCP and SSH work fine (and fast) between the Powerbook and the OS X desktop, or between the XP desktop and the Powerbook.
Have any networking gurus out there experienced a problem like this before? What could be causing problems with one protocol, but not the other, and only between one pair of machines?
posted by m-bandy to work & money (11 comments total)
I think that SSH/SFTP work by effectlively opening a file on the target computer, and then copying and pasting the contents into the target file in small chunks, then closing the file and saving them ( I visualise this happening in VI regardless of it's accuracy ).
Samba kind of links straight into the file structure of the target machine and uses it like it was it's own drive. Or something.
When we use Samba at work to connect XP machines to a Linux box they are apparently instantanious while the same SSH connection takes ages.
posted by twine42 at 3:50 AM on April 9, 2004