Difference between revisions of "PartKeepr on Raspberry Pi"
From PartKeepr Wiki
Line 1: | Line 1: | ||
− | + | PartKeepr can run on a Raspberry Pi. | |
− | + | == Raspberry Pi == | |
− | |||
− | |||
− | |||
− | |||
− | + | ||
+ | == 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 [http://php.net/manual/en/info.configuration.php max_execution_time] is set to 120 seconds or higher, this is required for the setup. | ||
+ | * [http://php.net/manual/en/opcache.configuration.php#ini.opcache.enable Opcache] enabled | ||
+ | * PHP-APCu installed and enabled with both [https://github.com/partkeepr/PartKeepr/blob/master/app/config/parameters.php.dist#L122 cache.dunglas] and [https://github.com/partkeepr/PartKeepr/blob/master/app/config/parameters.php.dist#L132 cache.doctrine] | ||
+ | * Ensure you don't have [http://xdebug.org/ 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. |
Revision as of 13:24, 13 December 2015
PartKeepr can run on a Raspberry Pi.
Raspberry Pi
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.