Project

General

Profile

« Previous | Next » 

Revision 143a77a9

Added by Nicolas CHARLES almost 7 years ago

Fixes #10744: Document correctly memory usage

View differences:

10_installation/05_requirements/22_architecture_root_server.txt
===== Memory
The required amount of RAM mainly depends on the number of managed nodes. A general rule for the minimal value is:
The required amount of RAM mainly depends on the number of managed nodes. A general rule for the minimal value on a stand-alone installation is:
* less than 50 nodes: 2GB
* between 50 and 1000 nodes: 4GB
* more than 1000 nodes: 4GB + 1GB of RAM by 500 nodes above 1000.
* more than 4000 nodes: 10GB + 2GB of RAM by 500 nodes above 4000.
When managing more than 1000 nodes, we also recommend you to use a multiserver
installation for Rudder as described in chapter <<multiserver-rudder, Multiserver Rudder>>.
For large installations, you should also tune the amount of RAM given to:
* the web application, as explained in the section
When your server has more than 2 GB of RAM, you have to configure the RAM allocated
to the Java Virtual Machine as explained in the section
<<_configure_ram_allocated_to_jetty, about webapplication RAM configuration>>
* PostgresSQL, as explained in the <<_optimize_postgresql_server, Optimize PostgreSQL Server>> section
When your server has more than 4 GB, you may need to also tune the PostgresSQL
server, as explained in the <<_optimize_postgresql_server, Optimize PostgreSQL Server>> section
[TIP]
====
As an example, a Rudder server which manages 2600 nodes (with a lot of policies
checked) will need:
* A server with 8 GB of RAM,
* 4 GB of RAM will be allocated to the JVM.
In our load-tests, with such a configuration, the server is not stressed and
the user experience is good.
====
===== Disk
6_handbook/20_application_tuning.txt
----
The amount of memory should be the half of the RAM of the server, rounded down to the nearest GB.
For example, if the server has 5GB of RAM, 2GB should be used.
The amount of memory should be the half of the RAM of the server, rounded up to the nearest GB.
For example, if the server has 5GB of RAM, 3GB should be allocated to Jetty.
==== Optimize PostgreSQL server

Also available in: Unified diff