SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV Github Development
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

SageTV Github Development Discussion related to SageTV Open Source Development. Use this forum for development topics about the Open Source versions of SageTV, hosted on Github.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 02-01-2016, 09:28 AM
Taddeusz Taddeusz is offline
SageTVaholic
 
Join Date: Nov 2004
Location: Yukon, OK
Posts: 3,919
Block Level vs File Level Storage

I've asked this before some time ago without a definitive answer. I'm hoping Jeff can chime in since he would have the best knowledge of how SageTV saves recordings.

Since SageTV is now open source I'm still wondering if there is an advantage to using block level storage vs file level storage for recording directories? In other words using paths to physical disks or iSCSI devices using the native file system (e.g. NTFS etc) vs using local or network Windows/SMB shares.

Just as an example I know when working with Microsoft SQL Server backups you are limited to full backups when using file level storage. Only when you backup to block level storage will it allow you to do incremental backups.

I know SageTV will record to local or network shares but I'm wondering if there is any performance or other benefit to using a physical disk path?
__________________
Server: i5 8400, ASUS Prime H370M-Plus/CSM, 16GB RAM, 15TB drive array + 500GB cache, 2 HDHR's, SageTV 9, unRAID 6.6.3
Client 1: HD300 (latest FW), HDMI to an Insignia 65" 1080p LCD and optical SPDIF to a Sony Receiver
Client 2: HD200 (latest FW), HDMI to an Insignia NS-LCD42HD-09 1080p LCD

Last edited by Taddeusz; 02-01-2016 at 09:31 AM.
Reply With Quote
  #2  
Old 02-01-2016, 01:21 PM
Narflex's Avatar
Narflex Narflex is offline
Sage
 
Join Date: Feb 2003
Location: Redondo Beach, CA
Posts: 6,349
I'm not really sure I understand what you're asking here. When you say file vs. block storage....I'd assume you were referring to not even using a standard filesystem and just writing to the block device (HDD) directly and managing all of our own information around what blocks contains what data.

But in what you're explaining; it seems like you're asking about using a local physical disk vs. using network storage. For that; it's really all performance related. A local physical disk will pretty much always be faster than network storage...but if you have enough bandwidth and your network storage is fast enough; then everything will likely work just fine that way as well. You also never need to worry about the case of the filesystem actually being offline (although SageTV handles that very well).
__________________
Jeffrey Kardatzke
Google
Founder of SageTV
Reply With Quote
  #3  
Old 02-01-2016, 01:41 PM
Taddeusz Taddeusz is offline
SageTVaholic
 
Join Date: Nov 2004
Location: Yukon, OK
Posts: 3,919
Quote:
Originally Posted by Narflex View Post
I'm not really sure I understand what you're asking here. When you say file vs. block storage....I'd assume you were referring to not even using a standard filesystem and just writing to the block device (HDD) directly and managing all of our own information around what blocks contains what data.

But in what you're explaining; it seems like you're asking about using a local physical disk vs. using network storage. For that; it's really all performance related. A local physical disk will pretty much always be faster than network storage...but if you have enough bandwidth and your network storage is fast enough; then everything will likely work just fine that way as well. You also never need to worry about the case of the filesystem actually being offline (although SageTV handles that very well).
Thank you. I was just curious if there was anything in the code, like with SQL Server backups, that gives a notable advantage to directly using a file system vs a share.
__________________
Server: i5 8400, ASUS Prime H370M-Plus/CSM, 16GB RAM, 15TB drive array + 500GB cache, 2 HDHR's, SageTV 9, unRAID 6.6.3
Client 1: HD300 (latest FW), HDMI to an Insignia 65" 1080p LCD and optical SPDIF to a Sony Receiver
Client 2: HD200 (latest FW), HDMI to an Insignia NS-LCD42HD-09 1080p LCD
Reply With Quote
  #4  
Old 02-02-2016, 01:02 PM
Narflex's Avatar
Narflex Narflex is offline
Sage
 
Join Date: Feb 2003
Location: Redondo Beach, CA
Posts: 6,349
Quote:
Originally Posted by Taddeusz View Post
Thank you. I was just curious if there was anything in the code, like with SQL Server backups, that gives a notable advantage to directly using a file system vs a share.
No, nothing special. We just treat everything as a file and let the operating system do the other abstractions (only special case is relating to detecting if a folder is offline; we do that a little differently for network shares).
__________________
Jeffrey Kardatzke
Google
Founder of SageTV
Reply With Quote
  #5  
Old 02-03-2016, 03:09 PM
wayner wayner is offline
SageTVaholic
 
Join Date: Jan 2008
Location: Toronto, ON
Posts: 7,491
I have always preferred using UNC paths for media files in Sage as it makes it easy if you want to change hard drives - you just change the share. And it especially works well if you are changing a share from an entire drive to just a path on a drive - thanks to larger hard drives I no longer need an entire drive to hold music.

So my media libraries are in folders like:
\\\myserver\Videos
\\myserver\Movies
\\myserver\Music

rather than F:\, G:\, H:\
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA
Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA
Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server
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
Block vs File Storage Taddeusz SageTV Software 10 03-26-2015 11:10 AM
Can I add a top level grouping? jbsmith22 Diamond 1 04-02-2011 07:02 AM
Low audio level in Sage element33 SageTV Software 11 07-07-2010 06:26 PM
Internet Level DRM... TBacker General Discussion 2 01-10-2008 09:45 PM
Audio level on HD Extender? KJake SageTV Media Extender 6 12-15-2007 11:49 AM


All times are GMT -6. The time now is 05:47 PM.


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