![]() |
|
|||||||
| Gemstone for v7 This forum is for discussing the user-created Gemstone custom interface for SageTV. |
![]() |
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Building Cache - Command Line
Is there any way to utilize the API to initiate the building of the cache from a command line script.
I have been experimenting with moving the cache to a RAM Disk with decent results. However, the cache would need to be rebuilt when the computer restarts. It would be nice if I could initialize the RAM Disk and kick off the pre-cache routine. No, I do not have a fancy fast SSD. That would make things too easy ![]() -smak |
|
#2
|
|||
|
|||
|
If you have move the cache...how is gemstone finding it while running? If gemstone can find it then could you not just copy the the ram disk on startup...I am likely missing something here!
k |
|
#3
|
||||
|
||||
|
I think I've gone through just about every iteration of various combinations of RAMDisks, SSD's, and Disk caches, and I've settled on the fact that the single best way to always get the easiest/best performance, while still allowing real-time updates of fanart, is to run a very large Disk Cache (I am currently running FancyCache, 4GB, on each client, and 4GB on the server), on a conventional HDD. This does a wonderful job of keeping everything in memory, and the system really does navigate quickly.
__________________
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 |
|
#4
|
|||
|
|||
|
I am using Windows Junction (link) to redirect the cache directory. Junction is a windows version of doing a symbolic link. Gemstone just writes to the same location and the OS handles the change.
On the extenders I set the cache setting to NOQUEUE. I am not exactly sure everything that setting does but I believe I read that it pulls the images directly from the cache. That setting seems to work great with the RAM Disk. The downside to that is on a reboot the RAM Disk gets built again and the cache is completely gone. If I could kick off the pre-caching on a system startup things would be close to perfect. Quote:
-smak |
|
#5
|
|||
|
|||
|
Quote:
Quote:
k |
|
#6
|
|||
|
|||
|
I'll go back and investigate the BACKGROUND option and see what happens.
I am also going to go back and tinker around with the FancyCache options and see if I can get that working better for me. That will alleviate the issue on the RAMDisk side. NOTE: everything was working fine before I went down this path. Just trying to squeeze out everything I can ![]() Thanks, smak |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Command-line walkthrough | megamojo | Batch Metadata Tools | 3 | 10-18-2010 08:06 PM |
| Way to update via command line? | ChaOConnor | Batch Metadata Tools | 1 | 08-17-2010 11:38 AM |
| 4.1.0 command line? | aflat | Batch Metadata Tools | 1 | 06-25-2010 06:48 PM |
| MetaDataLookUp Command Line | nstocke | SageMC Custom Interface | 1 | 03-14-2009 07:14 PM |
| Command line parameters? | Opus4 | SageTV Software | 1 | 04-03-2004 03:44 AM |