Skip to content

Commit cf691b4

Browse files
Anthony Sansonekay-kim
authored andcommitted
Updated per @dalyd and @steveren reviews.
1 parent 93af212 commit cf691b4

File tree

1 file changed

+27
-11
lines changed

1 file changed

+27
-11
lines changed

source/administration/production-notes.txt

Lines changed: 27 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -559,8 +559,8 @@ possible, use XFS as it generally performs better with MongoDB.
559559
*on directories*. For example, HGFS and Virtual Box's shared
560560
folders do *not* support this operation.
561561

562-
Set ``vm.swappiness`` at least ``1``
563-
````````````````````````````````````
562+
Set ``vm.swappiness`` to ``1``
563+
``````````````````````````````
564564

565565
“Swappiness” is a Linux kernel setting that influences the behavior of
566566
the Virtual Memory manager when it needs to allocate a swap, ranging
@@ -571,7 +571,8 @@ from ``0`` to ``100``, inclusive.
571571

572572
- A setting of ``100`` tells it to swap aggressively to disk.
573573

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``
575576
or later, setting this value to ``0`` could disable swapping. Set this
576577
to ``1``.
577578

@@ -785,27 +786,42 @@ For all platforms, consider :ref:`virtualized-disks-scheduling`.
785786
:abbr:`AWS (Amazon Web Services)` :abbr:`EC2 (Elastic Compute Cloud)`
786787
`````````````````````````````````````````````````````````````````````
787788

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)`
789798
`Enhanced Networking <http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/enhanced-networking.html#enabling_enhanced_networking>`_
790799
for your instance. Not all instance types support Enhanced Networking.
791800

792801
To learn more about Enhanced Networking, see to the
793802
`AWS documentation <http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/enhanced-networking.html#enabling_enhanced_networking>`_.
794803

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.
798808

799-
- Disable hyperthreading,
800-
:abbr:`DVFS (dynamic voltage and frequency scaling)`,
809+
- Disable :abbr:`DVFS (dynamic voltage and frequency scaling)` and
801810
:abbr:`CPU (central processing unit)` power saving modes.
802811

803812
.. seealso::
804813

805-
- `Amazon blog post on disabling Hyper-Threading <https://aws.amazon.com/blogs/compute/disabling-intel-hyper-threading-technology-on-amazon-linux/>`_.
806-
807814
- `Amazon documentation on Processor State Control <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/processor_state_control.html>`_
808815

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+
809825
- Use ``numactl`` to bind memory locality to a single socket.
810826

811827
.. _windows-azure-production-notes:

0 commit comments

Comments
 (0)