SageTV Community  

Go Back   SageTV Community > Hardware Support > Hardware Support
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

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.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 05-06-2009, 02:44 PM
turak's Avatar
turak turak is offline
Sage Expert
 
Join Date: Sep 2003
Location: Miami
Posts: 560
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
Reply With Quote
  #2  
Old 05-06-2009, 03:05 PM
Djc208's Avatar
Djc208 Djc208 is offline
Sage Expert
 
Join Date: Feb 2007
Location: SE Virginia
Posts: 674
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.
Reply With Quote
  #3  
Old 05-06-2009, 03:11 PM
turak's Avatar
turak turak is offline
Sage Expert
 
Join Date: Sep 2003
Location: Miami
Posts: 560
My bad. When I said JBOD I meant just letting Sage see all of the disks. I didn't mean disk spanning.
Reply With Quote
  #4  
Old 05-07-2009, 01:19 AM
Lucas Lucas is offline
Sage Icon
 
Join Date: Aug 2004
Location: Greece
Posts: 1,156
Quote:
Originally Posted by turak View Post
My bad. When I said JBOD I meant just letting Sage see all of the disks. I didn't mean disk spanning.
I think for recording it's best to let sageTV see all the drives.

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
Reply With Quote
  #5  
Old 05-07-2009, 11:26 AM
panteragstk's Avatar
panteragstk panteragstk is offline
SageTVaholic
 
Join Date: Oct 2008
Location: New Braunfels, TX
Posts: 3,312
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.
Reply With Quote
  #6  
Old 05-07-2009, 11:55 AM
michelkenny michelkenny is offline
Sage Advanced User
 
Join Date: May 2005
Location: Canada
Posts: 233
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.
Reply With Quote
  #7  
Old 05-07-2009, 12:11 PM
babgvant babgvant is offline
Sage Icon
 
Join Date: Jul 2008
Location: London
Posts: 1,834
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).
__________________
babgvant.com | @babgvant | Missing Remote
Reply With Quote
  #8  
Old 05-07-2009, 12:36 PM
stanger89's Avatar
stanger89 stanger89 is offline
SageTVaholic
 
Join Date: May 2003
Location: Marion, IA
Posts: 15,188
Quote:
Originally Posted by panteragstk View Post
I was under the impression that raid 0 used both drives bandwidth so theoretically it could double the bandwidth.
Sequential bandwidth, but that's not the limiting factor for a DVR application. DVR applications are bound by latency, this is why 64k clusters are recommended, it allows more data to be read before having to seek to new data.

RAID-0 doesn't do anything for latency, as that's determined almost exclusively by rotational speed.
Reply With Quote
  #9  
Old 05-07-2009, 01:39 PM
turak's Avatar
turak turak is offline
Sage Expert
 
Join Date: Sep 2003
Location: Miami
Posts: 560
Quote:
Originally Posted by babgvant View Post
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).
This was the point of my question. I understand the mechanics of the various RAID types. What I was/am unsure about is how intelligent Sage is about handling multiple disks. Let's say we have 4 disks called A, B, C and D. Drive A has 800GBfree and the rest have 750GB. Let's assume that SageTV just uses whatever has the most free space. I have 4 shows scheduled to record at 8:00 PM. Since all four shows start at the same time and Drive A has the most free space at 8:00 PM, then I would think all four recordings would go to the same disk.

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.
Reply With Quote
  #10  
Old 05-07-2009, 01:46 PM
babgvant babgvant is offline
Sage Icon
 
Join Date: Jul 2008
Location: London
Posts: 1,834
Quote:
Originally Posted by turak View Post
This was the point of my question. I understand the mechanics of the various RAID types. What I was/am unsure about is how intelligent Sage is about handling multiple disks. Let's say we have 4 disks called A, B, C and D. Drive A has 800GBfree and the rest have 750GB. Let's assume that SageTV just uses whatever has the most free space. I have 4 shows scheduled to record at 8:00 PM. Since all four shows start at the same time and Drive A has the most free space at 8:00 PM, then I would think all four recordings would go to the same disk.

If this example is how Sage makes use of available disks then I would probably get better performance for RAID. If instead it splits active recordings among the available disks then I would get better performance with just a bunch of disks.
If it just picks the one with the most space it should work out the way you want over time. You could proactively balance recordings as well.
__________________
babgvant.com | @babgvant | Missing Remote
Reply With Quote
  #11  
Old 05-07-2009, 01:58 PM
PLUCKYHD PLUCKYHD is offline
SageTVaholic
 
Join Date: Dec 2007
Posts: 6,257
Quote:
Originally Posted by babgvant View Post
If it just picks the one with the most space it should work out the way you want over time. You could proactively balance recordings as well.
I recomend NO raid or WHS myself.
Reply With Quote
  #12  
Old 05-07-2009, 01:59 PM
turak's Avatar
turak turak is offline
Sage Expert
 
Join Date: Sep 2003
Location: Miami
Posts: 560
Quote:
Originally Posted by babgvant View Post
If it just picks the one with the most space it should work out the way you want over time. You could proactively balance recordings as well.
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.
Reply With Quote
  #13  
Old 05-07-2009, 02:20 PM
Skirge01's Avatar
Skirge01 Skirge01 is offline
SageTVaholic
 
Join Date: Jun 2007
Location: New Jersey
Posts: 2,599
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.
Reply With Quote
  #14  
Old 05-07-2009, 02:29 PM
babgvant babgvant is offline
Sage Icon
 
Join Date: Jul 2008
Location: London
Posts: 1,834
Quote:
Originally Posted by turak View Post
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.
I looked in the manual; Sage load balances using drive space and expected recording size, so over time it should balance recordings across the drives as they are used.

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.
__________________
babgvant.com | @babgvant | Missing Remote
Reply With Quote
  #15  
Old 05-07-2009, 02:32 PM
babgvant babgvant is offline
Sage Icon
 
Join Date: Jul 2008
Location: London
Posts: 1,834
Quote:
Originally Posted by Skirge01 View Post
WHS drive pool, which is, technically, a software RAID.
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.
__________________
babgvant.com | @babgvant | Missing Remote

Last edited by babgvant; 05-07-2009 at 02:33 PM. Reason: bad grammer
Reply With Quote
  #16  
Old 05-07-2009, 02:54 PM
Skirge01's Avatar
Skirge01 Skirge01 is offline
SageTVaholic
 
Join Date: Jun 2007
Location: New Jersey
Posts: 2,599
Quote:
Originally Posted by babgvant View Post
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.
Okay, okay. You're right. I was trying to keep it simple for people. Drive Extender (the "drive pool" of WHS) is a pretty complex method of sharing the disk space between multiple drives, but only requiring the user to know where the share is. For example, everyone knows c:, d:, e:, etc. On a network, you have \\server\share1, \\server\share2, etc. With DE, you could have a single share (i.e. share0), which contains links to 20 different physical hard drives. When you put a file into the share0 folder, DE will determine which physical disk it needs to go onto and will balance the data so no drive is being utilized a near capacity while another sits completely empty. You simply see a shared folder with the pooled space from all the drives in the drive pool, hence the name.

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.
Reply With Quote
  #17  
Old 05-07-2009, 05:41 PM
turak's Avatar
turak turak is offline
Sage Expert
 
Join Date: Sep 2003
Location: Miami
Posts: 560
Quote:
Originally Posted by babgvant View Post
I looked in the manual; Sage load balances using drive space and expected recording size, so over time it should balance recordings across the drives as they are used.


This is what I was looking for. I guess next time I should RTM.
Reply With Quote
  #18  
Old 05-08-2009, 08:02 AM
GTwannabe's Avatar
GTwannabe GTwannabe is offline
Sage Aficionado
 
Join Date: Dec 2004
Posts: 434
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
Reply With Quote
  #19  
Old 05-08-2009, 08:19 AM
lobosrul's Avatar
lobosrul lobosrul is offline
Sage Expert
 
Join Date: Aug 2005
Location: Albuquerque, NM
Posts: 573
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.
Reply With Quote
  #20  
Old 05-08-2009, 08:31 AM
stanger89's Avatar
stanger89 stanger89 is offline
SageTVaholic
 
Join Date: May 2003
Location: Marion, IA
Posts: 15,188
Quote:
Originally Posted by GTwannabe View Post
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.
That all depends on the implementation. A good RAID controller can do RAID-5 with little/no throughput hit.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

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

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

Forum Jump

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


All times are GMT -6. The time now is 02:43 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.