ADSL modem不开路由的话,内存大小对性能有无关系?
ADSL modem不开路由的话,内存大小对性能有无关系? 关系不大~ 关系不大~cocoyee 发表于 2010-6-12 11:28 https://www.chinadsl.net/images/common/back.gif
能说的详细点吗 不开路由 不下载 一个客户端 RG100A的TOP结果
top - 12:36:33 up4:36,0 users,load average: 0.45, 0.16, 0.06
Tasks:42 total, 1 running,41 sleeping, 0 stopped, 0 zombie
Cpu(s):0.7%us,1.0%sy,0.0%ni, 97.0%id,0.0%wa,0.0%hi,1.3%si,0.0%st
Mem: 29120k total, 28652k used, 468k free, 7544k buffers
Swap: 0k total, 0k used, 0k free, 12204k cached
1264 root 15 04540 1168940 R1.24.0 0:00.13 top
3 root -6 0 0 0 0 S0.60.0 1:06.74 softirq-timer/0
10 root 10-5 0 0 0 S0.30.0 0:09.15 events/0
1 root 18 0 992308248 S0.01.1 0:00.79 init
2 root -6 0 0 0 0 S0.00.0 0:00.00 softirq-high/0
4 root -6 0 0 0 0 S0.00.0 0:00.01 softirq-net-tx/
5 root -6 0 0 0 0 S0.00.0 0:47.16 softirq-net-rx/
6 root -6 0 0 0 0 S0.00.0 0:00.07 softirq-block/0
7 root -6 0 0 0 0 S0.00.0 1:12.28 softirq-tasklet
8 root -6 0 0 0 0 S0.00.0 0:00.00 softirq-sched/0
9 root -6 0 0 0 0 S0.00.0 0:00.00 softirq-rcu/0
11 root 10-5 0 0 0 S0.00.0 0:00.02 khelper
12 root 11-5 0 0 0 S0.00.0 0:00.00 kthread
27 root 10-5 0 0 0 S0.00.0 0:00.00 kblockd/0
30 root 15-5 0 0 0 S0.00.0 0:00.00 khubd
47 root 25 0 0 0 0 S0.00.0 0:00.00 pdflush
48 root 15 0 0 0 0 S0.00.0 0:00.00 pdflush
300K下载 WAP2加密单一客户端
top - 12:38:25 up4:38,0 users,load average: 0.24, 0.17, 0.08
Tasks:42 total, 1 running,41 sleeping, 0 stopped, 0 zombie
Cpu(s):0.3%us,1.6%sy,0.0%ni, 93.1%id,0.0%wa,0.0%hi,4.9%si,0.0%st
Mem: 29120k total, 28136k used, 984k free, 7220k buffers
Swap: 0k total, 0k used, 0k free, 11888k cached
7 root -6 0 0 0 0 S2.30.0 1:14.64 softirq-tasklet
3 root -6 0 0 0 0 S2.00.0 1:08.62 softirq-timer/0
1264 root 15 04540 1168940 R1.64.0 0:01.69 top
5 root -6 0 0 0 0 S1.30.0 0:48.89 softirq-net-rx/
1 root 18 0 992308248 S0.01.1 0:00.79 init
2 root -6 0 0 0 0 S0.00.0 0:00.00 softirq-high/0
4 root -6 0 0 0 0 S0.00.0 0:00.01 softirq-net-tx/
6 root -6 0 0 0 0 S0.00.0 0:00.07 softirq-block/0
8 root -6 0 0 0 0 S0.00.0 0:00.00 softirq-sched/0
9 root -6 0 0 0 0 S0.00.0 0:00.00 softirq-rcu/0
10 root 10-5 0 0 0 S0.00.0 0:09.21 events/0
11 root 10-5 0 0 0 S0.00.0 0:00.02 khelper
12 root 11-5 0 0 0 S0.00.0 0:00.00 kthread
27 root 10-5 0 0 0 S0.00.0 0:00.00 kblockd/0
30 root 15-5 0 0 0 S0.00.0 0:00.00 khubd
47 root 25 0 0 0 0 S0.00.0 0:00.00 pdflush
48 root 15 0 0 0 0 S0.00.0 0:00.00 pdflush
先粘结果 RG100A 开路由 UPNP WAP2-AES加密 400K下载 30K上传的TOP结果
top - 00:17:18 up 4:46, 0 users, load average: 0.12, 0.26, 0.17
Tasks: 53 total, 1 running, 52 sleeping, 0 stopped, 0 zombie
Cpu(s): 1.3%us, 2.6%sy, 0.0%ni, 79.9%id, 0.0%wa, 0.0%hi, 16.2%si, 0.0%st
Mem: 29120k total, 28788k used, 332k free, 6776k buffers
Swap: 0k total, 0k used, 0k free, 10260k cached
5 root -6 0 0 0 0 S 8.8 0.0 1:04.02 softirq-net-rx/
7 root -6 0 0 0 0 S 6.2 0.0 1:25.64 softirq-tasklet
3 root -6 0 0 0 0 S 1.9 0.0 1:16.72 softirq-timer/0
1634 root 15 0 4540 1176 940 R 1.9 4.0 0:00.59 top
4 root -6 0 0 0 0 S 0.3 0.0 0:00.14 softirq-net-tx/
1252 root 10 -5 0 0 0 S 0.3 0.0 0:00.03 kjournald
1 root 15 0 992 308 248 S 0.0 1.1 0:00.79 init
2 root -6 0 0 0 0 S 0.0 0.0 0:00.00 softirq-high/0
6 root -6 0 0 0 0 S 0.0 0.0 0:00.08 softirq-block/0
8 root -6 0 0 0 0 S 0.0 0.0 0:00.00 softirq-sched/0
9 root -6 0 0 0 0 S 0.0 0.0 0:00.00 softirq-rcu/0
10 root 10 -5 0 0 0 S 0.0 0.0 0:09.48 events/0
11 root 18 -5 0 0 0 S 0.0 0.0 0:00.04 khelper
12 root 11 -5 0 0 0 S 0.0 0.0 0:00.00 kthread
27 root 10 -5 0 0 0 S 0.0 0.0 0:00.00 kblockd/0
30 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 khubd
47 root 25 0 0 0 0 S 0.0 0.0 0:00.00 pdflush
结论:
LINUX系统反正空闲的内存全是拿来做缓存的浪费不了。
但是路由内存瓶颈的可能性不大。
如果不是拿来做脱机下载没有加内存的必要 在开启路由后发现CPU使用率倒是提升了不少
从原来的7%-到了20%
大致计算 400K-20%
经计算当网速达到2M(反正国内的ADSL2也没有达到这个接入速度的)-100%刚刚好是ADSL2的理论最高值
此处网速都以KB计算非Kbit
看来BCM用料真是省到家了。
页:
[1]