From owner-freebsd-net@FreeBSD.ORG Mon Dec 20 19:42:50 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 214181065695 for ; Mon, 20 Dec 2010 19:42:50 +0000 (UTC) (envelope-from egrosbein@rdtc.ru) Received: from eg.sd.rdtc.ru (eg.sd.rdtc.ru [62.231.161.221]) by mx1.freebsd.org (Postfix) with ESMTP id 7D2C08FC16 for ; Mon, 20 Dec 2010 19:42:49 +0000 (UTC) Received: from eg.sd.rdtc.ru (localhost [127.0.0.1]) by eg.sd.rdtc.ru (8.14.4/8.14.4) with ESMTP id oBKJgkSO025485; Tue, 21 Dec 2010 01:42:46 +0600 (NOVT) (envelope-from egrosbein@rdtc.ru) Message-ID: <4D0FB1B1.7070703@rdtc.ru> Date: Tue, 21 Dec 2010 01:42:41 +0600 From: Eugene Grosbein User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; ru-RU; rv:1.9.1.10) Gecko/20100712 Thunderbird/3.0.5 MIME-Version: 1.0 To: Lev Serebryakov References: <12810339411.20101220205327@serebryakov.spb.ru> In-Reply-To: <12810339411.20101220205327@serebryakov.spb.ru> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-net@freebsd.org Subject: Re: E4500 spend one core to saturate 1Gbit/s link with TCP -- is it nornal? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Dec 2010 19:42:50 -0000 On 20.12.2010 23:53, Lev Serebryakov wrote: > I have file server with Core2Duo E4500 CPU and Intel gigabit adapter > (82566DM). > > FreeBSD 8-STABLE (8.2-PRERELEASE #1: Fri Dec 3 2010) and > samba35-3.5.6 are installed. > > This server could serve about 110MiB/s to one client over CIFS, but > one core of CPU is completely busy in such situation: about 60% of CPU > is occuped by "ketnel" and 35-40% occuped bu "smbd" accroding to "top > -S" ouput. > > Is it normal, that 2.2GHz core is needed to saturate 1Gib link with > only one client (and one TCP connction), or I have something > misconfigured? Compare with ftpd that uses sendfile() kernel function. Eugene Grosbein