Hello All!
Is FreeBSD 8 in the role of shaper.
At 60K packets per second CPU use 70%
CPU: Intel(R) Core(TM)2 Duo CPU E6750 @ 2.66GHz (2671.62-MHz K8-class CPU)
uname -a
top -SPH
i set in loader.conf
Can you please tell what should be done to reduce the configuration burden on the cpu...
And what is the process em0_rx_1 em0_rx_0 ... ?
Is FreeBSD 8 in the role of shaper.
At 60K packets per second CPU use 70%
CPU: Intel(R) Core(TM)2 Duo CPU E6750 @ 2.66GHz (2671.62-MHz K8-class CPU)
uname -a
Code:
uname -a
FreeBSD shape.me 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #5: Wed May 19 08:53:50 NOVST 2010 [email]root@shape.me[/email]:/usr/src
/sys/amd64/compile/SHAPER-64 amd64
top -SPH
Code:
CPU 0: 0.0% user, 0.0% nice, 41.1% system, 8.9% interrupt, 50.0% idle
CPU 1: 0.0% user, 0.0% nice, 41.1% system, 0.0% interrupt, 58.9% idle
Mem: 28M Active, 342M Inact, 232M Wired, 118M Cache, 111M Buf, 264M Free
Swap: 1024M Total, 1024M Free
PID USERNAME PRI NICE SIZE RES STATE C TIME WCPU COMMAND
11 root 171 ki31 0K 32K RUN 0 212:42 64.79% {idle: cpu0}
11 root 171 ki31 0K 32K CPU1 1 214:58 42.09% {idle: cpu1}
0 root 54 0 0K 176K CPU1 1 68:18 10.89% {em0_rx_1}
0 root 54 0 0K 176K WAIT 1 68:13 10.35% {em0_rx_0}
0 root 52 0 0K 176K WAIT 1 52:43 6.40% {em1_rx_0}
0 root 53 0 0K 176K WAIT 1 52:41 5.66% {em1_rx_1}
12 root 16 - 0K 304K WAIT 0 11:52 0.68% {swi16: em0_tx}
12 root 16 - 0K 304K WAIT 0 11:41 0.68% {swi16: em1_tx}
0 root -68 0 0K 176K - 1 116:21 0.00% {dummynet}
i set in loader.conf
Code:
net.isr.maxthreads=2
net.isr.bindthreads=1
Code:
dev.em.0.%desc: Intel(R) PRO/1000 Network Connection 6.9.14.Yandex[$Revision: 1.36.2.17.2.6 $]
dev.em.0.%driver: em
dev.em.0.%location: slot=0 function=0
dev.em.0.%pnpinfo: vendor=0x8086 device=0x10b9 subvendor=0x103c subdevice=0x704a class=0x020000
dev.em.0.%parent: pci1
dev.em.0.debug: -1
dev.em.0.stats: -1
dev.em.0.rx_kthreads: 2
dev.em.0.tx_cleanup_threshold: 512
dev.em.0.max0_gprc: 125070
dev.em.0.max0_gptc: 55488
dev.em.0.max0_gorc: 31955593
dev.em.0.max0_gotc: 36289842
dev.em.0.max1_gprc: 125070
dev.em.0.max1_gptc: 55488
dev.em.0.max1_gorc: 31955593
dev.em.0.max1_gotc: 36289842
dev.em.0.max2_gprc: 125070
dev.em.0.max2_gptc: 55488
dev.em.0.max2_gorc: 31955593
dev.em.0.max2_gotc: 36289842
dev.em.0.max3_gprc: 125070
dev.em.0.max3_gptc: 55488
dev.em.0.max3_gorc: 31955593
dev.em.0.max3_gotc: 36289842
dev.em.0.max4_gprc: 125070
dev.em.0.max4_gptc: 55488
dev.em.0.max4_gorc: 31955593
dev.em.0.max4_gotc: 36289842
dev.em.0.rx_int_delay: 0
dev.em.0.tx_int_delay: 0
dev.em.0.rx_abs_int_delay: 66
dev.em.0.tx_abs_int_delay: 66
dev.em.0.rx_kthread_priority: 127
Can you please tell what should be done to reduce the configuration burden on the cpu...
And what is the process em0_rx_1 em0_rx_0 ... ?