Can you give us more information about the ubuntu tunning?
Thanks in advance
Best Regards
Hi,
Maybe it's a combination of many factors so here's an overview:
NAS Hardware:
- Intel DG965OT Motherboard with 6 onboard SATA ports.
- Intel Celeron Dual Core 2 Ghz.
- 4 Gb RAM
- Onboard PCI-Express Gigabit NIC.
- Promise TX2300 Controller for 1 dedicated 2.5" OS harddisk.
- 6 * Samsung Spinpoint F1 1TB 32 Mb cache all on onboard SATA ports.
Ubuntu / Linux Raid / Network:
- Disabled all NAS onboard hardware in BIOS except PCI-E LAN.
- Ubuntu 9.04 64-bit Server minimal install, mdadm and samba only.
- Gigabit switched network with CAT6 wiring (Netgear WNR3500 Gigabit Router).
- Linux Raid chunck size 64 K only.
- Linux ext3 filesystem.
On the Linux side turn off update access times for both the array and the mount folder:
------------------------------------------------
The things I found most directly effecting performance:
Chunck size of the Linux RAID array, you can adjust chunck for faster read or faster write needs, 64k I found best of both worlds, otherwise choose 256k. And the number of disks in the array, the more the faster. Really matters! I initially started with 4 disks, after adding the 5th disk things got faster, after adding the 6th disk things got really fast.
So, how fast is your client, is your network Gigabit switched (with perhaps CAT6 wiring), are all disks on onboard SATA ports, do you have onboard PCI-Express NIC,
how many disks are in the array, how much cache is on your disks, are the disks themselves hardwarewise fast enough (e.g. 5400 or 7200RPM), what chunck size used for the array, how much RAM does the NAS have, is your NAS OS on a seperate dedicated disk etc. Obviously there are many
factors that effect the final speed you get.
Maybe in general the
plain disk performance is under-estimated, on high-end commercial NAS and SAN systems there is a well known split between Fibre Channel (fast and expensive with high I/O) and SATA (cheap for e.g. archiving) disks so
what disk do you use and
how many in an array does make a difference.
hua_qiu's comment makes a lot of sense I think:
I doubt all of you have got max out your NAS, unless you have super fast machine on client side.
And his results are extremely good with
6 * 1T Seagate7200.12 RAID10 disks, 4Gb RAM and a Core 2 processor.
Whenever you read from or write to your NAS, you don't only test your NAS speed but also your client and network speed, any of those 3 can be the bottleneck. XP e.g. is much slower than Vista when pumping data to/from samba- or network shares. XP SP2 is faster than XP SP1, and to my surprise Vista SP2 seems a lot slower when
writing to NAS than Vista SP1.