Snakeoil Forums
[split] Possible To Load Snakeoil OS in RAM - Printable Version

+- Snakeoil Forums (https://forums.snakeoil-os.net)
+-- Forum: Snakeoil Topics (https://forums.snakeoil-os.net/Forum-Snakeoil-Topics)
+--- Forum: Feature Requests (https://forums.snakeoil-os.net/Forum-Feature-Requests)
+--- Thread: [split] Possible To Load Snakeoil OS in RAM (/Thread-split-Possible-To-Load-Snakeoil-OS-in-RAM)



[split] Possible To Load Snakeoil OS in RAM - wxrbbs - 29-Apr-2025

Suggestion: Is it possible to run programs in memory, or even run the system in memory (such as ramroot)? Currently, after implementing memory-resident operation for mpd, upmpdcli, and diretta, the sound quality has improved significantly. Therefore, have you considered developing in this direction?

root@wxrbbsroon:~# ps aux | grep upmpdcli
upmpdcli    1393  0.1  0.1 1068028 10536 ?       Ssl  15:38   0:01
/run/upmpdcli/upmpdcli -c /var/www/scratch/upmpdcli.conf -D
upmpdcli    1404  0.0  0.4  85200 36480 ?        S    15:38   0:00 python3 /usr/share/upmpdcli/cdplugins/uprcl/uprcl-app.py
root       13386  0.0  0.0   6544  2176 pts/2    S+   15:51   0:00 grep --color=auto upmpdcli

root@wxrbbsroon:~# ps aux | grep mpd
root        1314  0.0  0.0   7340  3328 ?        S    15:37   0:00 /usr/bin/bash -c cd /var/www/;_NAME="wxrbbs" _OUTPUT="hw:0: Diretta3FF0 [TargetApp_0000,0: TargetApp_0000" _FORMAT="pcm" _OPTIONS=""  /var/www/music_players/mpd-v23/init /var/www/music_players/mpd-v23 2>&1;/var/www/music_players/mpd-v23/start /var/www/music_players/mpd-v23 2>&1;
root        1321  0.4  0.2 439440 17904 ?        Sl   15:37   0:03
/run/mpd/mpd-v23/mpd --no-daemon /var/www/scratch/mpd.conf
upmpdcli    1393  0.1  0.1 1068028 10536 ?       Ssl  15:38   0:01
/run/upmpdcli/upmpdcli -c /var/www/scratch/upmpdcli.conf -D
upmpdcli    1404  0.0  0.4  85200 36480 ?        S    15:38   0:00 python3 /usr/share/upmpdcli/cdplugins/uprcl/uprcl-app.py
root       13501  0.0  0.0   6544  2304 pts/2    S+   15:51   0:00 grep --color=auto mpd

root@wxrbbsroon:~# ps aux | grep ssyncAlsa_gcc14_x64_v1
root         912  3.6  0.0  94084  3584 ?        Ssl  15:37   0:31
/run/ssyn/ssyncAlsa_gcc14_x64_v1
root       13646  0.0  0.0   6680  2432 pts/2    S+   15:51   0:00 grep --color=auto ssyncAlsa_gcc14_x64_v1


RE: Work In Progress: 1.4.4 - agent_kith - 29-Apr-2025

(Today, 12:02 AM)wxrbbs Wrote: Suggestion: Is it possible to run programs in memory, or even run the system in memory (such as ramroot)? Currently, after implementing memory-resident operation for mpd, upmpdcli, and diretta, the sound quality has improved significantly. Therefore, have you considered developing in this direction?
As in load the OS in memory? Technically it can be done just that it requires some advanced networking configuration (e.g. setting up a TFTP server, and configure your computer to boot from network). Doing so it means you can boot your machine without any HDD/SSD.

I have a blog talking about it here: PxE booting.

Video of diskless setup.




RE: [split] Possible To Load Snakeoil OS in RAM - carlodim - 29-Apr-2025

(Today, 12:02 AM)wxrbbs Wrote: Suggestion: Is it possible to run programs in memory, or even run the system in memory (such as ramroot)? Currently, after implementing memory-resident operation for mpd, upmpdcli, and diretta, the sound quality has improved significantly. Therefore, have you considered developing in this direction?
Yes, interesting. AudioLinux offers this option:
Quote:7) With ramroot option you can load the entire system to RAM for a record reactivity and general performance. This way you can run a system without drives