Date: Tue, 24 Mar 2009 16:48:44 +0000 From: Andrey Kropachev <andrey.kropachev@gmail.com> To: freebsd-net@freebsd.org Subject: Re: dummynet and smp Message-ID: <49C90EEC.5030703@gmail.com> In-Reply-To: <d8fae2e40903240533q4306f3e5q9b91441f05237025@mail.gmail.com> References: <d8fae2e40903240533q4306f3e5q9b91441f05237025@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> Very strange. > I have freebsd 7.0-RELEASE-p10 with dummynet in use and about 700 Mbit/s > traffic passing through. dummynet process CPU usage is 0% to 10%. > Let me see your ipfw rules. > What FreeBSD version do you have? > What about swi: net and taskq (irq) processes? > Hardware configuration? > ipfw rules: 00010 68893 4016154 allow tcp from any to me dst-port 22 00020 74773 24184400 allow tcp from me 22 to any 00030 0 0 allow ip from 10.0.1.0/28 to me 00040 59053707 88088134092 allow ip from me to 10.0.1.0/28 00500 172527273 8241845066 allow ip from table(111) to any 00510 6826373984 4635126371384 skipto 10000 ip from any to table(111) 01000 6155688044 1067046574713 pipe tablearg ip from table(17) to any in via bge1 01010 0 0 ngtee 21 ip from table(23) to any in via bge1 01020 6095478668 1046703088138 ngtee 31 ip from table(24) to any in via bge1 01030 20156002 8768866847 ngtee 41 ip from table(30) to any in via bge1 15000 12300189888 2098823866830 nat tablearg ip from table(24) to any 15010 0 0 nat tablearg ip from table(23) to any 15020 40322035 17538211139 nat tablearg ip from table(30) to any 15030 6826373494 4635126305893 nat tablearg ip from any to table(111) 15040 6498744726 4605209022143 pipe tablearg ip from any to table(18) out via bge0 15050 0 0 ngtee 21 ip from any to table(23) out via bge0 15060 6391831428 4515717639848 ngtee 31 ip from any to table(24) out via bge0 15070 12348264 7632683598 ngtee 41 ip from any to table(30) out via bge0 65000 25551327312 11269101015139 allow ip from any to any 65535 79 17383 deny ip from any to any My router configuration: FreeBSD nat3 7.1-STABLE FreeBSD 7.1-STABLE #3: Tue Mar 17 16:09:20 MSK 2009 root@nat3:/usr/src/sys/amd64/compile/nat3 amd64 2 x CPU: Intel(R) Xeon(R) CPU X5472 @ 3.00GHz (2992.51-MHz K8-class CPU) 2 gigabit bge pci-e cards. polling is disabled. kern.hz=1000 top -SH 81 processes: 7 running, 58 sleeping, 16 waiting CPU: 0.8% user, 0.0% nice, 13.0% system, 11.4% interrupt, 74.8% idle Mem: 31M Active, 1320M Inact, 529M Wired, 43M Cache, 63M Buf, 55M Free Swap: 4062M Total, 4062M Free PID USERNAME PRI NICE SIZE RES STATE C TIME CPU COMMAND 13 root 171 ki31 0K 16K RUN 1 134.9H 100.00% idle: cpu1 11 root 171 ki31 0K 16K CPU3 3 120.6H 96.39% idle: cpu3 14 root 171 ki31 0K 16K RUN 0 107.1H 71.09% idle: cpu0 12 root 171 ki31 0K 16K CPU2 2 119.7H 65.28% idle: cpu2 42 root -68 - 0K 16K - 2 45.8H 46.09% dummynet 25 root -68 - 0K 16K CPU0 0 35.8H 35.69% irq256: bge0 26 root -68 - 0K 16K WAIT 1 383:21 4.88% irq257: bge1 16 root -32 - 0K 16K WAIT 1 153:17 1.17% swi4: clock sio Regards, Andrey Kropachev
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?49C90EEC.5030703>