Author Topic: Arch on Odroid / Raspberry Pi - tips to speed things up  (Read 356 times)

Offline Marakasmalan

  • Trade Count: (+14)
  • AVForums Veteran
  • ***
  • Posts: 490
Arch on Odroid / Raspberry Pi - tips to speed things up
« on: October 06, 2016, 02:55:35 AM »
For the Rpi 3, if you are using a class 10 micro SD card

nano /boot/config.txt
add line:
Code: [Select]
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

Quote
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: [Select]
MAKEFLAGS="-j$(nproc)"
# for Rpi 2 & 3: MAKEFLAGS="-j4"


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