Thank you for your donation!


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


Thread Closed 
Upcoming moOde 9.0.4 release
#11
I think the scenario is where you start on an 8GB RAM Pi which would result in default swap size = 100MB then put the SD Card in a <= 4GB PI. It would still be 100MB instead of 200MB had it been first enabled on the <= 4GB Pi.

I'll set the param in the conf file to 200 in postinstall
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
#12
(07-04-2024, 10:10 PM)Tim Curtis Wrote: I think the scenario is where you start on an 8GB RAM Pi which would result in default swap size = 100MB then put the SD Card in a <= 4GB  PI. It would still be 100MB instead of 200MB had it been first enabled on the <= 4GB Pi.

I'm still trying to grok how initialization in an 8GB Pi (which I don't have) sets swap space to 100MB. Maybe it will go better tomorrow morning with coffee instead of the way it's going tonight while 'sipping' wine and watching fireworks on TV.  Tongue

Quote:I'll set the param in the conf file to 200 in postinstall

That sounds reasonable but I'd still feel better if I understood the underlying code.

As an aside, the distributed moOde image has

Code:
CONF_SWAPSIZE=100

Is that a telltale that you're building on an 8GB Pi?

Regards,
Kent
#13
(07-05-2024, 03:02 AM)TheOldPresbyope Wrote:
(07-04-2024, 10:10 PM)Tim Curtis Wrote: I think the scenario is where you start on an 8GB RAM Pi which would result in default swap size = 100MB then put the SD Card in a <= 4GB  PI. It would still be 100MB instead of 200MB had it been first enabled on the <= 4GB Pi.

I'm still trying to grok how initialization in an 8GB Pi (which I don't have) sets swap space  to 100MB. Maybe it will go better tomorrow morning with coffee instead of the way it's going tonight while 'sipping' wine and watching fireworks on TV.  Tongue

Quote:I'll set the param in the conf file to 200 in postinstall

That sounds reasonable but I'd still feel better if I understood the underlying code.

As an aside, the distributed moOde image has

Code:
CONF_SWAPSIZE=100

Is that a telltale that you're building on an 8GB Pi?

Regards,
Kent

The dev host has 4GB RAM and CONF_SWAPSIZE=200 but the pi-gen based image builder creates the image in a chroot virtual environment and as part of moode-player package install the dphys-swapfile service is disabled and so its conf is left as-is and I'm guessing it ships with swap size = 100.

Code:
RPiOS: 12.6 (Bookworm 64-bit) | Linux: 6.6.31 (64-bit)
Model: Pi-5B 4GB
Temp:  46.6'C


    m o O d e   d e v e l o p m e n t   h o s t

                     Bookworm
                      64-bit


The programs included with the Debian GNU/Linux system are free 
software; the exact distribution terms for each program are 
described in the individual files in /usr/share/doc/*/copyright. 
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the 
extent permitted by applicable law.

Last login: Fri Jul  5 07:25:33 2024 from 192.168.1.125
pi@dev64-bk:~ $ 


Code:
pi@dev64-bk:~ $ cat /etc/dphys-swapfile | grep CONF_SWAPSIZE
CONF_SWAPSIZE=200
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub


Forum Jump: