PDA

View Full Version : [all variants] NAS D-Link DNS 321 speed at a snails pace



jpaulb
January 6th, 2013, 09:03 PM
I have a D-Link DNS 321 mounted using the following in fstab

192.168.0.14:/Volume_1 /mnt cifs guest,_netdev,noperm 0 0
192.168.0.14:/Volume_2 /mnt/Backup cifs guest,_netdev,noperm 0 0

The NAS settings are
LAN SETTINGS : Speed 100 Mbps
JUMBO FRAME SETTINGS : enabled
MTU 9000

The fastest file transfer speed it has achieve is about 2 MB/sec upload and 6MB/sec download. Is this the limit for this box or is there a way to get little more speed out of it?

jpaulb
February 22nd, 2013, 11:26 PM
Hallo any one out there??
Am I the only one with a D-Link DNS 321?

varunendra
February 23rd, 2013, 02:43 PM
Am I the only one with a D-Link DNS 321?
Apparently not. Just search the forums with keyword "DNS-321" or variations of it). However, I couldn't find any promising one about speed issues, so guess I'll try my wits here.
(but first you should try searching the forums as I suggested above)

At the first glance, that looks a bit suspicious to me -

MTU 9000
What OS the NAS runs upon? Can you run shell commands on it? ifconfig?

If yes, I'd like to see outputs of ifconfig on both NAS and the client PC.

If not, try setting it to 1500 on NAS, and default on the client PC. You may also try 1492 on the NAS, and turning Jumbo Frames off. Although higher MTU and Jumbo Frames are supposed to enhance speeds, but may also adversly affect it if any of the devices on the network doesn't support them or have bottolnecks.

jpaulb
February 24th, 2013, 04:39 PM
Thanks

I set lan speed to auto, choices 10, 100 or auto. Set Jumbo frames to disabled there was a slight increase in speed from 7MB/s to about 10 MB/s

varunendra
February 24th, 2013, 05:57 PM
there was a slight increase in speed from 7MB/s to about 10 MB/s
Are you sure it is MB/s not Mb/s ? Because LAN card speeds are given in Mb/s.

b = bit
B = Byte = 8 bits

If the current speed is in MB/s, then consider it the max you can get on that interface.

jpaulb
February 25th, 2013, 01:41 AM
Thanks
Down loading a 1.9GB file from the DNS-321 to the main Hdd required 225 seconds about 8.4MB/sec uploading the same file required 685 seconds about 2.7MB/s. Quite a difference in read and write

I got one thing straight the switch and router is rated in Mb/s and the files MB/s

Any suggestion on how to speed up the write process.

varunendra
February 25th, 2013, 05:13 AM
Any suggestion on how to speed up the write process.
Not much except a few wild shots.

First one is to try a test partition with ext3/4 or a better, natively supported filesystem.

From what I know (and am open to new revelations), cifs is for ntfs filesystem which is not very well supported by Linux. The commonly used ntfs-3g driver is known for its poor write performance, and I guess the same or a similar driver is being used by the NAS OS/firmware as well.