Posts: 6,026
Threads: 177
Joined: Apr 2018
Reputation:
235
All my testing was with a NAS library. Perhaps that explains some of my observations.
New or old, this input_cache feature isn't interesting enough to me to get into another kerfuffle with MaxK over it.
Posts: 13,435
Threads: 305
Joined: Mar 2018
Reputation:
545
In any case it sounds like he's leaning toward having it be #songs to pre-fetch rather than amount of RAM for pre-fetching so the feature its prolly going change quite a bit b4 0.22 ships.
Posts: 283
Threads: 22
Joined: Apr 2018
Reputation:
1
07-23-2020, 01:39 PM
(This post was last modified: 07-23-2020, 02:03 PM by kit1cat.)
How do I get back to a working default MPD? Selected Default in Audio config and pressed set, but when I press library button I get the following error. lib-config: Connection to MPD failed?
Sorted : Updating to moOde 6.7.1 seems to have solved the problem.
Posts: 1,870
Threads: 43
Joined: Mar 2020
Reputation:
85
I'll have a play with some local files later, just for interest. In reality my system is idling along even when I'm listening to large files with SOX resampling, a couple of ssh sessions showing moodeutl -m and moodeutl -t and a library update running at the same time. The benefit conferred by having no network activity at song changeover would be negligible.
----------------
Robert
Posts: 283
Threads: 22
Joined: Apr 2018
Reputation:
1
07-24-2020, 11:05 AM
(This post was last modified: 07-24-2020, 11:07 AM by kit1cat.)
I thought I would run a little experiment, pi 3B+ 512 MB cache with pi4 OMV5 NAS.
Base memory usage 20%
add 1st track 23%
start playing 1st track 27%
add 2nd track 27% no change
start playing 2nd track 32%
add 3rd track 32% no change
start playing 3rd track 46%
Stopped playing 46%
I don't see any change in memory usage until the tracks start playing? The tracks do seem to load into the cache quite quickly once the track starts playing.
Posts: 1,538
Threads: 106
Joined: Mar 2018
Reputation:
73
07-24-2020, 06:09 PM
(This post was last modified: 07-24-2020, 06:10 PM by DRONE7.)
Cache vs buffers ?
Turn cache off and restart then monitor memory use...does it increase by the audio buffer size as a track begins to play ? (I'm guessing as I've not tried this and I am away from the Pi)
My tests have been with a playlist of 70+ tracks. Cache grows slowly until track 63 where the large tracks (mentioned in my last post) load and then jumps accordingly.
I'm not sure that entering tracks to the playlist one by one is a valid test ? In your example no change after adding the second track seems correct as there was only one existing track so nothing to cache once the first lone track started playing.
bob
----------
bob
Posts: 283
Threads: 22
Joined: Apr 2018
Reputation:
1
How do I turn the cache off?