This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!



I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!

Linux slow R/W from NAS with Samba

CIFS/SMB network sharing.
Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
Nid
NewUser
NewUser
Posts: 5
Joined: 31 May 2013 01:50
Status: Offline

Linux slow R/W from NAS with Samba

Post by Nid »

My N4F is up and running pretty well. I am having some minor problem, hope to come here and get some suggestion.


I have a computer with dual-boot (Win 7 and Linux Mint 14 MATE).

The PC is:
Asus Crosshair IV formula with AMD 6X 1090T
16GB of RAM
Onboard Marvell 8059 Gigabit LAN controller
Jumbo frames enabled

When I am booting in to Windows 7, everything is running full tilt. Pretty much used up all my Gbit LAN. Windows 7 R/W to and from NAS is 100+MB/s - sweet!!! The test file is 4GB image file.

Image


But booting in to Linux on the same computer, same hardware just different OS. R/W speed went down to 30-35MB/s. Could someone help me with this minor problem? No big deal if I want fast transfer I will just boot in to Windows 7. But it is nice to have similar R/W speed on both OS since they both are using basically the same hardware.

I would be happy just to get my Linux OS to R/W 50-60MB/s

Thank you,

User avatar
Lee Sharp
Advanced User
Advanced User
Posts: 251
Joined: 13 May 2013 21:12
Contact:
Status: Offline

Re: Linux slow R/W from NAS with Samba

Post by Lee Sharp »

In Windows, CIFS is native. In Linux it is not. Try creating some similar NFS mounts and connect to them. In some cases I have even had better results with SCP than with CIFS, but NFS is still the best.

Nid
NewUser
NewUser
Posts: 5
Joined: 31 May 2013 01:50
Status: Offline

Re: Linux slow R/W from NAS with Samba

Post by Nid »

Thank you Lee for the reply. I was aiming for NFS but I came to realized Windows 7 Professional does not have Services for UNIX, only Ultimate and Enterprise version does. So I went with CIFS instead. I guess I will have to get use to it until I can find a better solution. I can't justify upgrade 2 copies of Win 7 just to have services for UNIX so I can mount NFS share.

Onichan
Advanced User
Advanced User
Posts: 238
Joined: 04 Jul 2012 21:41
Status: Offline

Re: Linux slow R/W from NAS with Samba

Post by Onichan »

Why can't you just use both CIFS and NFS? Just use CIFS for Windows and NFS for Linux. You can have the same dataset shared using the two different services. I think I have read they don't play well together if your modifying files using both at the same time, but in your case that shouldn't matter.

Nid
NewUser
NewUser
Posts: 5
Joined: 31 May 2013 01:50
Status: Offline

Re: Linux slow R/W from NAS with Samba

Post by Nid »

Onichan wrote:I think I have read they don't play well together if your modifying files using both at the same time, but in your case that shouldn't matter.
That was my concern too. Chances are slim to none that 3 of us in the house will be opening the same file at the same time. But I went with FTP on Linux anyway if I need something in a hurry, for now I got by okay.

User avatar
Lee Sharp
Advanced User
Advanced User
Posts: 251
Joined: 13 May 2013 21:12
Contact:
Status: Offline

Re: Linux slow R/W from NAS with Samba

Post by Lee Sharp »

We have NFS and CIFS on the same dataset all the time. Never had a problem, and the underlying file system handles file locking.

Nid
NewUser
NewUser
Posts: 5
Joined: 31 May 2013 01:50
Status: Offline

Re: Linux slow R/W from NAS with Samba

Post by Nid »

Lee,

I am using Nautilus file manager to connect to my CIFS share mounted the share using ftp service.

Nautilus > File > Connect to Server then just entered my ftp server info and letting Nautilus handle it via FTP instead of CIFS. My transfer went full tilt, Linux file operation meter is showing 105.6MB/s at the very last sec of the transfer. Graph in N4F average the transfer about the same. I'm pretty happy like a pig in the mud right now :D

Image

Post Reply

Return to “CIFS/SMB (Samba)”