[Share Experiences] deepin v25优化设置后通达信加载数据感觉变快了些
Tofloor
poster avatar
jiutian123
deepin
15 hours ago
Author

sysctl.conf中添加以下内容,然后sudo sysctl -p /etc/sysctl.conftail

net.core.default_qdisc=fq
net.ipv4.tcp_congestion_control=bbr

vm.swappiness=10

vm.vfs_cache_pressure=50

net.ipv4.tcp_abort_on_overflow = 0
net.ipv4.tcp_adv_win_scale = 1
net.ipv4.tcp_allowed_congestion_control = cubic reno
net.ipv4.tcp_app_win = 31
net.ipv4.tcp_autocorking = 1
net.ipv4.tcp_available_congestion_control = cubic reno
net.ipv4.tcp_base_mss = 1024
net.ipv4.tcp_challenge_ack_limit = 1000
net.ipv4.tcp_congestion_control = cubic
net.ipv4.tcp_dsack = 1
net.ipv4.tcp_early_retrans = 3
net.ipv4.tcp_ecn = 2
net.ipv4.tcp_fack = 1
net.ipv4.tcp_fastopen = 1
net.ipv4.tcp_fastopen_key = 00000000-00000000-00000000-00000000
net.ipv4.tcp_fin_timeout = 60
net.ipv4.tcp_frto = 2
net.ipv4.tcp_fwmark_accept = 0
net.ipv4.tcp_invalid_ratelimit = 500
net.ipv4.tcp_keepalive_intvl = 75
net.ipv4.tcp_keepalive_probes = 9
net.ipv4.tcp_keepalive_time = 7200
net.ipv4.tcp_limit_output_bytes = 1048576
net.ipv4.tcp_low_latency = 1
net.ipv4.tcp_max_orphans = 32768
net.ipv4.tcp_max_reordering = 300
net.ipv4.tcp_max_syn_backlog = 256
net.ipv4.tcp_max_tw_buckets = 32768
net.ipv4.tcp_mem = 47997 63996 95994
net.ipv4.tcp_min_tso_segs = 2
net.ipv4.tcp_moderate_rcvbuf = 1
net.ipv4.tcp_mtu_probing = 0
net.ipv4.tcp_no_metrics_save = 0

net.ipv4.tcp_orphan_retries = 0
net.ipv4.tcp_probe_interval = 600
net.ipv4.tcp_probe_threshold = 8
net.ipv4.tcp_reordering = 3
net.ipv4.tcp_retrans_collapse = 1
net.ipv4.tcp_retries1 = 3
net.ipv4.tcp_retries2 = 15
net.ipv4.tcp_rfc1337 = 0
net.ipv4.tcp_rmem = 102400 2097152 10485760
net.ipv4.tcp_sack = 1
net.ipv4.tcp_slow_start_after_idle = 1
net.ipv4.tcp_stdurg = 0
net.ipv4.tcp_syn_retries = 6
net.ipv4.tcp_synack_retries = 5
net.ipv4.tcp_syncookies = 1

net.ipv4.tcp_thin_linear_timeouts = 0
net.ipv4.tcp_timestamps = 0
net.ipv4.tcp_tso_win_divisor = 3

net.ipv4.tcp_tw_reuse =0
net.ipv4.tcp_window_scaling = 1
net.ipv4.tcp_wmem = 102400 2097152 10485760
net.ipv4.tcp_workaround_signed_windows = 0
fs.file-max = 10485760
fs.nr_open = 10485760

net.ipv4.tcp_fastopen = 3

Reply Favorite View the author
All Replies
流星追月
deepin
14 hours ago
#1

调网络参数的也来了,会玩。

Reply View the author
jiutian123
deepin
14 hours ago
#2
流星追月

调网络参数的也来了,会玩。

问题是确实加载稍微好了呀,那你有什么更好的方案?confused

Reply View the author
流星追月
deepin
13 hours ago
#3
jiutian123

问题是确实加载稍微好了呀,那你有什么更好的方案?confused

如果谈稳定性,代码需要合并到上游,商业软件APP同步优化,协同的话比较难。

有些事情我们无法左右的,最优方案就是通达信派出10名技术人员进驻deepin,联合攻关和优化参数,出来的效果是最好的,华为就是经常这么干的。

如果,到这一步,说明商业公司绝对看好deepin发展前景,已结到了不能落后的地步了。

市场需要一个爆发点,什么时候出现,什么样的热点导致国人纷纷转投deepin,现在谁也说不好。

Reply View the author