[split] Possible To Load Snakeoil OS in RAM
|
Posts: 41
Threads: 5
Likes Received: 15 in 13 posts
Likes Given: 5
Joined: Jan 2023
Reputation:
15
Location: 中国
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
Posts: 3,025
Threads: 193
Likes Received: 1,257 in 818 posts
Likes Given: 688
Joined: Feb 2016
Reputation:
705
Location: Perth, WA
(29-Apr-2025, 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.
Snakeoil Operating System - Music, your way!
Posts: 13
Threads: 3
Likes Received: 3 in 3 posts
Likes Given: 0
Joined: Jan 2025
Reputation:
3
Location: Australia
29-Apr-2025, 12:20 PM
(This post was last modified: 29-Apr-2025, 12:25 PM by carlodim.)
(29-Apr-2025, 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
Posts: 3,025
Threads: 193
Likes Received: 1,257 in 818 posts
Likes Given: 688
Joined: Feb 2016
Reputation:
705
Location: Perth, WA
(29-Apr-2025, 12:20 PM)carlodim Wrote: (29-Apr-2025, 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
Ramroot is slightly different from PxE booting though. With PxE booting you can do so with any Linux operating systems. Ramroot is designed for Arch Linux but may work with other Linux distros....
Guess I can investigate how Arch Linux works with Snakeoil, and if it's good, maybe migrate over?  Something in the medium to long term I guess.
Snakeoil Operating System - Music, your way!
1
Posts: 580
Threads: 29
Likes Received: 221 in 174 posts
Likes Given: 524
Joined: Jan 2019
Reputation:
178
(30-Apr-2025, 10:51 AM)agent_kith Wrote: (29-Apr-2025, 12:20 PM)carlodim Wrote: (29-Apr-2025, 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
Ramroot is slightly different from PxE booting though. With PxE booting you can do so with any Linux operating systems. Ramroot is designed for Arch Linux but may work with other Linux distros....
Guess I can investigate how Arch Linux works with Snakeoil, and if it's good, maybe migrate over? Something in the medium to long term I guess.
Please excuse for a layman question...... does PxE booting also can boot without a boot disc? So the whole OS is already in the RAM?
Posts: 3,025
Threads: 193
Likes Received: 1,257 in 818 posts
Likes Given: 688
Joined: Feb 2016
Reputation:
705
Location: Perth, WA
(30-Apr-2025, 11:03 AM)hkphantomgtr Wrote: Please excuse for a layman question...... does PxE booting also can boot without a boot disc? So the whole OS is already in the RAM?  Yes. That's the idea, one less SSD running on the machine means less load on the PSU. And faster since everything is running in RAM.
You can look at this article for a general idea, and look up the Internet for more resources on how to do this.
Snakeoil Operating System - Music, your way!
Posts: 829
Threads: 46
Likes Received: 305 in 243 posts
Likes Given: 510
Joined: Mar 2019
Reputation:
239
Location: Melbourne, Australia
05-May-2025, 07:56 PM
(This post was last modified: 05-May-2025, 09:00 PM by Snoopy8.)
(30-Apr-2025, 10:51 AM)agent_kith Wrote: With PxE booting you can do so with any Linux operating systems. I tried setting up PxE and it required many moving parts : Bios of NUC, NAS to enable service, store image and Router for PxE server. Plus creating iso of the SO instance. Each required its own setup, with information all over the place and often generic.
Did not get it going. Setting up PxE is far too hard for me...
Posts: 3,025
Threads: 193
Likes Received: 1,257 in 818 posts
Likes Given: 688
Joined: Feb 2016
Reputation:
705
Location: Perth, WA
(05-May-2025, 07:56 PM)Snoopy8 Wrote: (30-Apr-2025, 10:51 AM)agent_kith Wrote: With PxE booting you can do so with any Linux operating systems. I tried setting up PxE and it required many moving parts : Bios of NUC, NAS to enable service, store image and Router for PxE server. Plus creating iso of the SO instance. Each required its own setup, with information all over the place and often generic.
Did not get it going. Setting up PxE is far too hard for me... Yeah, it's quite involved. Most typical routers' DNS server probably do not have a tftp setting so it either means you need a more specialised router (I was using pfSense, Untangle and Unifi). Thing is, I'm not sure if it's even worth documenting this down - as doing this is somewhat complex and may be too difficult for first time users.
But I guess, if there's enough interest, maybe? Or we can use kernel boot options and load the OS into RAM, this will still require onsite storage though.
Snakeoil Operating System - Music, your way!
Posts: 829
Threads: 46
Likes Received: 305 in 243 posts
Likes Given: 510
Joined: Mar 2019
Reputation:
239
Location: Melbourne, Australia
(07-May-2025, 11:01 AM)agent_kith Wrote: But I guess, if there's enough interest, maybe? Or we can use kernel boot options and load the OS into RAM, this will still require onsite storage though. Yes, I am interested and I think @ wxrbbs @ carlodim @ hkphantomgtr will also be.
1
Posts: 829
Threads: 46
Likes Received: 305 in 243 posts
Likes Given: 510
Joined: Mar 2019
Reputation:
239
Location: Melbourne, Australia
If SO can be loaded into memory, then for the Pi5, am I correct in saying that there is no longer an advantage to use NVME/SSD over microSD? If so, then another reason to pursue this enhancement ...
|
Possibly Related Threads… |
Thread |
Author |
Replies |
Views |
Last Post |
|
Snakeoil Music server & Snakeoil its own endpoint |
hkphantomgtr |
9 |
2,401 |
22-Jul-2024, 05:51 PM
Last Post: Snoopy8
|
|
Working on new Snakeoil release - 1.3.x (Codename Measurements) |
agent_kith |
42 |
13,239 |
19-Nov-2023, 10:53 AM
Last Post: agent_kith
|
|
Make SnakeOil install much easier |
Snoopy8 |
5 |
2,201 |
24-Aug-2023, 03:28 PM
Last Post: agent_kith
|
|
Request For Comments: Snakeoil 1.2.0 (Gear Isolation) |
agent_kith |
103 |
50,502 |
02-May-2021, 09:14 PM
Last Post: agent_kith
|
|
Lsyncd on Snakeoil |
seafoodlover |
6 |
4,097 |
18-Jan-2020, 07:26 AM
Last Post: agent_kith
|
Users browsing this thread: 1 Guest(s)
|
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: 1503
|
Snakeoil 1.4.3 (High End U3)
Last Post: hkphantomgtr
05-Jun-2025 03:58 PM
» Replies: 67
» Views: 8878
|
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: 4979
|
SQ difference - Raspberry Pi vs x86_64?
Last Post: Snoopy8
27-May-2025 02:16 PM
» Replies: 42
» Views: 5385
|
Snakeoil 1.4.0 (High End)
Last Post: aabman
25-May-2025 11:35 AM
» Replies: 93
» Views: 14846
|
new install issues
Last Post: carlodim
23-May-2025 09:56 AM
» Replies: 42
» Views: 4396
|
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.
|
|
|