We are moving! New user registrations to this forum is now closed. Posting here will be disabled eventually. Please go to the new community for your Snakeoil OS support and other discussions. (June 03)

New community website: https://community.snakeoil-os.net (June 03)

Join us in the new community by Creating a new account. (June 04)


RAM disk vs large Squeezelite buffer?
#7
(22-Apr-2020, 07:38 AM)agent_kith Wrote:
(21-Apr-2020, 09:07 AM)koko6969koki Wrote: Thank you for the fast answer! Smile

You said "low buffer but enough RAM". How is this exactly working? 
Set a RAM disk size that's appriopriate (e.g. 1 or 2 album size), but use a smaller buffer for squeezelite. Because all your playing music is already in RAM, there's little point in creating another buffer (just going to add more processing time).

The idea behind using large Squeezelite buffers was to try them instead of RAM disk.
I don't intend to use both at the same time.
I wanted to try what works best in my case.
The one advantage that large Squeezelite buffers have over RAM disk is that I can just browse and play music using a simple Android control app on my tablet.
There is no need to go back to Snakeoil OS interface and use file browser for file transfers to RAM disk each time when I want to play something different.

I did some initial tests yesterday and the results look promising. Smile
I have installed nmon http://nmon.sourceforge.net/pmwiki.php on my Snakeoil NUC and via SSH I was able to monitor disk I/O activity during music playback.

[Image: Screen-Shot-2020-04-22-at-2-46-45-PM.jpg]

At the beginning of each track played, there is only a single burst of disk activity that seems shorter than one second (maybe it is that short because files are loaded to RAM buffer from SSD)
and after that there where no further signs of any disk activity during the whole playback time. Yay! Smile

Ok, RAM disk has an (slight?) advantage that all the files in the playlist are loaded to RAM before I start playing them, so there is no disk activity at the beginning of each song while it is being loaded in the buffer.
But in a real life usage, does it matter that much, since the loading time of one song is less or close to one second?

I have tried very long files, used some of my recordings that are almost two hours long (disk activity during loading was of course longer),
and tested the buffer by randomly jumping backward and forward over the player time line.
There wasn't a smallest sign of disk activity at any point, so I can assume that the files are fully loaded and playing 100% from RAM?

Now, the question is are there any other benefits of using the RAM disk over the large custom Squeezelite buffers? Smile

I have yet to fully test the sound quality differences.
The first impressions are that there is (maybe!) more 3D space and air, and that the presentation is more relaxed and finely layered.
But maybe this is just me expecting to things sound better! Smile

I have to listen more!
Reply


Bookmarks

Messages In This Thread
RE: RAM disk vs large Squeezelite buffer? - by koko6969koki - 22-Apr-2020, 09:32 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Snakeoil 1.4 and Squeezelite R2 - not rembering USB audio output petemac110 4 787 23-Feb-2025, 07:47 PM
Last Post: petemac110
  Snakeoil OS 1.4 problem with Squeezelite and Lyrion mloutfie 14 2,363 14-Feb-2025, 07:00 AM
Last Post: mloutfie
  Question about RAM Disk justme 6 1,019 28-Jan-2025, 10:01 AM
Last Post: agent_kith
  [SOLVEDSomething seriously wrong with Squeezelite. davem 11 2,902 01-Jul-2024, 09:22 AM
Last Post: Snoopy8
  More Problems with Squeezelite in 1.3 Coacharnold 2 839 17-Feb-2024, 09:47 PM
Last Post: Coacharnold



Users browsing this thread: 1 Guest(s)
[-]
Our Sponsors

[-]
Latest Threads
Android Firefox issues with forum
Last Post: agent_kith
10-Jun-2025 04:45 PM
» Replies: 21
» Views: 2030
[split] Possible To Load Snakeoil OS in ...
Last Post: Snoopy8
09-Jun-2025 06:43 AM
» Replies: 14
» Views: 1507
Snakeoil 1.4.3 (High End U3)
Last Post: hkphantomgtr
05-Jun-2025 03:58 PM
» Replies: 67
» Views: 8885
Snakeoil with Ubuntu Desktop ?
Last Post: Snoopy8
02-Jun-2025 09:38 AM
» Replies: 8
» Views: 903
Add IR remote control using Flirc USB in...
Last Post: Snoopy8
31-May-2025 03:50 PM
» Replies: 5
» Views: 654
Work In Progress: 1.4.4
Last Post: hkphantomgtr
29-May-2025 11:44 PM
» Replies: 44
» Views: 4981
SQ difference - Raspberry Pi vs x86_64?
Last Post: Snoopy8
27-May-2025 02:16 PM
» Replies: 42
» Views: 5400
Snakeoil 1.4.0 (High End)
Last Post: aabman
25-May-2025 11:35 AM
» Replies: 93
» Views: 14856
new install issues
Last Post: carlodim
23-May-2025 09:56 AM
» Replies: 42
» Views: 4397
Is this project still alive?
Last Post: agent_kith
20-May-2025 03:11 PM
» Replies: 10
» Views: 1168

[-]
SnakeoilOS Mission Statement

Our mission is to create a free to use computer OS that is easy to install, intuitive to operate and play music that will connect and engage with you emotionally.

SnakeoilOS gives you the freedom to spend more time on listening, enjoying and exploring music. Wasting time on computers is now a thing of the past! Everything is constantly evolving/improving. Please check back often for updates.

If you like this project, do show your support with a small token donation. All donations collected will be used to run this website, and for purchasing new equipment for the project.