I just ordered a new server which will be used to serve mp4 video files ranging from 10MB up to 90MB using nginx (with pseudo-streaming).
This server has dual opteron 6128, 64GB of RAM.
What I would like to ask is how do I setup my hard disk to serve these video files the fastest way.
I ordered 8 x 1.5TB HDD in Hardware RAID 10. Upon my understanding of raid 10, I should be seeing 1.5TB of space only on fdisk -l, instead I am seeing 11.8TB. Did the server provider did it wrong?
fdisk -l
Disk /dev/sda: 107.4 GB, 107374181888 bytes
255 heads, 63 sectors/track, 13054 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0000d3d9
Device Boot Start End Blocks Id System
/dev/sda1 * 1 12794 102759424 83 Linux
/dev/sda2 12794 13055 2096128 82 Linux swap / Solaris
Disk /dev/sdb: 11892.5 GB, 11892537950720 bytes
255 heads, 63 sectors/track, 1445852 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
My other question is, how would I partition/format this disk for maximum read performance? This article http://www.zdnet.com/blog/storage/chunks-the-hidden-key-to-raid-performance/130 suggests that I use 512bytes to 8KB of chunks.
Please bear with me because I am a beginner in Linux. Thank you in advance.