DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2009-01-21 13:44:40

Mektub
Member
From: Lisbon / Portugal
Registered: 2007-04-19
Posts: 14

Transfer speed: 19 MB/s with FTP, 1.7 MB/s with SSH ??

Setup:

1 Desktop with a 1 Gigabit Ethernet adapter
1 DNS323 with funplug 0.5 installed
1 Dlink 1 Gigabit Switch

Transfering from the desktop (Linux)  a 700 MB file to the DNS with FTP, port 21: 19 MB/s throughput.
Transfering from the desktop the same file to the DNS with SSH (port 22): 1.7 MB/s

Why this horrendous difference ?

Copying from the Desktop to the nfs mounted DNS: 10 MB/s

I will use FTP from now on, still I dont understand how such big differences arise.

Didnt try with jumbo frames yet.

mektub

Offline

 

#2 2009-01-21 14:05:39

Mijzelf
Member / Developer
Registered: 2008-07-05
Posts: 709

Re: Transfer speed: 19 MB/s with FTP, 1.7 MB/s with SSH ??

When copying the data via SSH, the data is encrypted. This is expensive, and forces down the throughput.

Offline

 

#3 2009-01-22 05:32:59

alowin
Member
Registered: 2009-01-22
Posts: 8

Re: Transfer speed: 19 MB/s with FTP, 1.7 MB/s with SSH ??

I'd lookup and see if your nic card and switch supports jumbo frames.  Set you dns-323 and nic card to maximum jumbo frame size supported.  For ftp xfers, use cute ftp.  You will see a HUGE xfer rate increase.  With jumbo frames, the difference between scp and ftp will be minimal.

Bob

Offline

 

#4 2009-01-23 14:29:47

Mektub
Member
From: Lisbon / Portugal
Registered: 2007-04-19
Posts: 14

Re: Transfer speed: 19 MB/s with FTP, 1.7 MB/s with SSH ??

Many thanks alowin, Mijzelf,

I set the DNS and my nic card for 9000 jumbo frames.

My DLINK Switch DGS-1005D is defenitely capable of 9000 jumbo frames, got it thru the manual and by googling around,
but it doens't seem to have any settings possibilities. Alll it does is indicate thru leds that it is in Gigabit mode.

Thru FTP I only saw a slight increase to 23 MB/s.

Of course compared to 1.7 MB/s ...

Thanks again,

Mektub

Offline

 

#5 2009-01-24 04:30:38

bspvette86
Member
Registered: 2008-05-09
Posts: 81

Re: Transfer speed: 19 MB/s with FTP, 1.7 MB/s with SSH ??

The DNS-323 is CPU bound.  The extra overhead of the SSH encryption is being done in software which in turn slows down the transfer rate.

Regards,
BSPvette86

Offline

 

#6 2009-01-24 10:12:24

mastervol
Member
Registered: 2008-09-06
Posts: 81

Re: Transfer speed: 19 MB/s with FTP, 1.7 MB/s with SSH ??

of course the same applies to encrypted down/uploads


DNS-323     F/W: 1.06  H/W: ??  ffp: 0.5  Drives (normal mode): 1 x 1,5 TB Seagate SATA II ST31500341AS, 1 x 250 GB Western Digital SATA I

Offline

 

#7 2009-01-24 14:23:44

silversurfer
Member
Registered: 2008-07-20
Posts: 95

Re: Transfer speed: 19 MB/s with FTP, 1.7 MB/s with SSH ??

Usually the speed of ssh transfers shouldn't be a problem because you will use it for access from the public Internet.

What connection speed do you have from your home/company to the Internet? If you can say 50MBit/s or more then you are indeed lucky. For most people it is far below that so they won't even get as far as 1.7MByte/s.

For a LAN this is terribly slow of course but the LAN is usually considered safe so you can use other means of access - samba, ftp or nfs.

Offline

 

#8 2009-01-24 20:29:49

Mektub
Member
From: Lisbon / Portugal
Registered: 2007-04-19
Posts: 14

Re: Transfer speed: 19 MB/s with FTP, 1.7 MB/s with SSH ??

silversurfer wrote:

Usually the speed of ssh transfers shouldn't be a problem because you will use it for access from the public Internet.

What connection speed do you have from your home/company to the Internet? If you can say 50MBit/s or more then you are indeed lucky. For most people it is far below that so they won't even get as far as 1.7MByte/s.

For a LAN this is terribly slow of course but the LAN is usually considered safe so you can use other means of access - samba, ftp or nfs.

You are right. I do have at home 25 MBit/s, but thats download, upload its 1MBit/s. So at home I will use FTP or NFS, from the outside SSH will
be more then my connection can afford.

Thanks again.

Mektub

Last edited by Mektub (2009-01-24 20:30:35)

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB