Skip to content

Instantly share code, notes, and snippets.

@m0k1
Forked from cybear/raspberry_pi_optimization.md
Last active February 16, 2018 06:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save m0k1/5dd80d95cc0fc906651d270218696d73 to your computer and use it in GitHub Desktop.
Save m0k1/5dd80d95cc0fc906651d270218696d73 to your computer and use it in GitHub Desktop.
I read up a little on performance optimization for the Raspberry Pi, and gathered the links before they disappear from my short term memory.

Raspberry Pi general optimization

Web tools specifics

  • Recent versions of NodeJS have been optimized to utilize hardfloat (hardware float operations). Don't use apt-get, instead use nvm to get a more recent version of NodeJS.
  • If you use libraries or frameworks like Express, turn off logging. SD I/O is slow.
  • HW acceleration for CSS3 and HTML5 could be possible with Simon's accelerated X driver. Iceweasel (Debian's version of Firefox) will probably be better supported than Chromium (the non-Google distribution of Chrome) in the start, since its instructions are easier to optimize according to Simon / teh_orph. Midori which is already installed is based on WebKit and more lightweight than Chromium.

However, all web browsers using X will probably never be impressively fast, since X is very hard to accelerate (The problem with X performance is mentioned in this thread http://www.raspberrypi.org/phpBB3/viewtopic.php?f=63&t=4649)

@m0k1
Copy link
Author

m0k1 commented Feb 16, 2018

https://pastebin.com/i2ZP1TtR - Unifi podesavanja

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment