Help with file system tuning/performance
I am putting up a video sharing website similar to youtube. The traffic will be minimal at first but over time I hope it grows to something fairly large even if it only sees a few percent of what youtube see.
To start with, my setup consists of 3 CentOS 6.3 64 bit servers: The main webserver, a video processing server, and the video storage server. I believe most of what I am about to ask pertains to the storage server.
The main webserver hosts the website with thumbnails of the videos as well as the mysql database. Basically everything other than the video files. This is hosed on a RAID 1 SSD hard drive array.
The video storage server will be where all of the videos are stored. This server will be at a datacenter on a 1Gbps connection. It has 2 160GB hard drives in Raid 1 which will be for the OS and then a RAID array consisting of 14 2TB enterprise hard drives with 4ms seek time. These are Western Digital RE4's. I'm leaning towards RAID 10 but still not sure if RAID 6 would work. My main question is, what file system tuning would you recommend on this video storage server on that RAID array and can you give me the commands to implement it?
The RAID card I am using is a LSI MegaRAID SATA/SAS 84016E with 256RAM. Also, as my website grows and more videos are added, I can simply add another storage server and tell the main webserver the new IP and it will start using that server.
I will be starting another new thread on if RAID 6 would work or would the performance hit be too great but that quesiton should not belong here so I will ask it in a new thread.
Last edited by ouroboro; 10-29-2012 at 09:54 AM.
|