SmallNetBuilder Forums

Go Back   SmallNetBuilder Forums > NAS > NAS Article Discussions

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 09-08-2008, 10:20 PM
tazdevil tazdevil is offline
New Member
 
Join Date: Aug 2008
Posts: 7
Default Build Your Own Atom-based NAS

TIm, I also built one of these last week with 1gb of ram, 120gb 2.5" OS disk, and 2x1TB Seagate hard drives mirrored using mdadm with Ubuntu Server 8.04. I used a mini case to mount all the hardware in and used a dual port PCI 1GB Intel Pro nic, running in bonded mode with load balancing, this little thing flys. I would like to see your next series as I have been using Ubuntu for a desktop and like it, but if the performance gain is enough, I will flip the linux distro to something else.

Please keep up the great work, I enjoy reading the articles, and the information.

Tazdevil [article link]
Reply With Quote
  #2  
Old 09-09-2008, 10:48 AM
Muunsyr Muunsyr is offline
New Member
 
Join Date: Sep 2008
Location: Melbourne, Australia
Posts: 4
Default

Hi Tim and all,

This is just the sort of article I was after atm. I have been messing around with Ubuntu server/FreeNAS for a couple of weeks now on a dual core AMD - but this is just a test until I get my hands on something like the atom board you have used here. For me, the big benefit for a (relatively) low powered DIY NAS is the ability to add support for extra services as I see fit. Initially it will be 'squeezecenter' for my squeezebox, and remote file downloading (which of course can already be done with many other commercial NAS's).

Of course, part of the reason I want a NAS at all is for somewhere safe and accessible for my files, which is perhaps a good reason not to be adding services - none the less it is something that I feel is worthwhile.

Just my two cents - and a big thanks for the site, it has been a great help and I imagine it will continue to do so. Keep up the good work!

-Muunsyr
Reply With Quote
  #3  
Old 09-09-2008, 02:31 PM
Unregistered
Guest
 
Posts: n/a
Default great article

i currently own a DNS-323 & i am very happy with it. in the future i am planning to build a simular NAS box to replace my dns 323 because i need a "security camera server" to go along with all the things i can do with my dns 323.(file, media, & print serve) i will probibly have to run xp on my system to ensure compatability with the horrible linksys camera recording software.

if there is any way to run the recording software on the dns i would go that route, but i doubt that would be possible.

keep up the good work, i love this site!
Edit/Delete Message Reply With Quote
  #4  
Old 09-09-2008, 04:06 PM
Unregistered
Guest
 
Posts: n/a
Default About ACPI / watchdog

Thanks for this interesting article.
Currently I struggle with a (bigger) NAS setup built on linux. I need it to be fast and reliable, but the thing is guzzling over 100W when up and idle (micro ATX board and lots of discs.)

So I am using suspend-to-ram + wol, and network services come around under 5 secs. With a squeezebox appliance for example this is very useable. When sleeping, the NAS rates at 13W according to my kill-a-watt, for me thats good enough.
Problem is, ACPI support and specifically suspend to ram, is quite difficult to obtain under linux (never tested w/ BSD.) I tested with 4 boards until I found one able to suspend, wake-up, reboot or shutdown reliably. So if you could give us info on the state of ACPI compatibility in your reports, I would appreciate that.

The last board I tested with has a nicety: a hardware watchdog. I think this is an important feature for a NAS. Linux has a software watchdog, but a hardware one is better. I discovered the hw watchdog on that board when linux auto-loaded a module which blocked the software watchdog module... So can you mention the presence of a watchdog on the boards you are testing ?

Keep up the good work.
PS: too lazy to register this time. next time, I promise.
Edit/Delete Message Reply With Quote
  #5  
Old 09-10-2008, 04:32 PM
gremlin190
Guest
 
Posts: n/a
Default Tweaking freenas

I've installed freenas and have it running on a shuttle sg31g2 with a celeron 420 and 1 gb of ram. On the third page of your part 1 article, you enabled large read/writes, but you didn't change the send/recieve buffer size. On my nas I have these set to 65536 and constantly get 55MB/s writes and 65MB/s read with Vista sp1 running gigabit with jumbo frames
Edit/Delete Message Reply With Quote
  #6  
Old 09-10-2008, 04:33 PM
gremlin190
Guest
 
Posts: n/a
Default forgot to add I am running raid 5

forgot to add I am running raid 5
Edit/Delete Message Reply With Quote
  #7  
Old 09-10-2008, 06:37 PM
js.opdebeeck js.opdebeeck is offline
New Member
 
Join Date: Sep 2008
Posts: 6
Default

Hello ,

Really good article, but Webmin hides your current settings .

I'm a bit curious about your /etc/fstab and your /etc/samba/smb.conf values.

I'll be also interested from Linux to Linux bench (iozone works well) , in Samba ... but also with NFS .

----


You can tune a bit Ubuntu and Samba :

* System

Set the 'noatime' or 'relatime' mount options in the /etc/fstab file. Look for the 'defaults' section and add 'defaults,noatime'.

/dev/md0 /mnt/raidarr/public ext3 defaults,noatime,errors=remount-ro 0 1


Sudo and edit /etc/init.d/rc file, look for CONCURRENCY=none and change it to:
CONCURRENCY=shell

Can help to improve boot and some Dual-Core processing.

* Samba :

The default SAMBA setup has terrible defaults!
Edit /etc/samba/smb.conf and find the line 'socket options'
Change the line to read:

socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=8192 SO_SNDBUF=8192

From a terminal line execute:

sudo /etc/init.d/samba restart


Read that just as comments. Just take care of it in future test if you want .

Nota ... ghost is a bit old ... use acronis . It really rocks and can be used on USB stick too.

Thanks again for all.

Kind regards

Js
Reply With Quote
  #8  
Old 09-10-2008, 06:59 PM
thiggins's Avatar
thiggins thiggins is offline
Mr. Easy
 
Join Date: May 2008
Posts: 2,977
Default

Quote:
Originally Posted by gremlin190 View Post
On the third page of your part 1 article, you enabled large read/writes, but you didn't change the send/recieve buffer size.
Sorry, didn't realize that the two were related. I'll have to go back and check that out.
__________________
Tim Higgins
Managing Editor,SmallNetBuilder.com
Reply With Quote
  #9  
Old 09-10-2008, 07:03 PM
thiggins's Avatar
thiggins thiggins is offline
Mr. Easy
 
Join Date: May 2008
Posts: 2,977
Default

Thanks for the comments, js. Yes, Webmin isn't great at showing the current settings for everything. But it sure is easier for newbies and occasional Linux users!

I didn't make any changes manually to /etc/fstab or /etc/samba/smb.conf.
I did a quick check of the smb.conf and found socket options = TCP_NODELAY

I'll try out your suggestions soon, but probably when I switch to a platform that doesn't have the PCI gigabit Ethernet limit.
__________________
Tim Higgins
Managing Editor,SmallNetBuilder.com
Reply With Quote
  #10  
Old 09-11-2008, 06:20 PM
Unregistered
Guest
 
Posts: n/a
Default low power atom chipsets are available

Looks like 12W atom systems are on the way. I also saw Marvell released samples of 1.5GHz "Sheeva" ARM SOCs for NAS. No embedded graphics, but very low power. I would expect to see new products in 6 months, and low prices in a year. I still like the Marvell solution better as it should theoretically have a much higher hardware reliability (less components & less power means more reliability).

http://www.fudzilla.com/index.php?op...9047&Itemid=35
http://www.intel.com/design/chipsets...S15W/index.htm

http://www.marvell.com/products/media/index.jsp

fyi
Edit/Delete Message Reply With Quote
Reply

Tags
None


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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

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


All times are GMT -4. The time now is 05:35 AM.




Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
© 2006-2009 Pudai LLC All Rights Reserved.
Comscore