SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV v7 Customizations > Phoenix

Notices

Phoenix This forum is for discussing the user-created Phoenix custom interface for SageTV.

Reply
 
Thread Tools Search this Thread Display Modes
  #101  
Old 05-21-2013, 05:47 AM
rwc rwc is offline
Sage Aficionado
 
Join Date: Jun 2004
Posts: 284
I've been using fancycache and really liking it...but as I was thinking about caching I started to wonder how hybrid drives, fancycache, and superfetch varies...

How do you think the following 3 things compare:

SATA hard drive+fancycache
SATA hard drive+a very big superfetch
SATA hybrid hard drive


I'm guessing that the hybrid drive would win mostly because of increased performance on the write side. But from a 'read' point of view would come out close to the same.

I have no idea how superfetch would compare to fancycache...unless their algorithms were drastically different, I would assume they'd be about the same
Reply With Quote
  #102  
Old 05-28-2013, 12:52 PM
Tomahawk51's Avatar
Tomahawk51 Tomahawk51 is offline
Sage Aficionado
 
Join Date: Oct 2005
Posts: 320
Fuzzy: Thanks for FancyCache advocacy. Perhaps the Ramdisk approach is a good one, but for me simplicity is a winner.

I have an SSD, installed FancyCache for my full SageTV drive, and I *think* it is helping. I especially love the fact that my non-recognized RAM is being used (32bit bound due to FireWire channel changing).

Question: I am using Read only mode. I gave it 756mb for L1, and all "Intelligent Memory" ~2.5gb. My main intention is to effectively use that L2.
Does my configuration make sense, or is it somehow a poor choice (e.g. L1 too low?).
Reply With Quote
  #103  
Old 05-28-2013, 09:46 PM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,953
Kinda depends on what you are trying to speed up. By 'SageTV drive' are you referring to the drive where sagetv resides, or where your recordings are? Ideally, best benefits would be where the sagetv folder resides - however, since it a volume level cache, running it on the recording drive has the potential to wipe a lot of the fanart out whenever a lot of recordings are in progress (even with LFU algoritm selected, it still passes data through the cache unnecessarily). If your sagetv drive is different that your recording drive, then this should work perfectly fine - you will get best performance limiting the caching to those areas that are used for repeated use (sagetv's fanart folder, and the userdata/cache area).
__________________
Buy Fuzzy a beer! (Fuzzy likes beer)

unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers.
Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA.
Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S
Other Clients: Mi Box in Master Bedroom, HD-200 in kids room
Reply With Quote
  #104  
Old 05-28-2013, 09:51 PM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,953
Quote:
Originally Posted by rwc View Post
I've been using fancycache and really liking it...but as I was thinking about caching I started to wonder how hybrid drives, fancycache, and superfetch varies...

How do you think the following 3 things compare:

SATA hard drive+fancycache
SATA hard drive+a very big superfetch
SATA hybrid hard drive


I'm guessing that the hybrid drive would win mostly because of increased performance on the write side. But from a 'read' point of view would come out close to the same.

I have no idea how superfetch would compare to fancycache...unless their algorithms were drastically different, I would assume they'd be about the same
In most cases, the fancy cache is going to be faster than the hybrid drive. hybrid drives are basically a regular hard drive, with an SSD as a cache - so access of cached material is still going to be limited by the speed of the SSD and the SATA pipe - fancycache, on the other hand, is in system RAM, which is accessed MUCH faster. For non-cached data, both would be the same.

As for a large superfetch (which in theory, is dependent on just how much free memory you have on your system) - it depends on the system. There is only one superfetch on a given system, and as such, it is then used for all drives - with limited per-drive configuration. Allocating memory to fancycache, however, allows you to dedicate and tweak a certain chunk of RAM for a certain drive. So in a typical sage server, you'd be able to cache the drive that has the sagetv install and supporting data, but not bother caching the write once - read once later scheme of the recording drives.

That said, I do run a small write-through cache on my recording drives, but this is more to improve live comskip performance.
__________________
Buy Fuzzy a beer! (Fuzzy likes beer)

unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers.
Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA.
Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S
Other Clients: Mi Box in Master Bedroom, HD-200 in kids room
Reply With Quote
  #105  
Old 05-29-2013, 10:13 AM
Tomahawk51's Avatar
Tomahawk51 Tomahawk51 is offline
Sage Aficionado
 
Join Date: Oct 2005
Posts: 320
Thanks for the guidance. I should have been more clear, but your answer speaks to my question. I do have a dedicated OS drive (SSD) that hosts SageTV.

Quote:
Originally Posted by Fuzzy View Post
you will get best performance limiting the caching to those areas that are used for repeated use (sagetv's fanart folder, and the userdata/cache area).
I'll be looking at this when back from work more, but a question:

Is it possible to restrict FancyCache to ONLY cache specific folders?

If Yes, I missed that completely. It's simply caching my C: drive now, and I'd like to see if it would improve life to scope it to Fanart or even SageTV's folder.
Reply With Quote
  #106  
Old 05-29-2013, 10:46 AM
rwc rwc is offline
Sage Aficionado
 
Join Date: Jun 2004
Posts: 284
As far as I know, it's only to the c drive, and not a specific folder. To "combat" this, I just keep the cache high--figuring i'll get some of the folders from c:\ and the majority from the fan art...it's not efficient, but it works well.

I guess as a work around, you could partition off a directory just for fan art and run fancy cache on that partition.
Reply With Quote
  #107  
Old 05-29-2013, 04:27 PM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,953
Quote:
Originally Posted by rwc View Post
As far as I know, it's only to the c drive, and not a specific folder. To "combat" this, I just keep the cache high--figuring i'll get some of the folders from c:\ and the majority from the fan art...it's not efficient, but it works well.

I guess as a work around, you could partition off a directory just for fan art and run fancy cache on that partition.
Correct, FancyCache does whole volume caching - however, on a system drive, it works very well when run in LFU mode (LFU is Least Frequently Used, meaning that's how it decides what to purge from the cache). This keeps files that are used most frequently in RAM (like the fanart cache folder). Will you see massive improvements over the basic SSD running fancycache on it? Not sure - SSDs already are quite fast for random small file access - but RAM is still faster.
__________________
Buy Fuzzy a beer! (Fuzzy likes beer)

unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers.
Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA.
Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S
Other Clients: Mi Box in Master Bedroom, HD-200 in kids room
Reply With Quote
Reply

Tags
cache, extender, fanart, ramdisk


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

Advanced Search
Display Modes

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
TV Recordings - large thumbnail fanart displayed on top of poster fanart mkanet Diamond 5 03-25-2011 03:33 PM
BMT / Fanart / Themes Leveraging Fanart? Addict SageTV v7 Customizations 2 09-09-2010 05:38 AM
Fanart: Complete Fanart Collection... 4000 Movies and TV shows mkanet SageTV Customizations 24 04-20-2010 03:31 PM
Can someone who uses fanart please answer an easy question mkanet SageMC Custom Interface 5 06-15-2009 04:59 PM
SageMC, Fanart, MediaScraper & Central FanArt folder structure Help requested rmac321 SageMC Custom Interface 24 06-14-2009 02:00 PM


All times are GMT -6. The time now is 04:33 PM.


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