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 2010-07-28 00:21:29

irha
New member
Registered: 2010-07-26
Posts: 4

Slow network speeds and periodic failures

First, a little introduction about the setup. I recently got DNS-321 and set it up with two 1tb WD green drives in RAID-1 mode. I have a gigabit hub to which my two PCs are wired (my router itself is not gigabit). I have a laptop and for the sake of backup, I am using its gigabit ethernet. The two PC's and the laptop all run Win 7 with cygwin installed. I also have a dell mini9 with hackintosh that only has 100mbps ethernet. My hub's model is netgear gs-108 which supports over 9K jumbo frames, and one of my PCs support 9K jumbo frames and my laptop's ethernet adapter supports 4K jumbo frames. I installed fun_plug and selected default packages, but only enabled the ssh daemon (other the default telnet, which I have to yet to disable).

My issues are two fold, first I get speeds of an average 1.5mb/s and sometimes at the most 4.5mb/s, so I am definitely not getting gigabit speeds on any of the 3 devices that have gigabit. But what is more concerning for me right now are the periodic network failures. I am primarily copying over smb using rsync (the cygwin and mac versions) or the windows explorer. The symptom is that sometime during the copy (currently only writes), the DNS-321 stops responding for a few minutes and causes the copy to fail. The first few times, by the time I realized that the copy failed, DNS-321 was already back up and responding, so made me wonder why it failed. But the first time I was able to notice the error immediately, I found that only the top level shares are accessible, while accessing any of their content would just take forever.  I luckily had an ssh session open at that time. The ssh session was still responding and I was able to cd into the raid, but the moment I issues ls, the command hung and it took a few minutes to come back with listing. Almost at the same moment, the smb access also got restored, suggesting that all disk access was hanging. I also tried rsync over ssh, but that too failed the same way. Can anyone help understand what might be causing the failures? Here is the last rsync error that I copied:

rsync: writefd_unbuffered failed to write 4092 bytes to socket [sender]: No child processes (10)
rsync: write failed on "//dns-321/xxx/yyy.zzz": No such file or directory (2)
rsync error: error in file IO (code 11) at /home/lapo/packaging/rsync-3.0.6-1/src/rsync-3.0.6/receiver.c(302) [receiver=3.0.6]
rsync: connection unexpectedly closed (8878 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at /home/lapo/packaging/rsync-3.0.6-1/src/rsync-3.0.6/io.c(600) [sender=3.0.6]

Yesterday night, I had to even reset the device using power button, since it stopped responding to even ping (though the leds showed both disk and network activity), but this happened only once so far. I would like to work on making it reliable for my backups before working on the speed issue. Any help is appreciated.

Update: Just to confirm that the network slowness is not inherent, I get steady speeds of about 12mb/s if I copy from one PC to another via network share.

Last edited by irha (2010-07-28 04:28:52)

Offline

 

#2 2010-07-30 23:50:55

irha
New member
Registered: 2010-07-26
Posts: 4

Re: Slow network speeds and periodic failures

Nobody?

Offline

 

#3 2010-07-31 01:42:03

karlrado
Member
Registered: 2009-12-07
Posts: 229

Re: Slow network speeds and periodic failures

There are a lot of postings here about performance, rsync, smb, etc.  You may find some more info by looking through some of those postings.

Two such threads are:

Rsync over NFS & SMB Terrible Performance?
DNS-323 performance

"Copying over smb with rsync" is especially bad.  You might want to consider running the rsyncd daemon on the DNS and using rsync protocol.

I also have had trouble with samba reliability during heavy usage.  The wiki has some discussion about a better samba.


DNS-323 FW 1.07 : 2 1TB WD Caviar Green SATA : fun_plug: utelnet + optware (no ffp)

Offline

 

#4 2010-07-31 02:22:59

irha
New member
Registered: 2010-07-26
Posts: 4

Re: Slow network speeds and periodic failures

Thanks for the pointers, I knew rsync would perform better with rsyncd, but didn't there are reliability issues. I will also look for the information on better samba.

While rsync over smb has a role in the bad performance I am seeing, I am not getting good read speeds over samba either (e.g., copy a file from dns-321 and paste on local drive, explorer reports a meager 1mb/s to 2mb/s speeds). I should probably do some more research to see if I can figure this out myself.

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB