zoukankan      html  css  js  c++  java
  • tcp_notsent_lowat

     TCP_NOTSENT_LOWAT

    更改 tcp_notsent_lowat 为 16384(16K)可以优化 web 速度。

    #添加值
    echo "net.ipv4.tcp_notsent_lowat = 16384" >> /etc/sysctl.conf
    
    #查看是否成功
    sysctl net.ipv4.tcp_notsent_lowat
        TCP_NOTSENT_LOWAT      The send socket buffer of a TCP sender has unsent
                                and unacknowledged data. This option allows a TCP
                                sender to control the amount of unsent data kept
                                in the send socket buffer. The value of the option
                                should be the maximum amount of unsent data in
                                bytes. Kevent, poll and select will generate a
                                write notification when the unsent data falls
                                below the amount given by this option. This will
                                allow an application to generate just-in-time
                                fresh updates for real-time communication.
  • 相关阅读:
    Java多态——代码示例
    使用zabbix监控oracle的后台日志
    使用zabbix监控linux的io
    Oracle
    Oracle
    Percona XtraDB Cluster简易入门
    Oracle
    使用zabbix监控oracle数据库
    Ogg
    Mysql
  • 原文地址:https://www.cnblogs.com/dream397/p/14595694.html
Copyright © 2011-2022 走看看