![]() |
|
|||||||
| Hardware Support Discussions related to using various hardware setups with SageTV products. Anything relating to capture cards, remotes, infrared receivers/transmitters, system compatibility or other hardware related problems or suggestions should be posted here. |
![]() |
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
||||
|
||||
|
JBOD vs RAID 5
I've decided to upgrade my SageTV server and ordered the following:
Intel Core i7 920 ASUS P6T Deluxe V2 Corsair Domintator 3 x 2GB DDR3 1600 4 x Samsung Spinpoint F1 7200 RPM SATA 3.0Gb/s 1TB I plan on using some of my existing HD's for the OS partition and dedicate the Spinpoint's to the SageTV recording. For tuner's I'm using two HD-PVR's (with AT&T Uverse) and a HD Homerun with both tuners recording OTA HD. I am currently using RAID5 for recording and it seem's pretty stressed when I'm recording 4 HD streams, watching 1 HD program and comskip is running. How smart is SageTV when it comes to choosing which disk to write to when you have multiple storage folders configured? Will it try to spread the IO around or does it just go by which has the most space available. I'm looking for performance not redundancy. I am wondering which would be the better way to go when the new parts arrive. Should I setup a separate recording folder on each disk or one RAID5 volume? Maybe I should just go with a 4TB RAID 0 stripe. EDIT: I would be using the onboard Intel SATA raid controller |
|
#2
|
||||
|
||||
|
I think they were working on improving the recording intelligence but essentially Sage will record to whichever drive has the most available space. Which depending on how you load the drives from your existing system should mean that Sage will hop between drives as it records.
Do you need the redundancy, since that's the main advantage of RAID 5. I don't know if JBOD will help over just letting Sage see all four drives. To the user it would be invisible anyway. The RAID 0 stripe may help with throughput but also increases the risk of data loss. Plus most reviews don't show much improvement. Personally I'd either just leave the drives alone, or consider running WHS and pooling the drives.
__________________
Server: Core 2 Duo E4200 2 GB RAM, nVidia 6200LE, 480 GB in pool, 500GB WHS backup drive, 1x750 GB & 1x1TB Sage drives, Hauppage HVR-1600, HD PVR, Windows Home Server SP2 Media center: 46" Samsung DLP, HD-100 extender. Gaming: Intel Core2 Duo E7300, 4GB RAM, ATI HD3870, Intel X-25M G2 80GB SSD, 200 & 120 GB HDD, 23" Dell LCD, Windows 7 Home Premium. Laptop: HP dm3z, AMD (1.6 GHz) 4 GB RAM, 60 GB OCZ SSD, AMD HD3200 graphics, 13.3" widescreen LCD, Windows 7 x64/Sage placeshifter. |
|
#3
|
||||
|
||||
|
My bad. When I said JBOD I meant just letting Sage see all of the disks. I didn't mean disk spanning.
|
|
#4
|
|||
|
|||
|
Quote:
You can also assign each of your capture devices to a specific disk. This way there are no issues in recording multiple streams to a single drive which sometimes leads to problems. I 've got 2 recording drives and it works quite well. If you need to also have some recorded show security, you can also backup your recording drive contents to another occasionally or get WHS which does it through pooling and folder duplication.
__________________
Windows 10 64bit - Server: C2D, 6Gb RAM, 1xSamsung 840 Pro 128Gb, Seagate Archive HD 8TB - 2 x WD Green 1TB HDs for Recordings, PVR-USB2,Cinergy 2400i DVB-T, 2xTT DVB-S2 tuners, FireDTV S2 3 x HD300s |
|
#5
|
||||
|
||||
|
I was under the impression that raid 0 used both drives bandwidth so theoretically it could double the bandwidth. 4 drives in raid 0 should be even faster. This is theoretical of course. When you factor read/write into the mix it gets odd. When reading only performance is great. Same with writing only. When you are doing both at the same time performance is pretty much crippled so it doesn't matter how much available bandwidth you have.
Here is a really good article on the subject. AnandTech SSD, SAS, SATA comparison.
__________________
SageTV Server: unRAID Docker v9, S2600CPJ, Norco 24 hot swap bay case, 2x Xeon 2670, 64 GB DDR3, 3x Colossus for DirecTV, HDHR for OTA Living room: nVidia Shield TV, Sage Mini Client, 65" Panasonic VT60 Bedroom: Xiomi Mi Box, Sage Mini Client, 42" Panasonic PZ800u Theater: nVidia Shield TV, mini client, Plex for movies, 120" screen. Mitsubishi HC4000. Denon X4300H. 7.4.4 speaker setup. |
|
#6
|
|||
|
|||
|
The RAID 5 implementation on the Intel onboard controller is software based, which is REALLY slow. In order to have a fast RAID 5 array, you need to buy a controller with a hardware XOR chip, which usually runs at $150-$200.
|
|
#7
|
|||
|
|||
|
Stay away from RAID unless you really need the performance.
0 is faster in most scenarios, but if you lose a disc all the data is gone 5 fixes that using parity, but the implementation is controller specific so if the controller dies you need to replace it with the same kind or your data is gone (if you decide to go this way, get a discrete card) I'd use JBOD; you'd have to need some serious I/O bandwidth to overrun a modern HD's capabilities. It maximizes storage space and limits risk (only the drive that fails data will go away). If Sage is good about utlizing all the drives in your collection, you'd have plenty of I/O headroom (recording 1 writes to disc a, while recording 2 writes to disc b). |
|
#8
|
||||
|
||||
|
Quote:
RAID-0 doesn't do anything for latency, as that's determined almost exclusively by rotational speed. |
|
#9
|
||||
|
||||
|
Quote:
If this example is how Sage makes use of available disks then I would probably get better performance with RAID since it would be spreading the IO across multiple spindles. If instead it splits active recordings among the available disks then I would get better performance with just a bunch of disks. Someone mentioned assigning a capture device to a disk. I did not know that you could do this. Is this a merit system or will it ONLY use this disk? Last edited by turak; 05-07-2009 at 01:42 PM. |
|
#10
|
|||
|
|||
|
Quote:
|
|
#11
|
|||
|
|||
|
I recomend NO raid or WHS myself.
|
|
#12
|
||||
|
||||
|
How so? If four recordings start at the same time and if it's using the drive that has the most free space at the start of the recording, then all four recordings will always go to the same disk. If it's going by how much free space will be available after the recording is finished then it would probably end up balancing them across disks.
Last edited by turak; 05-07-2009 at 02:01 PM. |
|
#13
|
||||
|
||||
|
Like others have said, unless you're sure you are going to have an I/O issue with your disk subsystem, then I'd avoid RAID. I run WHS myself using a mix of 5400 rpm WD GP (they're actually around 6000 rpm) drives and 7200 rpm Samsung F1 drives (10 drives in total so far) which are all part of the WHS drive pool, which is, technically, a software RAID. I have never had an issue recording 4 HD shows, while watching a 5th. Admittedly, I was originally planning to use RAID 5 or even RAID 6 (at a cost of >$1000 for the controller card alone), but after much research, I concluded the following reasons were enough to stay away from it...
Keep in mind that you increase your risk of failure by going to RAID. RAID 0 is the worst, since you lose everything when a single drive failes. RAID 5 protects you from a single drive failure, but anyone who has set up an array and attempted to recover after a failed drive will tell you that you're not guaranteed to be able to rebuild the array after a failure. Additionally, during the rebuild, your IO is significantly degraded and another drive failure would also cause you to lose all the data. Finally, adding storage space (capacity expansion) can be problematic (doesn't always work) and if the RAID controller fails, you may not be able to just pop in a new controller, unless it's the exact same model. Back to my original point... try it without RAID first. If you do run into IO issues, THEN start considering some options such as WHS, NAS, etc. Don't go overboard until you know there's an actual issue to address. |
|
#14
|
|||
|
|||
|
Quote:
In your scenario; depending on the expected size, 2 or more recordings may get allocated to one disc. But if you use the same drive size and start from 0 (no recordings) with all the drives, that scenario (a large gap in free space) should only happen when the shows you've deleted are disproportionately on one drive. |
|
#15
|
|||
|
|||
|
unless something has changed since release, WHS isn't any kind of RAID; it's a fancy version of JBOD where all the writes are taken on the primary drive.
Last edited by babgvant; 05-07-2009 at 02:33 PM. Reason: bad grammer |
|
#16
|
||||
|
||||
|
Quote:
EDIT: Although, if you utilize WHS' duplication feature, that's essentially RAID 1, but that wasn't a feature I was originally talking about so babgvant is still correct. ![]() EDIT #2: Also, all the writes are no longer taken on the D: drive (secondary partition of the system drive aka the "landing zone"). MS got rid of the landing zone a while ago. Last edited by Skirge01; 05-07-2009 at 02:58 PM. |
|
#17
|
||||
|
||||
|
Quote:
This is what I was looking for. I guess next time I should RTM. |
|
#18
|
||||
|
||||
|
RAID 5 has rather pitiful write speeds because the parity stripe has to be calculated, written, and verified, so JBOD/RAID0/RAID1/etc will be much faster for Sage use.
__________________
Intel NUC SageTV 7 server - HDHomeRun PRIME - 2TB iSCSI ReadyNAS storage Intel i3 HTPC SageTV 7 Client - Win 7 x64 - Onkyo TX-674 |
|
#19
|
||||
|
||||
|
I use a Thecus n5200 in raid-5 (5x750GB) for archiving. It ran off parity after I had a disk go bad. So it really does work. Its not good for recording though. Just two HDTV streams caused stuttering.
|
|
#20
|
||||
|
||||
|
That all depends on the implementation. A good RAID controller can do RAID-5 with little/no throughput hit.
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| to raid or not | toony | Hardware Support | 80 | 02-24-2009 08:47 AM |
| New Highpoint RAID card as JBOD problem | Eckwell | Hardware Support | 1 | 11-13-2008 12:55 PM |
| To Raid or not to Raid? Anyone here running Raid5? | Shield | Hardware Support | 29 | 12-11-2007 07:59 PM |
| One user's experiences with RAID 0 and RAID 5 | stevech | Hardware Support | 0 | 04-04-2007 09:57 PM |
| Anyone using an Un-Raid with Sage? | lovingHDTV | Hardware Support | 0 | 01-11-2006 01:14 PM |