The Wiki recommends using make -j 3 when building from source on a Raspberry Pi 3. I have found this to be a problem because this uses all the memory and swap space and the build goes into swap death. Make -j 2 also has the same problem. Is anyone else seeing this or have I missed something in the Wiki?
Thanks for your help and comments.
Raspberry Pi 3 make -j 3 issue
Moderator: leecollings
- waaren
- Posts: 6028
- Joined: Tuesday 03 January 2017 14:18
- Target OS: Linux
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: Raspberry Pi 3 make -j 3 issue
I had similar problems. What I do now on my development system ismhfrey wrote: ↑Sunday 16 December 2018 22:58 The Wiki recommends using make -j 3 when building from source on a Raspberry Pi 3. I have found this to be a problem because this uses all the memory and swap space and the build goes into swap death. Make -j 2 also has the same problem. Is anyone else seeing this or have I missed something in the Wiki?
Thanks for your help and comments.
stop all services not absolutely needed,
Code: Select all
service bluetooth stop
service cron stop
service domoticz stop
service domoticz.sh stop
service fail2ban stop
service kmod stop
service lightdm stop
service monit stop
service mysql stop
service nmbd stop
service raspi-config stop
service atd start
service samba stop
service smbd stop
service triggerhappy stop
service winbind stop
Code: Select all
make -j1 1>make.log 2>make.error
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
-
- Posts: 11
- Joined: Sunday 06 April 2014 2:26
- Target OS: Raspberry Pi / ODroid
- Domoticz version: v3.8160
- Location: USA
- Contact:
Re: Raspberry Pi 3 make -j 3 issue
Thanks for the reply, I guess I did not miss something. I agree make -j 1 will work, I have also found that make -j 2 will also eventually go into swap death.
The Wiki should probably be updated.
Cheers,
The Wiki should probably be updated.
Cheers,
- waaren
- Posts: 6028
- Joined: Tuesday 03 January 2017 14:18
- Target OS: Linux
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: Raspberry Pi 3 make -j 3 issue
I tried but giving a fatal exception. Might have something to do with the planned move of the forum. Will try again tomorrow but you should also be able to update the wiki or add something if you think it is missing / incorrect
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
Who is online
Users browsing this forum: No registered users and 1 guest