LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-06-2007, 12:34 PM   #1
philipm
Member
 
Registered: Jan 2006
Posts: 39

Rep: Reputation: 15
Poor performance from NAS drive


I recently purchased an Air Live WMU-6500FS NAS device. You plug it into your network, and can access the files from it with Samba or FTP. (This drive can also perform downloads on its own without needing the computer to be turned on.)

My problem with it is that it seems to be reading and writing very slowly when accessed through Samba: it only seems to be doing about 2 megabytes per second. When accessed through FTP, it manages 4 Meg per second.

Trying to play video from the drive using my computer with Kaffeine results in freezing and stuttering - it usually doesn't get much further than a few seconds in before quitting.

Even though the measured speed isn't great, it should really be fast enough to play video. I tried playing video from the drive through my Xbox 1 with media center and it works great! So, why doesn't it work on my computer?

All devices are wired directly to the router; no wireless is being used. The router shows all connections are 100 megabit.
 
Old 10-06-2007, 09:07 PM   #2
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
Have you tried mounting over CIFS rather than SMB? You will generally get a speed boost with CIFS, assuming it is supported server-side.

But I think the problem is elsewhere, actually. 2 MBps for Samba is brutal, but 4 MBps for FTP is just as bad. Since both Samba and FTP file transfers are so low, it would seem like it isn't actually a software-client issue, but is rather some networking issue (software or hardware).

Do you see any RX/TX errors in the output of ifconfig? If you try and ping flood the NAS (ping -f xxx.xxx.xxx.xxx) do you get any lost packets?
 
Old 10-07-2007, 07:17 AM   #3
philipm
Member
 
Registered: Jan 2006
Posts: 39

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by MS3FGX View Post
Have you tried mounting over CIFS rather than SMB? You will generally get a speed boost with CIFS, assuming it is supported server-side.
Is CIFS a different protocol? The NAS only supports SMB and FTP.
Quote:
Originally Posted by MS3FGX View Post
Do you see any RX/TX errors in the output of ifconfig? If you try and ping flood the NAS (ping -f xxx.xxx.xxx.xxx) do you get any lost packets?
I tried running ifconfig and it didn't indicate any errors, though from the description of what the command does I'm not sure it's what I need.

Flood pinging doesn't show any lost packets. Ping time is average of 0.372ms and maximum of 2.4ms.

I've just used Krusader to FTP a file from the NAS to my computer, then copied the same file from my Xbox to my computer, again using FTP. The Xbox is twice as fast at about 8MBps!

Seems to be a problem with the NAS itself.
 
Old 10-14-2007, 10:59 AM   #4
philipm
Member
 
Registered: Jan 2006
Posts: 39

Original Poster
Rep: Reputation: 15
Well, I guess that the device itself is just slow, since there doesn't seem to be any problem with FTP'ing to my Xbox. I'll e-mail OvisLink and ask if it really is supposed to be this slow!

However, since my Xbox can play files from the NAS but my computer can't, this means that it is, at least, fast enough to actually play media, but for some other reason Kaffeine won't play it. What way would people recommend to mount the device? I currently access it through the "Network Browsing" icon on my desktop, but I'll probably put an entry in fstab, and a direct icon on my desktop. Are there any settings I should make? I wonder if I need to set a buffer size or something, given the poor playback performance.

Also, what changes should I make to my firewall? ATM it won't work unless I turn off the firewall, but I'd like to just enable the Samba service. Instructions specific to SuSE 10 would be appreciated.

Thanks.
 
Old 01-14-2008, 10:25 AM   #5
philipm
Member
 
Registered: Jan 2006
Posts: 39

Original Poster
Rep: Reputation: 15
Okay, I've tried mounting this device as root and I can read files from it and they play fine. But for some reason I can't write to the device through SAMBA...

So, I tried adding the following line to my fstab:

//airlive_storage/Storage /media/samba smbfs noauto,user,rw 0 0

When I try and mount from the command line (mount /media/samba), however, I get asked for the password (there isn't one, so I just press return), and get the following message:

smbmnt must be installed suid root for direct user mounts (1000,1000)
smbmnt failed: 1

Not really sure what this means. Can somebody help?
 
Old 01-18-2008, 11:56 AM   #6
philipm
Member
 
Registered: Jan 2006
Posts: 39

Original Poster
Rep: Reputation: 15
I've used "chmod u+s /usr/bin/smbmnt" to change the permissions of smbmnt, but now when I try and mount the drive (mount /media/samba/), I get: "cannot mount on /media/samba: Operation not permitted". The samba directory, which I created myself as the mount point for the Samba drive, seems to have the same permissions as the usbdisk directory I've created and setup previously, so I'm not sure why this doesn't work.

Can anybody help me?
 
Old 01-26-2008, 12:23 PM   #7
philipm
Member
 
Registered: Jan 2006
Posts: 39

Original Poster
Rep: Reputation: 15
...can anybody help?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Poor IDE Drive Performance w/ Slack 11 vtel57 Slackware 6 11-19-2006 03:19 PM
Help troubleshooting ICH6M and poor drive performance Timshel Linux - Hardware 1 02-09-2006 09:31 PM
poor performance javabb Red Hat 8 01-20-2005 05:48 AM
poor performance in x ah786 Slackware 10 11-09-2004 11:11 AM
Poor performance Shyne Red Hat 1 10-17-2004 11:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:40 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration