You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by ji...@apache.org on 2023/01/18 02:27:59 UTC

[rocketmq-site] branch new-official-website updated: Update 19JVMOS.md (#436)

This is an automated email from the ASF dual-hosted git repository.

jinrongtong pushed a commit to branch new-official-website
in repository https://gitbox.apache.org/repos/asf/rocketmq-site.git


The following commit(s) were added to refs/heads/new-official-website by this push:
     new b0ba08d61 Update 19JVMOS.md (#436)
b0ba08d61 is described below

commit b0ba08d617ccc07f45ba42438a402c9eedb54d93
Author: TaiYi <42...@users.noreply.github.com>
AuthorDate: Wed Jan 18 10:27:54 2023 +0800

    Update 19JVMOS.md (#436)
    
    avoid to use -Xmn under G1
---
 docs/05-bestPractice/19JVMOS.md | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/docs/05-bestPractice/19JVMOS.md b/docs/05-bestPractice/19JVMOS.md
index 4ace42a53..80d656e1b 100644
--- a/docs/05-bestPractice/19JVMOS.md
+++ b/docs/05-bestPractice/19JVMOS.md
@@ -8,7 +8,7 @@
 推荐使用最新发布的 JDK 1.8 版本。通过设置相同的 Xms 和 Xmx 值来防止 JVM 调整堆大小以获得更好的性能。生产环境 JVM 配置如下所示:
 
 ```text
--server -Xms8g -Xmx8g -Xmn4g 
+-server -Xms8g -Xmx8g 
 ```
 
 当 JVM 是默认 8 字节对齐,建议配置最大堆内存不要超过 32 G,否则会影响 JVM 的指针压缩技术,浪费内存。
@@ -59,4 +59,4 @@
 - **vm.max_map_count**  限制一个进程可能具有的最大内存映射区域数。RocketMQ 将使用 MMAP 加载 CommitLog 和 ConsumeQueue,因此建议将为此参数设置较大的值。
 - **vm.swappiness**  定义内核交换内存页面的积极程度。较高的值会增加攻击性,较低的值会减少交换量。建议将值设置为 10 来避免交换延迟。
 - **File descriptor limits**  RocketMQ 需要为文件( CommitLog 和 ConsumeQueue )和网络连接打开文件描述符。我们建议设置文件描述符的值为 655350。
-- [Disk scheduler](https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Performance_Tuning_Guide/ch06s04s02.html)  RocketMQ建议使用I/O截止时间调度器,它试图为请求提供有保证的延迟。
\ No newline at end of file
+- [Disk scheduler](https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Performance_Tuning_Guide/ch06s04s02.html)  RocketMQ建议使用I/O截止时间调度器,它试图为请求提供有保证的延迟。