DCtoDaylight wrote: 
> I read a bit about the F2FS file system, but it sounded a bit
> proprietary, 
> 
It's been part of the linux mainline kernel since 2012

> 
> and not widely used.  
> 
Samsung, Huawai, Motorola, OnePlus etc, are using / have used it on
their phones, so there are lots of devices using it

> 
> As for the SD card, my understanding is that post boot, the OS is 100%
> in ram, and the card isn't used for anything 
> 
It's not (except in an OS specifically designed to run from RAM, like
PiCore)

> 
> (provided the cache is with the data)
> 
Even if the OS (incl. the installed applications) is read into RAM,
application data is not (this would limit it's size to the available RAM
(e.g. on my system, the cache is 1.8GB))

Linux uses a disk cache called  'page cache'
(http://sylab-srv.cs.fiu.edu/lib/exe/fetch.php?media=paperclub:lkd3ch16.pdf).
This means that free RAM (which isn't that much on a RPi with only 1GB)
will be used to cache data read from storage.
However,
- only requested data is cached ( e.g. Every time LMS queries the DB for
a record, it will initially be read from the DB on the SD card,
resulting in random IO access, which is what A1 cards are optimized for.
Same for music files, cover images, ...)
- subsequent reads will be from the page cache. Since there is not
enough RAM to hold all data for all application read from the storage,
old data will be discarded and will have to be re-read the next time
it's requested.

Of course, this all depends on your use case - if you only stream music,
performance will be less on an issue than if you use local music and
search/browse/...



SW: 'Web UI for LMS'
(http://forums.slimdevices.com/showthread.php?98186-Announce-Alternative-Web-Interface-(beta))
| 'Playlist Editor / Generator'
(http://forums.slimdevices.com/showthread.php?108199-Announce-LMS-Playlist-Editor)
| 'Music Classification'
(http://forums.slimdevices.com/showthread.php?108278-Announce-Essentia-Integration-music-classification-(moods-genres-))
| 'Similar Music'
(http://forums.slimdevices.com/showthread.php?108495-Announce-LMSmusly-play-similar-music)
| 'LMSlib2go' (https://www.nexus0.net/pub/sw/lmslib2go/)
HowTos: 'build a self-contained LMS'
(http://forums.slimdevices.com/showthread.php?99648-Howto-build-a-self-contained-LMS)
| 'Ogg Opus'
(http://forums.slimdevices.com/showthread.php?107011-Howto-play-Ogg-Opus-files)
| 'Bluetooth/ALSA'
(http://forums.slimdevices.com/showthread.php?107230-Howto-Bluetooth-streaming-to-from-LMS-(ALSA-only-no-PulseAudio))
------------------------------------------------------------------------
Roland0's Profile: http://forums.slimdevices.com/member.php?userid=56808
View this thread: http://forums.slimdevices.com/showthread.php?t=110034

_______________________________________________
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter

Reply via email to