E-Mail Request: Slow NAS
Nate is finding that FreeNAS, actually, any NAS is really slow on his system and is looking for help. Nate write:
Hello!
I just found your website not too long ago, and have really enjoyed it! I’m in IT by hobby and trade, and I have found many many useful features on your site, and everything is well documented and easy to follow, not to mention interesting!
I just recently went through your FreeNAS guide and got the system up and running on an old Compaq system I had lying around. I had been having issues with a store-bought Western Digital NAS, and was hoping to try an alternative as well as learn something in the process.
What I did find however, is the same problem, so I am hoping you have some suggestions for me. I know that you are not offering tech support, and you surely get tons of needy email, but I thought I would at least throw it out there for ya, and with any luck you have some knowledge and free time that you toss some clues my way.
Both my FreeNAS system and my Western Digital drive are extraordinarily slow. Like, dog slow.
They ping back with less than 1ms response, so that looks good, and my router indicates that everything is wired in and running at 100M.
That said.. the web interface on both is very slow. Copying a 1.24GB file to the WD system, took 20 minutes exactly. Not exactly speedy. I have similar speed issues with FreeNAS.
Any ideas? Some protocols somewhere? or some authentication errors that may be causing lag? I don’t even know where to start looking.
Thanks for any advice you have. Either way, I look foward to all your future work, and am anticipating your 32MB FlashDrive articles!
-Nate
First, Nate, thanks for the compliments. I’m always glad to hear that people are getting something out of the website.
Now, as for your speed problem. There are several things that it could potentially be but the one that comes to mind is an issue that I had myself a number of years ago.
I had deployed a new network with a server and a number of workstations. Everything worked fine and the network connectivity was there but everything was painfully slow. All the network applications took forever to come up and file transfers were ridiculous. After about two weeks, I finally discovered the problem.
When I created the images for the workstations, I built the image with the network card set to a speed of 100 Mbits and full duplex. At the last minute, we switched from a managed switch to an unmanaged switch. Most unmanaged switches have their speed duplexing set to autonegotiation. It was at this point that I made a bad assumption.
I assumed that since the network cards on each workstations were hard coded to 100/full, the switch would automatically recognize this and set each port to 100/full as well. In reality, I had created a duplex mismatch. Essentially, the network cards were looking for a 100/full link on the other end of their patch cable while the switch was expecting an autonegotiation session. Neither got what they were looking for and trouble ensued!
The long and the short of it is that you have to be sure that what is on one end of a patch cable is the same on the other end of the patch cable. That also goes for autonegotiation. Both devices need to be set to autonegotiation. If only one is set that way, then you will experience all types of network slowdowns! So remember:
100 to 100
1000 to 1000
half to half
full to full
auto to auto

Set these two options to match that on your switch and then click the Save button. With any luck, this will resolve your speed issues!
The other option is to set the speed on the switch. But, this is sometimes not possible, especially if it is an unmanaged switch.
Now, this is only my opinion. So, let’s put this out there to the DCoT readers. What do you think is causing Nate’s speed issues? Let everyone know in the comments.
Good luck, Nate!
If you found this post useful, why don't you buy me a cup of coffee to show your gratitude?
10 Responses to “E-Mail Request: Slow NAS”
-
Thomas Says:
December 19th, 2006 at 3:29 pmSwap the cable for a store-bought known good one anyway, esp. if you’ve been using the same one for both NASes. Try different router ports too, maybe even swap router hardware if you can. Pings could be okay but there could still be data loss over a more sustained period of time on a flaky but not entirely bad connection.
Try alternative protocols - ftp/SMB/http. Should at least provide additional data points.
-
Nate Says:
December 20th, 2006 at 8:34 amFirst off: Thanks, Tim, for the bit of publicity and the pile of help! I will see what settings I can tweak per your suggestions later this evening when I get a chance. Let me give a quick rundown of my apartment network, and maybe that will help shed some light on the issue as well.
Backend:
———
Cable Modem
Linksys 4port/wireless router
3com 8port switch
vonage telco/voip boxFrontend:
———-
eNet - wxp machine
eNet - xbox
eNet - printer
eNet - FreeNAS
eNet - *nix box
eNet - WD NAS
wifi - multiple MacOS machines
wifi - wxp laptops
wifi - TivoI think thats everything; but I couldn’t swear by it. I have a lot of stuff in a very small apartment =D
In any case, the Linksys and the 3com pretty much have no configuration options, so I would assume that they are both preset for autonegotiation as you mentioned, but I will see what I can find out for sure.
The WD NAS was a pretty cheap, pop it out of the box deal, so it doesn’t appear to have any network configuration setting either, other than to set dynamic or static IPs.
As far as I can tell, there isn’t any real slowdown between any of the computers, regardless of OS, but I will play around with that this evening as well and report back.
Thanks again for all the help!
-Nate -
Adam Says:
December 21st, 2006 at 12:52 pmSomething else to try is plugging the NAS and computer directly to one another using a crossover cable, bypassing any switches. If performance increases then you have a network issue somewhere other than those devices. If performance remains low then the issues are local to one of the machines you are using.
-adam
-
John Says:
December 22nd, 2006 at 2:38 pmDepending on where your network cables run, you might also be experiencing some interference in the cable. This can be cause by any number of sources, but items such as heaters can really play havoc with network transmission over UTP cables.
-
GPLWatcher Says:
December 23rd, 2006 at 5:46 pmVery simple answer, FreeNAS is extremely slow, this is a well known problem. Here’s a couple links to benchmarks and chat about it.
http://www.cecsllc2005.com/NasTest.html
http://www.serverelements.com/phpBB2/viewtopic.php?t=1224&sid=cc960aaa8009a4b7746331084fde5d4d
-
Tim Fehlman Says:
December 24th, 2006 at 8:18 amGood info, GPLWatcher.
Tim
-
Ash Says:
January 6th, 2007 at 10:09 amHow do you configure Freenas to use wireless cards?
-
fak3r Says:
January 24th, 2007 at 12:43 pmCheck out the Manual, page 30:
http://www.freenas.org/downloads/docs/user-docs/FreeNAS-SUG.pdf -
Michel Says:
February 22nd, 2007 at 6:21 am@GPLWatcher: Referencing to the forum of the creators of naslite .. goodbye neutrality
-
R. J. Comps Says:
March 2nd, 2007 at 8:18 pmThe fact is that FreeNAS is slow. For Michael’s sake, I’d also like to point out that the following resource is made available by the FreeNAS team.
http://dan.bcapro.com/naspeed/index.htm
Cheers.
RJC

