single zfs drive getting 10Mbs when wrighting cifs please help

Status
Not open for further replies.

tyx660

Cadet
Joined
Jan 19, 2013
Messages
6
cpu:1.6 dual
ram: 1.25Gb
nic:1Gbs (1000baset)
can anyone please help me increase my write speeds by changing settings or tell me what king of hardware i need.
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,525
Just a heads up that's about a quarter of the recommended RAM. Please read the FreeNAS manual.. it says 6GB + 1GB for each TB of disk space.
 

tyx660

Cadet
Joined
Jan 19, 2013
Messages
6
i wanted to use ufs at first to make up for the fact that i was low on ram. when i was using ufs it was slow so i decided to try zfs. also that is all the extra ram i had around to build with. also my disk is less then 1tb
 

tyx660

Cadet
Joined
Jan 19, 2013
Messages
6
can anyone one tell me if changing the dos/unix charset in cifs will improve performance
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,525
Nothing is going to improve your performance until you get more RAM. You are starving your machine with so little RAM.
 

tyx660

Cadet
Joined
Jan 19, 2013
Messages
6
is there a way to use sdhc card as ram with freenas? i have a spear 4Gb class 4 card. i am going to upgrade my ram when i can afford to as i am currently catching up on other bills
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,525
Nope. Not to mention an SDHC card class 4 is rated for a maximum speed of 4MB/sec, so that's not really going to help you even if it were possible.
 

tyx660

Cadet
Joined
Jan 19, 2013
Messages
6
ok thank you for the information guess i will have to deal with slow speeds until i can get some money for parts
 

MaIakai

Dabbler
Joined
Jan 24, 2013
Messages
25
I was getting slow speeds 8MB/sec on decent hardware. Heres what I changed

Under Sysctls, add net.inet.tcp.delayed_ack 0

under CIFS Settings enable the following

Large RW support
Send files with sendfile(2)
EA Support
Enabile AIO
Min/Max AIO read/write Size 4,096

I'm now pushing 80-140MB/sec on my box.

With that said get more ram.
 

tyx660

Cadet
Joined
Jan 19, 2013
Messages
6
thank you for the help. i add the Sysctls (net.inet.tcp.delayed_ack in the variable and 0 in the value) also made the other changes but no speed change for now i will retest in the morning after the NAS reboots. i am planning to buy more ram asap but sadly lack the funds
 

norskman

Contributor
Joined
Sep 28, 2012
Messages
149
Large RW support
Send files with sendfile(2)
EA Support
Enabile AIO
Min/Max AIO read/write Size 4,096

I'm now pushing 80-140MB/sec on my box.

Where are the CIFS settings?
where are these parameters located please? I am running V8.3 I don't see it
 

MaIakai

Dabbler
Joined
Jan 24, 2013
Messages
25
Large RW support
Send files with sendfile(2)
EA Support
Enabile AIO
Min/Max AIO read/write Size 4,096

I'm now pushing 80-140MB/sec on my box.

Where are the CIFS settings?
where are these parameters located please? I am running V8.3 I don't see it


Login to freenas, Click Services on top bar(Two Gears Icon)
Click wrench Icon next to CIFS

Change options, hit ok at the bottom, turn CIFS off and on again, test.
 

witalit

Cadet
Joined
Feb 12, 2013
Messages
8
So did these help? I have just made those changes to my box also. I was getting 50MB/s which is pretty decent but the more performance the better of course :smile:
 

madmax

Explorer
Joined
Aug 31, 2012
Messages
64
I had no problems with CIFS speeds until I used auto tune.

These didn't help

Large RW support
Send files with sendfile(2)
EA Support
Enabile AIO
Min/Max AIO read/write Size 4,096

But this helped

Under Sysctls, add net.inet.tcp.delayed_ack 0

Not perfect but get higher rates then 30 mb/s read and write
 
Status
Not open for further replies.
Top