![]() |
|
SageTV Downloads & Instructions This forum is for discussions containing Downloads and Instructions related to the Open Source version of SageTV. Please do not post questions in this forum. |
![]() |
|
Thread Tools | Search this Thread | Display Modes |
#121
|
|||
|
|||
Quote:
k
__________________
If you wish to see what I am up to and support my efforts visit my Patreon page |
#122
|
|||
|
|||
Quote:
k
__________________
If you wish to see what I am up to and support my efforts visit my Patreon page |
#123
|
||||
|
||||
Quote:
![]() ![]()
__________________
unRAID Server: Intel Core i5 7600K, 48GB DDR4, 2x512GB PCIe M.2 Cache Pool, 2x10TB SATA3 Parity Drive, 3x8TB SATA Array, 1x hdHomeRun DVB-T2 Quattro, IPTV via xTeVe, unRAID 6.8.3, tvHeadEnd for recording back end, Emby Clients: 3 Nvidia Shields, 3 FireTV, 3 Win10 Pro PC Clients |
#124
|
|||
|
|||
Out of curiosity- have you measured how much affect string de-duplication has on SageTV? It doesn't seem to me that there would be a lot of shared strings ... just the titles of TV series ... what else? And how much memory were the strings taking before and after? Curious if you have any statistics to share.
|
#125
|
||||
|
||||
He discussed the memory benefits a bit in the github issue: https://github.com/google/sagetv/issues/282
__________________
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 |
#126
|
|||
|
|||
Quote:
Should we be upgrading our Java to the latest V8, assuming that one is on V8 in the first place? edit - Maybe not so new as Java 8 Update 20 was released in mid 2014 - there have been something like 50 updates since then.
__________________
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 Last edited by wayner; 05-24-2017 at 10:21 AM. |
#127
|
|||
|
|||
Quote:
Looks like the strings that are being repeated are the: STV files client configurations files channel guide fanart (show descriptions, ....) etc. that are being used across clients... most of the string values in these are the same and the GC dedup is pointing all the String classes to the same immutable char array substantially reducing the memory footprint. This is pretty neat - as writing the SageTV to use shared references across clients normally would be very difficult and this is essentially being done behind the scenes for free. Last edited by sflamm; 05-24-2017 at 11:08 AM. |
#128
|
|||
|
|||
Quote:
|
#129
|
|||
|
|||
Quote:
|
#130
|
|||
|
|||
I was referring to the fact that this dedup required Java 8 update 20 - but we are WAY beyond that now so I assume that everyone on Java 8 should be good.
__________________
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 |
#131
|
|||
|
|||
The fanart (images) that are used for each client device are generated by the server. I assume these take a huge amount of the server-side process memory usage.
The images are static... the only processing that is done on them is scaling. And the fanart is shared across all clients. Would it be possible to store them internally in-memory as a String after being scaled? The data can be streamed from the String to the the clients... benefiting again greatly from the dedup.... Last edited by sflamm; 05-24-2017 at 12:06 PM. |
#132
|
||||
|
||||
Quote:
Quote:
For reference, on a stock SageTV install and ~60MB database, I was able to run multiple miniclients with a max heap size of only 256MB which to me is crazy low. When I looked at the objects on the heap in that configuration, it was clear the deduplication was working very effectively. You are correct that there is a minimum Java 8 version before this was introduced. If you try to run this on a version that's 8, but older than 20 it will just complain about how it doesn't know what to do the parameter. It should not actually prevent the software from working. Also in either case if you're on Java 8, I recommend keeping up with the latest fixes. This is a well established feature, so I don't have any worries about it needing to mature and it's easy to remove from the code if we decide it causing some horrible unforeseen issues.
__________________
SageTV v9 Server: ASRock Z97 Extreme4, Intel i7-4790K @ 4.4Ghz, 32GB RAM, 6x 3TB 7200rpm HD, 2x 5TB 7200rpm HD, 2x 6TB 7200rpm HD, 4x 256GB SSD, 4x 500GB SSD, unRAID Pro 6.7.2 (Dual Parity + SSD Cache). Capture: 1x Ceton InfiniTV 4 (ClearQAM), 2x Ceton InfiniTV 6, 1x BM1000-HDMI, 1x BM3500-HDMI. Clients: 1x HD300 (Living Room), 1x HD200 (Master Bedroom). Software: OpenDCT :: WMC Live TV Tuner :: Schedules Direct EPG |
#133
|
|||
|
|||
Quote:
I now run with a heap size of 3072 and I never even reach 2000 of usage, even when trying by turning on every client I can find. But as you (or someone else mentioned) the Linux version of SageTV seems to be more efficient in memory usage. But I can probably try turning my heap size down to about 1000 and see how it does. Presumably unRAID can use the memory for something else.
__________________
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 |
#134
|
||||
|
||||
Quote:
![]() Images in the sagetv image system are loaded and cached and evicted from the cache... which is why sometimes you'll see spinning circles when you navigate a very UI intensive menu. If we stored them in strings... that would actually take more memory, since, we'd be keeping the image bytes in the string, but they's have to be uncompressed before you can actually work with them. Today, we only keep the uncompressed images in memory (not the raw bytes from the files). (We also cache the filenames, in phoenix, but that's different than the image contents).
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#135
|
|||
|
|||
Quote:
So the issue hasn't been fixed as far as I can tell. |
#136
|
||||
|
||||
Quote:
Am I on the right track? If so, would anybody opine whether I should "Upgrade" my XP box to 7 or 10? I haven't heard anything good about 10, but it seems to be where things are headed.... OTOH, I know and trust 7. Also, once I get an acceptable OS on the box, am I going to run into trouble because my SageTV is installed on D and not C: ? The rationale for D: is that D: is for Data and C: is for System.... so I can image/re-image C: without losing data like Wiz.bin or SageTV.Properties.
__________________
Server: SageTV 9, Windows 10, i5 NUC Clients: HD200*3 over Cat5e Ethernet + 1 slightly flakey HD 300 + 1 HD200 remote at another residence Plugins: (none yet, looking for recommendations) Storage: NetGear Ultra-6 NAS 10 TB total w/dual redundancy. Plus 5tb QNAP for RecordedTV. Capture: 3 Silicon Dust HomeRun tuner boxes (6 tuners total) Program Source: OTA antenna Last edited by PeteCress; 05-29-2017 at 07:31 AM. |
#137
|
|||
|
|||
Quote:
Other than that I don't see a downside to Win10 and a bunch of things on the upside, such as being newer and having some features that Win7 doesn't have. For a further opinion - all of the cool kids are moving to unRAID Linux.
__________________
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 |
#138
|
||||
|
||||
Quote:
But for a hundred bucks (10 OEM price), maybe I need to re-visit the unRAID solution. Somebody had me going on it a couple weeks ago, but when I tried to create a USB stick to do the deed, I could not make it happen. A strong appeal to me of the UnRAID solution is the USB stick: it sounds like I can leave the XP install in place and just try UnRAID without losing anything - once I get a USB stick working.... -) Perhaps more relevant is that it seems like The-Powers-That-Be-SageTV-wise are all using UnRAID.... No problem with Un-RAID and 3-TB drives, right?
__________________
Server: SageTV 9, Windows 10, i5 NUC Clients: HD200*3 over Cat5e Ethernet + 1 slightly flakey HD 300 + 1 HD200 remote at another residence Plugins: (none yet, looking for recommendations) Storage: NetGear Ultra-6 NAS 10 TB total w/dual redundancy. Plus 5tb QNAP for RecordedTV. Capture: 3 Silicon Dust HomeRun tuner boxes (6 tuners total) Program Source: OTA antenna |
#139
|
||||
|
||||
Just when you run the Installer, choose Options before doing the install so you can ensure it is going to the path you want. When I did the V6 > V7 > V9 upgrade on my test image, the V9 Installer did the Default (C:\Program Files (x86)\SageTV) path instead of detecting it was on D: drive.
|
#140
|
|||
|
|||
Quote:
I myself have my HTPC/server with Win7 because I still want that option... SageTV isn't the only DVR I have installed, but it is by far the most used.
__________________
Server: SageTV 9.2.6x64 on Win10 x64 Home, i7-2600, 8gb RAM, OpenDCT, Java 1.8, 20TB storage Display: EVGA GT 1030 fanless to Sony LED TV via DVI-HDMI Capture Devices: HDHR Prime for Comcast, HDHR Dual for OTA (retired) Clients: Nvidia Shield Android miniclient |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Open Source Windows Installer | jusjoken | SageTV Github Development | 461 | 07-17-2019 01:54 PM |
Windows installer and running as a service | Opus4 | SageTV Github Development | 13 | 01-01-2016 07:33 AM |
Any news on the Windows installer? | Damstas | SageTV Github Development | 2 | 09-03-2015 10:09 AM |
Web Interface - where is the Windows installer | ckewinjones | SageTV Customizations | 2 | 01-09-2011 10:36 AM |