Skip to content

easyinstall: Use one core with the compiler by default#1114

Merged
rdmark merged 1 commit intodevelopfrom
rdmark-one-core-again
Mar 2, 2023
Merged

easyinstall: Use one core with the compiler by default#1114
rdmark merged 1 commit intodevelopfrom
rdmark-one-core-again

Conversation

@rdmark
Copy link
Copy Markdown
Member

@rdmark rdmark commented Mar 2, 2023

This restores the previous behavior of using 1 core by default to compile piscsi in easyinstall.

What I found out is that a RPi Zero2 W runs out of memory very quickly compiling with even just two cores, when you run a 64 bit OS.

@rdmark rdmark requested a review from nucleogenic March 2, 2023 19:39
Copy link
Copy Markdown
Member

@nucleogenic nucleogenic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there some kind of cores-to-RAM ratio we could consider?

e.g. 512MB -> 1 core, 1GB -> 2 cores, etc?

@rdmark
Copy link
Copy Markdown
Member Author

rdmark commented Mar 2, 2023

@nucleogenic Probably! But the available memory also depends on what other processes are running and using resources on the RPi. And the memory used by the compiler depends on the complexity of the module currently being compiled. There are too many variables I think.

@rdmark rdmark merged commit 3de66af into develop Mar 2, 2023
@rdmark rdmark deleted the rdmark-one-core-again branch March 2, 2023 21:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants