From owner-freebsd-net@FreeBSD.ORG Thu Oct 28 20:21:14 2010 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2A773106564A for ; Thu, 28 Oct 2010 20:21:14 +0000 (UTC) (envelope-from kes-kes@yandex.ru) Received: from forward13.mail.yandex.net (forward13.mail.yandex.net [95.108.130.120]) by mx1.freebsd.org (Postfix) with ESMTP id B4D468FC2A for ; Thu, 28 Oct 2010 20:21:13 +0000 (UTC) Received: from smtp14.mail.yandex.net (smtp14.mail.yandex.net [95.108.131.192]) by forward13.mail.yandex.net (Yandex) with ESMTP id 52AE71081C3A for ; Fri, 29 Oct 2010 00:21:11 +0400 (MSD) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1288297271; bh=GGuqvquHHdENpNNYlcANhQxfRxrQTYcCRuU3sZL/8oI=; h=Date:From:Reply-To:Message-ID:To:Subject:MIME-Version: Content-Type:Content-Transfer-Encoding; b=EAVxPkW8ArfZ/yiDKnxiVrRHUVAkGkxG+Vh8Y2cWTmX7ZS7vUHKk+FN/zvyEAdOeQ znXzjhd+5rVirCt7UlYHn5i8ALrn/s2OcmuozLYCdvJ31opLAP0nAZEPJtLQP70P8B Di6Hp4Sa0JeQgqCNRrTBc1TAaxhZYwa9r+Jj1kcs= Received: from HOMEUSER (unknown [77.93.42.18]) by smtp14.mail.yandex.net (Yandex) with ESMTPA id 1597219B80A1 for ; Fri, 29 Oct 2010 00:21:11 +0400 (MSD) Date: Thu, 28 Oct 2010 23:21:11 +0300 From: =?windows-1251?B?yu7t/Oru4iDF4uPl7ejp?= X-Mailer: The Bat! (v4.0.24) Professional Organization: =?windows-1251?B?188gyu7t/Oru4iwgRnJlZUxpbmU=?= X-Priority: 2 (High) Message-ID: <1519248747.20101028232111@yandex.ru> To: freebsd-net@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: 8bit X-Yandex-TimeMark: 1288297271 X-Yandex-Spam: 1 X-Yandex-Front: smtp14.mail.yandex.net Subject: Polling slows down bandwidth X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: =?windows-1251?B?yu7t/Oru4iDF4uPl7ejp?= List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Oct 2010 20:21:14 -0000 Hello, w/0 polling: serv1# ifconfig nfe0 nfe0: flags=8943 metric 0 mtu 1500 options=10b ether 00:13:d4:ce:82:16 inet 10.11.8.17 netmask 0xfffffc00 broadcast 10.11.11.255 inet 10.11.15.15 netmask 0xffffff00 broadcast 10.11.15.255 inet 10.11.8.15 netmask 0xfffffc00 broadcast 10.11.11.255 media: Ethernet autoselect (1000baseTX ) status: active serv2# ifconfig re0 re0: flags=8843 metric 0 mtu 1500 options=389b ether 00:1c:c0:c8:5a:4e inet 192.168.255.254 netmask 0xffffffff broadcast 192.168.255.254 media: Ethernet autoselect (1000baseTX ) status: active serv1# systat -v 2 users Load 0.38 0.49 0.38 Oct 28 23:10 Mem:KB REAL VIRTUAL VN PAGER SWAP PAGER Tot Share Tot Share Free in out in out Act 324452 20196 490400 25112 938576 count All 346596 21060 1074286k 28104 pages Proc: Interrupts r p d s w Csw Trp Sys Int Sof Flt cow 29953 total 1 47 71k 18 5022 27k 2029 1 zfod atkbd0 1 ozfod 7 ata0 irq14 62.4%Sys 18.7%Intr 0.4%User 0.0%Nice 18.4%Idle %ozfod 27944 nfe0 irq23 | | | | | | | | | | | daefr 2001 cpu0: time ===============================++++++++++ prcfr igb0 256 1 dtbuf 6 totfr 1 igb0 257 Namei Name-cache Dir-cache 100000 desvn react igb0 258 Calls hits % hits % 84106 numvn pdwak 5 5 100 24824 frevn pdpgs intrn Disks ad0 373808 wire KB/t 16.00 292088 act tps 7 417568 inact MB/s 0.10 200 cache %busy 0 938376 free iperf result: [ ID] Interval Transfer Bandwidth [ 4] 0.0-10.3 sec 450 MBytes 368 Mbits/sec after enable POLLING: serv1# ifconfig nfe0 polling 2 users Load 0.32 0.39 0.35 Oct 28 23:13 Mem:KB REAL VIRTUAL VN PAGER SWAP PAGER Tot Share Tot Share Free in out in out Act 324464 20196 490656 25112 938428 count All 346624 21060 1074286k 28104 pages Proc: Interrupts r p d s w Csw Trp Sys Int Sof Flt cow 2006 total 1 47 28k 19 2691 6 2036 2 zfod atkbd0 1 ozfod 4 ata0 irq14 24.7%Sys 18.6%Intr 0.7%User 0.0%Nice 55.9%Idle %ozfod nfe0 irq23 | | | | | | | | | | | daefr 2001 cpu0: time ============++++++++++ prcfr igb0 256 10 dtbuf 2 totfr 1 igb0 257 Namei Name-cache Dir-cache 100000 desvn react igb0 258 Calls hits % hits % 84106 numvn pdwak 20 20 100 24824 frevn pdpgs intrn Disks ad0 373944 wire KB/t 16.00 292104 act tps 4 417564 inact MB/s 0.07 200 cache %busy 0 938228 free I get bad results ((( [ ID] Interval Transfer Bandwidth [ 4] 0.0-10.3 sec 180 MBytes 147 Mbits/sec -- mailto:kes-kes@yandex.ru