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-11-23 19:28:38

drapper
Member
Registered: 2008-12-18
Posts: 6

Networking speed problems with DNS-323

Hi all. I own the box for about 1 year now and I am quite satisfied. One problem I had from day 1 and still havent solved is the networking speed. My house has ethernet cable Cat6 wired all over and the box is connected through Gbit switches to the net. I haven't been able to get satisfying HD video streming performance through Windows (tested XP, Vista & 7). When streaming to PS3 or to the Popcorn Hour PCHA100 the performance is satisfying (ie no dropped frames, jerky video or unsynchronized sound).

I have firmware 1.07 and fonz's funplug. I have disabled the DLink bittorrent client and I use transmission 1.7. Using Total Commander in Windows the maximum rate I get when copying to the DNS is 20MB/sec but the bandwidth meter I have shows up to 80Mbit throughput. When copying from the DNS to the PC I get up to 6MB/sec in Total Commander and the meter shows 50Mbit throughput.

Today I found the time to connect the box directly to my PC with a Cat6 cable. The results are pretty much the same as before (when it was going through the switch to the rest of the house) with the only difference being 9MB/sec to the DNS and 4MB/sec from the DNS. The bandwidth meter shows the same numbers as before basically. Using ftp transfer gives similar results as well.

I also played around with Jumbo frames (disabling, 5k, 9k) but not a significant change at all and I tried disabling with a netcard that doesn't support jumbo frames, still the same. Finally, I almost always have problems when trying to delete a file from Windows in the DNS (ie a large movie, can take up to 2 mins to be deleted).

I consider the above to be less than expected performance in a Gbit wired ethernet environment (let alone when connecting directly to the PC with a Cat6 cable).

Any ideas on what might be wrong would be helpful

Below is the ps screen from the terminal to see what is running (I assume basic functions):

PID   USER     COMMAND
    1 root     init
    2 root     [ksoftirqd/0]
    3 root     [events/0]
    4 root     [khelper]
    5 root     [kthread]
   11 root     [kblockd/0]
   14 root     [khubd]
   49 root     [pdflush]
   50 root     [pdflush]
   52 root     [aio/0]
   51 root     [kswapd0]
  189 root     [scsi_eh_0]
  190 root     [scsi_eh_1]
  200 root     [mtdblockd]
  217 root     [kcryptd/0]
  218 root     [kmirrord/0]
  229 root     [loop0]
1219 root     atd
1603 root     chkbutton
1610 root     /sys/custom/upnp/upnp 0 D-Link Corporation http://www.dlink.com
1627 root     /web/webs
1632 root     fancontrol
1653 root     crond
1670 root     /usr/sbin/samba/smbd -D
1674 root     /usr/sbin/samba/nmbd -D
1678 root     /usr/sbin/samba/smbd -D
1680 root     op_server 3 3 3
1687 root     -sh
1718 root     pure-ftpd (SERVER)
1751 root     lpd Waiting
1778 root     inotify_upnp
1788 root     inotify_upnp
1789 root     inotify_upnp
1840 root     /ffp/sbin/syslogd
1850 root     /ffp/sbin/klogd -c 3
1853 nobody   /ffp/bin/transmission-daemon -f -g /mnt/HD_a2/.transmission-daem
1867 nobody   /ffp/bin/transmission-daemon -f -g /mnt/HD_a2/.transmission-daem
1868 nobody   /ffp/bin/transmission-daemon -f -g /mnt/HD_a2/.transmission-daem
1869 nobody   /ffp/bin/transmission-daemon -f -g /mnt/HD_a2/.transmission-daem
1871 root     /ffp/sbin/sshd
1935 nobody   /usr/sbin/samba/smbd -D

Also this is the ffp.log file:

**** fun_plug script for DNS-323 (2008-08-11 tp@fonz.de) ****
Mon Nov 23 19:02:07 GMT 2009
ln -snf /mnt/HD_a2/ffp /ffp
* Running /ffp/etc/fun_plug.init ...
* Running /ffp/etc/rc ...
* /ffp/start/syslogd.sh ...
Starting /ffp/sbin/syslogd
Starting /ffp/sbin/klogd -c 3
* /ffp/start/SERVERS.sh inactive
* /ffp/start/portmap.sh inactive
* /ffp/start/unfsd.sh inactive
* /ffp/start/transmission.sh ...
Starting transmission-daemon
* /ffp/start/nfsd.sh inactive
* /ffp/start/ntpd.sh inactive
* /ffp/start/LOGIN.sh inactive
* /ffp/start/telnetd.sh inactive
* /ffp/start/sshd.sh ...
Starting /ffp/sbin/sshd
* /ffp/start/samba.sh inactive
* /ffp/start/rsyncd.sh ...
/ffp/etc/rsyncd.conf: Required file not found or not readable
* /ffp/start/mediatomb.sh inactive
* /ffp/start/kickwebs.sh inactive
* /ffp/start/lighttpd.sh inactive
* /ffp/start/inetd.sh inactive
*  OK

Thanks in advance!

Offline

 

#2 2009-11-24 02:10:34

fordem
Member
Registered: 2007-01-26
Posts: 1938

Re: Networking speed problems with DNS-323

Your numbers are a little off - for example 20MB/sec does not equate to 80mbps, but - generally speaking,  throughput on the DNS-323 is less than stellar, and more so on gigabit.  The best I have been able to achieve is around 30MByte/sec using 9k byte jumboframes on a read.

Offline

 

#3 2009-11-24 21:21:28

Headcase_Fargone
Member
Registered: 2009-11-06
Posts: 44

Re: Networking speed problems with DNS-323

Wow, what kind of settings do you have to see that?  I consider myself lucky when I'm able to get 15MB/sec from my DNS-321.  Different box, I know, but still.  Twice the throughput?  I typically see 10-12MB/sec.

Offline

 

#4 2009-11-25 00:23:41

drapper
Member
Registered: 2008-12-18
Posts: 6

Re: Networking speed problems with DNS-323

fordem wrote:

Your numbers are a little off - for example 20MB/sec does not equate to 80mbps, but - generally speaking,  throughput on the DNS-323 is less than stellar, and more so on gigabit.  The best I have been able to achieve is around 30MByte/sec using 9k byte jumboframes on a read.

Yeah well the 20MB/sec is not real and the 80Mbit the bandwidth meter shows is actually a burst and then drops down to 40Mbit.

For past couple of days either direct link to PC or to the network all I manage to get is 4-6Mb/sec from the DNS and 7-9MB/sec  to the DNS. I guess I have to live with it ?!

Offline

 

#5 2009-11-25 00:47:13

fordem
Member
Registered: 2007-01-26
Posts: 1938

Re: Networking speed problems with DNS-323

Headcase_Fargone wrote:

Wow, what kind of settings do you have to see that?  I consider myself lucky when I'm able to get 15MB/sec from my DNS-321.  Different box, I know, but still.  Twice the throughput?  I typically see 10-12MB/sec.

>2GB file sizes, gigabit ethernet with jumbo frame and a fast disk subsystem on the receiving end - remember that is the best, not everyday throughput.

Offline

 

#6 2009-11-25 00:58:26

fordem
Member
Registered: 2007-01-26
Posts: 1938

Re: Networking speed problems with DNS-323

drapper wrote:

Yeah well the 20MB/sec is not real and the 80Mbit the bandwidth meter shows is actually a burst and then drops down to 40Mbit.

For past couple of days either direct link to PC or to the network all I manage to get is 4-6Mb/sec from the DNS and 7-9MB/sec  to the DNS. I guess I have to live with it ?!

A couple of things to be aware of ...

File size affects throughput significantly - as the file size drops, so does the throughput - a single 2GB file will transfer faster than 1000 x 2MB files, even though the total volume of data remains constant.

The disk subsystem at the other end can be critical - I have two systems with gigabit ethernet and similar spec in terms of processor and memory, one of them a desktop, with an 80GB SATA drive cannot deliver more than 5~6MB/sec when copying from the DNS-323, the other, and IBM server with 2x250GB SATA in a RAID1 array will accept 30MB/sec.

Since I believe you are looking at what is essentially reduced performance - fragmentation of the disks may be one possible cause.

Offline

 

#7 2009-11-25 20:24:59

drapper
Member
Registered: 2008-12-18
Posts: 6

Re: Networking speed problems with DNS-323

fordem wrote:

drapper wrote:

Yeah well the 20MB/sec is not real and the 80Mbit the bandwidth meter shows is actually a burst and then drops down to 40Mbit.

For past couple of days either direct link to PC or to the network all I manage to get is 4-6Mb/sec from the DNS and 7-9MB/sec  to the DNS. I guess I have to live with it ?!

A couple of things to be aware of ...

File size affects throughput significantly - as the file size drops, so does the throughput - a single 2GB file will transfer faster than 1000 x 2MB files, even though the total volume of data remains constant.

The disk subsystem at the other end can be critical - I have two systems with gigabit ethernet and similar spec in terms of processor and memory, one of them a desktop, with an 80GB SATA drive cannot deliver more than 5~6MB/sec when copying from the DNS-323, the other, and IBM server with 2x250GB SATA in a RAID1 array will accept 30MB/sec.

Since I believe you are looking at what is essentially reduced performance - fragmentation of the disks may be one possible cause.

I will to defrag both ends and see the results

Offline

 

#8 2009-11-27 20:15:47

drapper
Member
Registered: 2008-12-18
Posts: 6

Re: Networking speed problems with DNS-323

Not much lcuk really. Run fonz's disk utilities (worked perfectly and actually corrected quite a few errors) defraged my Windows disks but again same thing. If I do a fresh reboot or both Winodws & DNS the first few transfers will give me a 15-20MB/sec transer speeds. After a few hours it will again come down to the usual 4-6MB/sec. This from both WinXP and Win7

Offline

 

#9 2009-11-27 22:31:02

skydreamer
Member
From: At the Atlantic Coast
Registered: 2007-01-06
Posts: 232

Re: Networking speed problems with DNS-323

Does the speed goes back to normal when you power cycle the network switch?

Offline

 

#10 2009-11-28 19:47:36

msimon1960
Member
Registered: 2009-11-27
Posts: 12

Re: Networking speed problems with DNS-323

Can you modify the samba parameters -- I found the samba read and write blocks set to ridiculously low levels on my Ubuntu box.  Turning them up to 16k made a huge difference in throughput.

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB