Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Problem: Problems with MPD 0.22~git input_cache thread
#7
(07-22-2020, 09:42 PM)TheOldPresbyope Wrote: As usual, the InterWeb™ is full of contradictory information. I can't find an authoritative statement for Raspberry Pi OS (aka Raspbian) of the maximum memory space addressable in a 32-bit process (our userland is still 32-bit [1]) running on a 64-bit kernel. However, 3GB is certainly up there and I was keying off the "std::bad-alloc" message. 

Were you watching the mem usage? Did it appear that MPD died when the cache was full?

I know this is a heat-it-and-beat-it solution but what happens if you dial the cache size down some and let the system run?

It should be clear I don't understand what the input_cache function really does. The cursory description in the manual doesn't make sense to me now on rereading.

In any case, I don't see the practical benefit of gigabytes of cache given the way we play tracks.

Just my 2 cents worth  Smile

Regards,
Kent

[1] In separate effort I'm trying to build moOde in the current beta 64-bit Raspberry Pi OS.  It's early days yet.

I’m pretty sure that it crashed as the cache was overfilled. I had at other occasions been watching proceedings in htop, and it progressively fills the cache up track after track as they are loaded just-in-time before they are played, then (and I’m guessing now) prune the oldest tracks to make room for new ones as the cache gets near its limit. Probably just a bug in the functionality of cache if I were to make a guess.

NB: 32 bits can address 4,294,967,296 bytes.
Reply


Messages In This Thread
RE: Problems with MPD 0.22~git input_cache thread - by hestehandler - 07-22-2020, 09:51 PM

Forum Jump: