Unfortunately no one can be told what fun_plug is - you have to see it for yourself.
You are not logged in.
Hi!
I have extremely bad performance when transferring files between my Ubuntu computer and the nas.
The nas is mounted using smbfs:
//192.168.1.xx/my_nas /home/user/mount_point smbfs auto,username=xxx,password=xxx,uid=1000,umask=000,user 0 0
Transferring files using cp command results in speeds of 2.4-2.7 MB/s
though transfering files using ftp (gftp) ~18 MB/s transferring a file of 100MB.
Whats going on here?
The dns-323 and the computer is connected via a Netgear gigabit switch (GS108).
Firmware is 1.04.
Ubuntu v. 7.04 on a athlon x2 4400+, 4 GB ram, asus A8N32-Delux motherboard etc.
Is there anybody else having these issues or does someone know whats wrong?
Thanks!
Last edited by Randulf (2008-02-20 21:00:05)
Offline
is your smbfs/mount using fuse (Filesystem in UserSpace). Also is the either of the filesystems fat32 or ntfs? Because these things may place additional load on either your NAS or main computer's cpu.
Offline
orbitaudio wrote:
is your smbfs/mount using fuse (Filesystem in UserSpace). Also is the either of the filesystems fat32 or ntfs? Because these things may place additional load on either your NAS or main computer's cpu.
fuse? Actually I have no idea, how do I find out?
My linux box have ext3 and the NAS is using ext2 I think.
Yesterday I tried to mount the nas with cifs instead of smbfs but same results, 2.4-2.7 MB/s
This is really annoying, my windows computer with 100Mb nic is faster and even windows using virtualbox on ubuntu is faster.
Anyway it cant be the switch, network card or the nas since i have speed using ftp.
Must be something with how I mount the device.
Last edited by Randulf (2008-02-21 13:32:53)
Offline
There is many options in smb to tune...
Offline
frodo wrote:
There is many options in smb to tune...
Thanks for the tip.
Anyway, today I switch to my other network port on the motherboard and guess what! 14-17 MB/s, ~123 Mb/s
How can that be?
Is smb/cifs dependent on the NIC drivers?
eth0:
product: 88E8001 Gigabit Ethernet Controller
vendor: Marvell Technology Group Ltd.
eth1:
product: CK804 Ethernet Controller
vendor: nVidia Corporation
The marvell card is the one that give ~15 MB/s
Offline
Did you try a this?
netstat -i
It tells you if you have any hw related issues.
There are some gigabit NICs with issues in linux.
I had issues with my Marvell Yukon 2 card...
Offline
Set your troublesome NIC to 100MB/s with Full duplex and try again. It's possible your switch or router isn't handling the Auto negotiation properly with that particular NIC or driver. I've seen it a million times with a Micron chipset on the NIC with switches that use Autosense. It can be a VERY obscure problem sometimes. It's also possible you're getting a lot of crosstalk on the cable and should try swapping it out with a known good one.
Last edited by ispshadow (2008-02-24 23:35:05)
Offline
frodo wrote:
Did you try a this?
netstat -i
It tells you if you have any hw related issues.
There are some gigabit NICs with issues in linux.
I had issues with my Marvell Yukon 2 card...
I did a printout yesterday but since I'm quite new to linux it really didn't help much. Im at work right now so I can't paste in the code but I'll do it when i get home.
ispshadow wrote:
Set your troublesome NIC to 100MB/s with Full duplex and try again. It's possible your switch or router isn't handling the Auto negotiation properly with that particular NIC or driver. I've seen it a million times with a Micron chipset on the NIC with switches that use Autosense. It can be a VERY obscure problem sometimes. It's also possible you're getting a lot of crosstalk on the cable and should try swapping it out with a known good one.
Ok, I have to try that, but it seems that it works ok if I mount it with cifs instead, read/write is about 15 MB/s.
Problem with this is that when I shut down the computer and the disks have spun down I get an error message in Ubuntu saying something abut "can't unmount"
I also have a realtek pcie card that I'm going to try and see if there is any difference.
Offline
Ok, it does not seem like there is something with hw.
netstat -i gives:
wrote:
Iface MTU Met RX-OK RX-ERR RX-DRP RX-OVR TX-OK TX-ERR TX-DRP TX-OVR Flg
eth0 1500 0 175326 0 0 0 143446 0 0 0 BMU
eth1 1500 0 109969 0 0 0 85534 0 0 0 BMRU
ifconfig:
wrote:
eth0 Link encap:Ethernet HWaddr XX:XX:XX:XX:XX:XX
inet addr:192.168.X.XXX Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::XX:XX:XX:XXXX/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:9390074 errors:0 dropped:0 overruns:0 frame:0
TX packets:5509536 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:13394597608 (12.4 GiB) TX bytes:541480863 (516.3 MiB)
Interrupt:17
Tried to set the nic manually to 1 Gb/s and full duplex but no luck. But I don't think there is anything wrong with hardware or drivers since I have quite good speeds with ftp.
I can't remember I had such low speeds using the 1.03 firmware.
Think I'll have a try downgrading to 1.03 tomorrow since my printer doesen't seem to work with 1.04 either.
Last edited by Randulf (2008-02-26 00:29:22)
Offline
i'm also on Ubuntu and having very slow speeds:
http://dns323.kood.org/forum/t1744-hour … al%3F.html
i'd love to know if i'm doing something wrong. is there a better way to connect to this i.e. virtualbox, vmware?
Offline
lanemeyer67ss wrote:
i'm also on Ubuntu and having very slow speeds:
http://dns323.kood.org/forum/t1744-hour … al%3F.html
i'd love to know if i'm doing something wrong. is there a better way to connect to this i.e. virtualbox, vmware?
Do you have slow speed with FTP as well?
Have you tried mounting it with cifs?
Offline
i have connected to it via FTP from my office (the NAS is at home), but havent tested the speeds. i'll try that when i get home, but i'd really prefer to just drag and drop files like a normal network drive.
do you have instructions on mounting with cifs? i haven't tried that yet.
edit: found this in another thread.
sudo mount -t cifs //192.168.0.17/Volume_1 /media/Volume_1 -o username=lanemeyer67ss,password=password
i'll try this when i get home and see what i can find.
Last edited by lanemeyer67ss (2008-02-26 17:26:48)
Offline
just wanted to post that im able to mount my DNS323 using:
# sudo mkdir /media/Volume_1
# sudo mount -t cifs //192.168.0.17/Volume_1 /media/Volume_1 -o username=lanemeyer67ss,password=password
im still getting 1.4MBps write speeds using FTP. will play around some more.
Offline
How can I test the speed?
A quick question, I have this line in my fstab:
//192.168.1.2/Volume_1 /home/5h4rk/NAS cifs guest,uid=1000,iocharset=utf8,codepage=unicode,unicode 0 0
I can access as a guess even tho I have set an user and password from the NAS, how is this happening?
Thanks.
Offline