From owner-freebsd-performance@FreeBSD.ORG Tue Jul 9 16:10:32 2013 Return-Path: Delivered-To: freebsd-performance@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 00879760; Tue, 9 Jul 2013 16:10:31 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from onlyone.friendlyhosting.spb.ru (onlyone.friendlyhosting.spb.ru [IPv6:2a01:4f8:131:60a2::2]) by mx1.freebsd.org (Postfix) with ESMTP id BE2DD1A77; Tue, 9 Jul 2013 16:10:31 +0000 (UTC) Received: from lion.home.serebryakov.spb.ru (unknown [IPv6:2001:470:923f:1:d1e6:17e6:7b26:3ee6]) (Authenticated sender: lev@serebryakov.spb.ru) by onlyone.friendlyhosting.spb.ru (Postfix) with ESMTPSA id A05E84AC58; Tue, 9 Jul 2013 20:10:29 +0400 (MSK) Date: Tue, 9 Jul 2013 20:10:26 +0400 From: Lev Serebryakov Organization: FreeBSD X-Priority: 3 (Normal) Message-ID: <987136020.20130709201026@serebryakov.spb.ru> To: freebsd-performance@freebsd.org, timur@FreeBSD.org Subject: Re: Samba server performance -- only 33MiB/s with one client on 1G network! In-Reply-To: <1885849141.20130708010224@serebryakov.spb.ru> References: <866737084.20130707233704@serebryakov.spb.ru> <1885849141.20130708010224@serebryakov.spb.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Lev Serebryakov List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Jul 2013 16:10:32 -0000 Hello, Lev. You wrote 8 =D0=B8=D1=8E=D0=BB=D1=8F 2013 =D0=B3., 1:02:24: LS> Hello, Lev. LS> You wrote 7 =D0=B8=D1=8E=D0=BB=D1=8F 2013 =D0=B3., 23:37:04: LS>> So, smbd is NOT limited by: LS>> (1) FS (33MiB/s vs 280MiB/s). LS>> (2) Network (33MiB/s vs 820Mbit/s / 97MiB/s). LS>> (3) CPU (50% vs 100%, CPU is 150% idle!). LS>> Why samba performacne is so loosy? What could LS> I've "ktrace" smbd process in question and see a lot of Ok, poll() takes 98.5% of time spent by samba process! Is it Ok?! And getegid()/geteuid() is takes 30% of calls (but only 0.1% of time)! But this poll() prevalence is not clear to me. So, it wait something most of time? What? --=20 // Black Lion AKA Lev Serebryakov