From 23b60c52fa3d10792d06f902852386abb6eef142 Mon Sep 17 00:00:00 2001 From: RealRancor Date: Thu, 21 Apr 2016 10:38:40 +0200 Subject: [PATCH] Backport #2367 to stable9 --- .../configuration_server/oc_server_tuning.rst | 43 +++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/admin_manual/configuration_server/oc_server_tuning.rst b/admin_manual/configuration_server/oc_server_tuning.rst index ef78bbcec..0170e0738 100644 --- a/admin_manual/configuration_server/oc_server_tuning.rst +++ b/admin_manual/configuration_server/oc_server_tuning.rst @@ -23,3 +23,46 @@ Caching improves performance by storing data, code, and other objects in memory. Memory cache configuration for the ownCloud server is no longer automatic in ownCloud 8.1 and up, but must be installed and configured. See :doc:`caching_configuration`. + +Using MariaDB/MySQL instead of SQLite +------------------------------------- + +MySQL or MariaDB are preferred because of the `performance limitations of +SQLite with highly concurrent applications +`_, like ownCloud. + +See the section :doc:`../configuration_database/linux_database_configuration` for how to +configure ownCloud for MySQL or MariaDB. If your installation is already running on +SQLite then it is possible to convert to MySQL or MariaDB using the steps provided +in :doc:`../configuration_database/db_conversion`. + +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 +`_. + +Here are some examples how to check if your CPU / environment supports the +AES-NI extension: + +* For each CPU core present: ``grep flags /proc/cpuinfo`` or as a summary for + all cores: ``grep -m 1 ^flags /proc/cpuinfo`` If the result contains any + ``aes``, the extension is present. + +* Search eg. on the Intel web if the processor used supports the extension + `Intel Processor Feature Filter + `_ You may set a filter by + ``"AES New Instructions"`` to get a reduced result set. + +* For versions of openssl >= 1.0.1, AES-NI does not work via an engine and + will not show up in the ``openssl engine`` command. It is active by default + on the supported hardware. You can check the openssl version via ``openssl + version -a`` + +* If your processor supports AES-NI but it does not show up eg via grep or + coreinfo, it is maybe disabled in the BIOS. + +* If your environment runs virtualized, check the virtualization vendor for + support. \ No newline at end of file