From owner-freebsd-net@FreeBSD.ORG Sat Oct 30 17:15:56 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 5907A106566C for ; Sat, 30 Oct 2010 17:15:56 +0000 (UTC) (envelope-from kes-kes@yandex.ru) Received: from forward16.mail.yandex.net (forward16.mail.yandex.net [95.108.253.141]) by mx1.freebsd.org (Postfix) with ESMTP id 037928FC0A for ; Sat, 30 Oct 2010 17:15:55 +0000 (UTC) Received: from smtp16.mail.yandex.net (smtp16.mail.yandex.net [95.108.252.16]) by forward16.mail.yandex.net (Yandex) with ESMTP id 4113F23A8A96; Sat, 30 Oct 2010 21:15:54 +0400 (MSD) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1288458954; bh=QAfGM2D5YJw+dAa2xGRbp6/aHev3ujWTZQXa1gOVQuc=; h=Date:From:Reply-To:Message-ID:To:CC:Subject:In-Reply-To: References:MIME-Version:Content-Type:Content-Transfer-Encoding; b=L7uSI8EpZlPOhw+R4d25wQhysuOYBwIJS8MLIPQdxVWAHiot0PZTiXeRXQdarn4t8 REor3H+YJ3OKp0yKnloptvcf7eFZjEZZmuDjdHMazvZW5UgCDzMmRyYJn0vHqdA1rj /KaF2JCZ0delnbSxvcy1HKCjqHNCE5oYZLPoHOls= Received: from HOMEUSER (unknown [77.93.38.34]) by smtp16.mail.yandex.net (Yandex) with ESMTPA id E98011600065; Sat, 30 Oct 2010 21:15:53 +0400 (MSD) X-Nat-Received: from [192.168.11.204]:4157 [ident-empty] by SPAM FILTER: with TPROXY id 1288458523.38747 abuse-to kes-kes@yandex.ru Date: Sat, 30 Oct 2010 20:15:46 +0300 From: =?windows-1251?B?yu7t/Oru4iDF4uPl7ejp?= X-Mailer: The Bat! (v4.0.24) Professional Organization: =?windows-1251?B?188gyu7t/Oru4iwgRnJlZUxpbmU=?= X-Priority: 3 (Normal) Message-ID: <1887153402.20101030201546@yandex.ru> To: Larry Baird In-Reply-To: <20101029181706.79027.qmail@mailgate.gta.com> References: <110929.14152.74663@localhost> <20101029181706.79027.qmail@mailgate.gta.com> MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: 8bit X-Yandex-TimeMark: 1288458954 X-Yandex-Spam: 1 X-Yandex-Front: smtp16.mail.yandex.net Cc: freebsd-net@freebsd.org Subject: Re[2]: 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: Sat, 30 Oct 2010 17:15:56 -0000 Hi, Larry. LB> Also make sure kern.polling.idle_poll is enabled. By default it is LB> disabled. This makes a big difference in polling throughput. enabling that take all CPU time. last pid: 38722; load averages: 1.88, 1.18, 0.85 up 1+18:43:28 20:04:54 101 processes: 5 running, 74 sleeping, 22 waiting CPU: 1.4% user, 0.0% nice, 61.7% system, 36.8% interrupt, 0.0% idle Mem: 395M Active, 898M Inact, 288M Wired, 5636K Cache, 213M Buf, 388M Free Swap: 4063M Total, 4063M Free PID USERNAME PRI NICE SIZE RES STATE TIME WCPU COMMAND 51 root 171 ki31 0K 16K RUN 0:56 39.89% idlepoll 14 root -44 - 0K 16K WAIT 3:50 30.47% swi1: net 2 root -68 - 0K 16K sleep 253:55 25.20% ng_queue0 17358 bind 44 0 223M 184M RUN 14:30 0.39% named 1324 root 44 0 31828K 9192K select 9:35 0.29% mpd5 55 root 20 - 0K 16K syncer 5:18 0.29% syncer How that affect other processes? Will they be slowed down by idlepoll? -- С уважением, Коньков mailto:kes-kes@yandex.ru