Difference between revisions of "PartKeepr on Raspberry Pi"

From PartKeepr Wiki
Jump to: navigation, search
(Added Raspberry Pi 3 section.)
m
Line 1: Line 1:
PartKeepr can run on a Raspberry Pi. Note that the '''information below is outdated'''; please read [[APC_Metadata_Caching]] for running PartKeepr on your Raspberry Pi.
+
PartKeepr can run on a Raspberry Pi. Note that the '''Raspberry Pi and Raspberry Pi 2 information below is outdated'''; please read [[APC_Metadata_Caching]] for running PartKeepr on your Raspberry Pi.
  
 
== Raspberry Pi ==
 
== Raspberry Pi ==

Revision as of 06:53, 4 September 2020

PartKeepr can run on a Raspberry Pi. Note that the Raspberry Pi and Raspberry Pi 2 information below is outdated; please read APC_Metadata_Caching for running PartKeepr on your Raspberry Pi.

Raspberry Pi

PartKeepr 0.76 was tested on a Raspberry Pi Model B running on Apache and mod_php 5.6. It's very slow and it's not recommended to run PartKeepr 0.76 on such slow hardware.

Raspberry Pi 2

PartKeepr 0.76 was tested on a Raspberry Pi 2 running on Apache and mod_php 5.6. It's not very fast, but usable.

Initial login to PartKeepr may take a while. As soon as data is cached, logins should become faster.

In order to achieve best performance, you should ensure that:

  • Ensure your max_execution_time is set to 120 seconds or higher, this is required for the setup.
  • Opcache enabled
  • PHP-APCu installed and enabled with both cache.dunglas and cache.doctrine
  • Ensure you don't have xdebug installed - it slows down PHP and is only used for debugging.
  • Using a fast SD card (Class 10 or better)

Loading a page with 50 parts takes about 3-4 seconds. Without opcache and APC, load times for a page with 50 parts takes about 9 seconds.

Raspberry Pi 3

PartKeepr 1.4.0 was tested on Raspberry Pi 3 running Apache and PHP 7.0.

Page load from login takes about 2.8 seconds, with subsequent page loads taking ~1 second, and deemed quite usable. PHP maximum_execution and PHP-APCu was installed (as mentioned in the Raspberry Pi 2 notes above).

See the PartKeepr 1.4.0 installation on a Raspberry Pi guide for further details.