From 8ba137752ccf2c7f41a119cbe5d9cd833636bc6f Mon Sep 17 00:00:00 2001 From: josh4trunks Date: Mon, 12 Jan 2015 23:29:50 -0800 Subject: [PATCH 1/2] Add performance tips page --- .../configuration/performance_tips.rst | 43 +++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 admin_manual/configuration/performance_tips.rst diff --git a/admin_manual/configuration/performance_tips.rst b/admin_manual/configuration/performance_tips.rst new file mode 100644 index 000000000..61a16b070 --- /dev/null +++ b/admin_manual/configuration/performance_tips.rst @@ -0,0 +1,43 @@ +Performance Tips +================ + +The performance of ownCloud, like any `LAMP application `_, +is dependent on all components of the stack. +Maximizing performance can be achieved by optimizing the operations and interactions +of the underlying network, hardware, operating systems, webservers, databases, and storage. + +This guide cannot cover all possible configurations and will instead +cover tips that are specific to ownCloud or give the greatest benefit. + +SSL / Encryption App +-------------------- + +SSL (HTTPS) and file encryption/decryption can be offloaded to a processor's AES-NI extension. +This can both speed up these operations while lowering processing overhead. +This requires a processor with the `AES-NI instruction set `_. + +OPcache Extension +----------------- + +OPcache improves PHP performance by storing precompiled script bytecode in shared memory, +thereby removing the need for PHP to load and parse scripts on each request. +This extension is bundled with PHP 5.5.0 and later, and is available in PECL for PHP versions 5.2, 5.3, and 5.4. + +Object Caching +-------------- + +ownCloud is written to take advantage of object caching. +Object caching can be done locally with the APCu extension, +or for distributed PHP environments using Memcached. +Memcached servers must be specified in the "memcached_servers" array in ownCloud's config file. + +`Serving static files via web server `_ +----------------------------------- + +`Using cron to perform background jobs `_ +------------------------------------- + +`Using MySQL instead of SQLite `_ +----------------------------- + +MySQL or MariaDB should be preferred because of the `performance limitations of SQLite with highly concurrent applications `_, like ownCloud. From cba0a323d8fd71b06373ef50a81f331d3bb73f66 Mon Sep 17 00:00:00 2001 From: josh4trunks Date: Mon, 12 Jan 2015 23:44:59 -0800 Subject: [PATCH 2/2] Update links to latest page naming. --- admin_manual/configuration/performance_tips.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/admin_manual/configuration/performance_tips.rst b/admin_manual/configuration/performance_tips.rst index 61a16b070..5f70c35eb 100644 --- a/admin_manual/configuration/performance_tips.rst +++ b/admin_manual/configuration/performance_tips.rst @@ -31,13 +31,13 @@ Object caching can be done locally with the APCu extension, or for distributed PHP environments using Memcached. Memcached servers must be specified in the "memcached_servers" array in ownCloud's config file. -`Serving static files via web server `_ +`Serving static files via web server `_ ----------------------------------- -`Using cron to perform background jobs `_ +`Using cron to perform background jobs `_ ------------------------------------- -`Using MySQL instead of SQLite `_ +`Using MySQL instead of SQLite `_ ----------------------------- MySQL or MariaDB should be preferred because of the `performance limitations of SQLite with highly concurrent applications `_, like ownCloud.