找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 10246|回复: 47

padavan wan to 5g速率的进一步探究

  [复制链接]
发表于 2019-8-27 23:55 | 显示全部楼层 |阅读模式
padavan默认情况下,至少dhcp环境下的多核负载很有问题,无线 eth2内网 和eth3外网均跑在CPU2上,只能跑400多M。之前发过一次修改无线和eth2网卡的软中断方法,可以跑到560左右。今天看了眼asuswrt的源码,发现华硕的源码还把eth3外网均匀负载到了cpu 0 1,于是参考华硕源码开机加了几条脚本,现在k2p padavan的wan to 5g即使不开sfe可以跑600多了。
我的恩山、我的无线 The best wifi forum is right here.
 楼主| 发表于 2019-8-27 23:56 | 显示全部楼层
本帖最后由 237176253 于 2019-9-1 00:35 编辑

k2p应该是
echo 8 > /proc/irq/11/smp_affinity
echo 8 > /proc/irq/12/smp_affinity
echo 3 >/sys/class/net/eth3/queues/rx-0/rps_cpus
echo 8 >/sys/class/net/eth2/queues/rx-0/rps_cpus
echo 8 >/sys/class/net/ra0/queues/rx-0/rps_cpus
dir882这种双7615的机器则是
echo 8 > /proc/irq/11/smp_affinity
echo 8 > /proc/irq/32/smp_affinity
echo 3 >/sys/class/net/eth3/queues/rx-0/rps_cpus
echo 8 >/sys/class/net/eth2/queues/rx-0/rps_cpus
echo 8 >/sys/class/net/ra0/queues/rx-0/rps_cpus如果是pppoe拨号的 可能要加条
echo 3 >/sys/class/net/ppp0/queues/rx-0/rps_cpus

点评

请问一下 newifid1用那个 第一个吗? k2p?  详情 回复 发表于 2019-8-28 00:18
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2019-8-28 00:18 | 显示全部楼层
237176253 发表于 2019-8-27 23:56
k2p应该是
echo 8 > /proc/irq/11/smp_affinity
echo 8 > /proc/irq/12/smp_affinity

请问一下 newifid1用那个 第一个吗? k2p?

点评

cat/proc/interrupts ra0ж滻212  详情 回复 发表于 2019-8-28 00:52
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2019-8-28 00:20 来自手机 | 显示全部楼层
优秀!!!
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2019-8-28 00:27 | 显示全部楼层
pandora可以用吗,启动项加吗

点评

潘多拉已经优化过了  详情 回复 发表于 2019-8-28 00:49
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2019-8-28 00:32 | 显示全部楼层
什么原理,学习一下
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2019-8-28 00:49 来自手机 | 显示全部楼层
w13689226302 发表于 2019-8-28 00:27
pandora可以用吗,启动项加吗

潘多拉已经优化过了
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2019-8-28 00:52 来自手机 | 显示全部楼层
P{  2019-8-28 00:18
newifid1  k2p?

运行cat/proc/interrupts 找到ra0对应的数字,替换第二条里的那个12

点评

是不是在putty里运行 ifconfig这个命令? 我刚才直接用了cat/proc/interrupts 没有用~~·  详情 回复 发表于 2019-8-28 02:20
还是不懂 能不能详细点 啊~谢谢  详情 回复 发表于 2019-8-28 02:07
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2019-8-28 02:07 | 显示全部楼层
ByByMe 发表于 2019-8-28 00:52
运行cat/proc/interrupts 找到ra0对应的数字,替换第二条里的那个12

还是不懂     能不能详细点 啊~谢谢
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2019-8-28 02:20 | 显示全部楼层
ByByMe 发表于 2019-8-28 00:52
运行cat/proc/interrupts 找到ra0对应的数字,替换第二条里的那个12

是不是在putty里运行 ifconfig这个命令?  我刚才直接用了cat/proc/interrupts 没有用~~·

点评

cat空格/proc/interrupts cat /proc/interrupts  详情 回复 发表于 2019-8-31 03:44
cat /proc/interrupts 少打了个空格  详情 回复 发表于 2019-8-28 06:31
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2019-8-28 06:31 | 显示全部楼层
本帖最后由 ByByMe 于 2019-8-28 06:33 编辑
崬汸羽蓒 发表于 2019-8-28 02:20
是不是在putty里运行 ifconfig这个命令?  我刚才直接用了cat/proc/interrupts 没有用~~·

cat /proc/interrupts 少打了个空格。不过7612的机器本身能开hwnat,用不着这玩意
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2019-8-28 07:17 来自手机 | 显示全部楼层
学习了,更改以后就是CPU0 1 2 均匀负载了?
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2019-8-28 07:37 | 显示全部楼层
有个问题,第三行第四行第五行命令里面,>和/之间是否有空格?

点评

有没有没影响。只是想对齐  详情 回复 发表于 2019-8-28 08:11
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2019-8-28 08:11 | 显示全部楼层
cainozoic 发表于 2019-8-28 07:37
有个问题,第三行第四行第五行命令里面,>和/之间是否有空格?

有没有没影响。只是想对齐
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2019-8-28 16:45 | 显示全部楼层
楼主,wfi用分析仪测试,波动大不大,速率如何,大文件下载稳定吗?楼主有试过吗
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-4-19 07:49

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

快速回复 返回顶部 返回列表