@@ -559,8 +559,8 @@ possible, use XFS as it generally performs better with MongoDB.
559
559
*on directories*. For example, HGFS and Virtual Box's shared
560
560
folders do *not* support this operation.
561
561
562
- Set ``vm.swappiness`` at least ``1``
563
- ````````````````````````````````````
562
+ Set ``vm.swappiness`` to ``1``
563
+ ``````````````````````````````
564
564
565
565
“Swappiness” is a Linux kernel setting that influences the behavior of
566
566
the Virtual Memory manager when it needs to allocate a swap, ranging
@@ -571,7 +571,8 @@ from ``0`` to ``100``, inclusive.
571
571
572
572
- A setting of ``100`` tells it to swap aggressively to disk.
573
573
574
- If your host runs kernel versions ``3.5`` or later, or ``2.6.32-303``
574
+ If your host runs kernel versions ``3.5`` or later, or
575
+ :abbr:`RHEL (Red Hat Enterprise Linux)` / CentOS kernel ``2.6.32-303``
575
576
or later, setting this value to ``0`` could disable swapping. Set this
576
577
to ``1``.
577
578
@@ -785,27 +786,42 @@ For all platforms, consider :ref:`virtualized-disks-scheduling`.
785
786
:abbr:`AWS (Amazon Web Services)` :abbr:`EC2 (Elastic Compute Cloud)`
786
787
`````````````````````````````````````````````````````````````````````
787
788
788
- - When available, enable :abbr:`AWS (Amazon Web Services)`
789
+ There are two performance configurations to consider:
790
+
791
+ - Reproducible performance for performance testing or benchmarking, and
792
+ - Raw maximum performance
793
+
794
+ To tune performance on :abbr:`EC2 (Elastic Compute Cloud)` for either
795
+ configuration, you should:
796
+
797
+ - Enable :abbr:`AWS (Amazon Web Services)`
789
798
`Enhanced Networking <http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/enhanced-networking.html#enabling_enhanced_networking>`_
790
799
for your instance. Not all instance types support Enhanced Networking.
791
800
792
801
To learn more about Enhanced Networking, see to the
793
802
`AWS documentation <http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/enhanced-networking.html#enabling_enhanced_networking>`_.
794
803
795
- - Use provisioned IOPS for the storage, with separate devices for
796
- journal and data. Do not use the ephemeral storage available on some
797
- instance types as their performance changes moment to moment.
804
+ - Use provisioned :abbr:`IOPS (Input/Output Operations Per Second)` for
805
+ the storage, with separate devices for journal and data. Do not use
806
+ the ephemeral storage available on some instance types as their
807
+ performance changes moment to moment.
798
808
799
- - Disable hyperthreading,
800
- :abbr:`DVFS (dynamic voltage and frequency scaling)`,
809
+ - Disable :abbr:`DVFS (dynamic voltage and frequency scaling)` and
801
810
:abbr:`CPU (central processing unit)` power saving modes.
802
811
803
812
.. seealso::
804
813
805
- - `Amazon blog post on disabling Hyper-Threading <https://aws.amazon.com/blogs/compute/disabling-intel-hyper-threading-technology-on-amazon-linux/>`_.
806
-
807
814
- `Amazon documentation on Processor State Control <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/processor_state_control.html>`_
808
815
816
+ If you are concerned more about reproducible performance on
817
+ :abbr:`EC2 (Elastic Compute Cloud)`, you should also:
818
+
819
+ - Disable hyperthreading.
820
+
821
+ .. seealso::
822
+
823
+ - `Amazon blog post on disabling Hyper-Threading <https://aws.amazon.com/blogs/compute/disabling-intel-hyper-threading-technology-on-amazon-linux/>`_.
824
+
809
825
- Use ``numactl`` to bind memory locality to a single socket.
810
826
811
827
.. _windows-azure-production-notes:
0 commit comments