Arch on Odroid / Raspberry Pi - tips to speed things up

AVForums

Help Support AVForums:

This site may earn a commission from merchant affiliate links, including eBay, Amazon, and others.

Marakasmalan

AVForums Veteran
*
Joined
May 4, 2015
Messages
499
Reaction score
7
Location
Mendoza - Argentinia
For the Rpi 3, if you are using a class 10 micro SD card

nano /boot/config.txt
add line:
Code:
dtparam=sd_overclock=100

For any arch device
Compiling can take long on the Pi, a little faster on the Odroid but can still be tedious. If you have more than one arch linux device on your network, install Distcc on all of them
https://wiki.archlinux.org/index.php/Distcc

Distcc is a program to distribute builds of C, C++, Objective C or Objective C++ code across several machines on a network. It should always generate the same results as a local build, is simple to install and use, and is usually much faster than a local compile. The cool part is one can use it together with native Arch build tools such as makepkg.

Especially helpfull if you need to compile LMS

For devices with multicore processors

sudo nano /etc/makepkg.conf

add:
Code:
MAKEFLAGS="-j$(nproc)"
# for Rpi 2 & 3: MAKEFLAGS="-j4"


Hope this can be helpfull to anyone, apologies if it is common knowledge.


 
Top