• Some users have recently had their accounts hijacked. It seems that the now defunct EVGA forums might have compromised your password there and seems many are using the same PW here. We would suggest you UPDATE YOUR PASSWORD and TURN ON 2FA for your account here to further secure it. None of the compromised accounts had 2FA turned on.
    Once you have enabled 2FA, your account will be updated soon to show a badge, letting other members know that you use 2FA to protect your account. This should be beneficial for everyone that uses FSFT.

OI + napp-it -- smb issues

bbenz33

[H]ard|Gawd
2FA
Joined
Dec 8, 2004
Messages
1,394
I have been getting less than stellar performance with a FreeNAS setup using smb so after reading a couple other threads I decided to setup a VM of OI + napp-it. I got OI (server) installed and followed the mini howto and installed napp-it. I created a vpool for a second drive that I am using to test with. It has smb enabled on it. However for the life of me I can't seem to even connect to the server via a Win 7 box. I am not sure what I am doing wrong. It almost appears that there is a firewall killing the connection as it doesn't appear to even try authenticating. Any help is appreciated.
 
Just a question in relation to your poor SMB Speeds; What network card are you using?

In your FreeNAS 8, add this to your Axillary Parameters Field in your CIFS Services config:

Code:
socket options = TCP_NODELAY IPTOS_LOWDELAY IPTOS_THROUGHPUT SO_RCVBUF=98304 SO_SNDBUF=98304

Also, make sure you have enabled Large RW support and AIO on the same page.

With a Broadcom NIC I get 110+MB/sec constant.

This is Xfering a 20gb File:
filetransfer2.png
 
Last edited:
Thanks for the info. I will try it and see what happens. I am using the onboard realtek nic and was getting roughly 60MB/sec peek. I will try making the changes and see what happens.
 
Thanks for the info. I will try it and see what happens. I am using the onboard realtek nic and was getting roughly 60MB/sec peek. I will try making the changes and see what happens.

That's actually probably your problem. Realtek Nics have horrible performance, you can google it for more info. I doubt your performance with Solaris will be any better.

On my Windows 7 Machine I can only achieve 80MB/sec with the onboard realtek, when I put in a Broadcom NIC I get 110MB/sec+. Most people will tell you that you are going to need a Hardware based NIC like Intel or Broadcom, you can find them on Ebay cheap.

You can try the info I posted, you will probably get better speeds but I would not expect anything stellar.
 
Yeah I knew going into the setup that the NIC was less than preferable, however the real reason I am trying to think of alternatives is that when using NFS on FreeNAS I get much better speeds, but for some reason my media player (WD TV Live SMP) does not display thumb nails for my movies when using NFS. I am still in the middle of the troubleshooting to just replace the NIC but do have an open PCIe slot if that becomes necessary. Also to note that my main PC is using a Realtek card as well (until now have never ran Gb so had no need to pay attention to this).

I installed iperf and ran a few tests, but I'm not sure how good or normal my results might be. If I run a single stream then I get around 300-350Mb/s, but if I run more streams it goes up and running 10 streams got me 900Mb/s. Can you weigh in and let me know if this is normal, good or bad? Thanks!
 
Last edited:
I did some further testing with iperf and if I setup a server on the FreeNAS box and then adjusted the tcp window size to 64Kb on the WIn 7 box I got between 850 and 945 Mb/s.

That seems to look like in my opinion that the NICs aren't truly holding me back but instead maybe I need to adjust some additional values. Do you agree?
 
Back
Top