From owner-freebsd-performance@FreeBSD.ORG Tue Jul 9 16:41:38 2013 Return-Path: Delivered-To: freebsd-performance@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 46B58553 for ; Tue, 9 Jul 2013 16:41:38 +0000 (UTC) (envelope-from nonesuch@longcount.org) Received: from mail-we0-f176.google.com (mail-we0-f176.google.com [74.125.82.176]) by mx1.freebsd.org (Postfix) with ESMTP id D41D61C5A for ; Tue, 9 Jul 2013 16:41:37 +0000 (UTC) Received: by mail-we0-f176.google.com with SMTP id t56so4876765wes.21 for ; Tue, 09 Jul 2013 09:41:31 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:in-reply-to:references:date :message-id:subject:from:to:content-type:x-gm-message-state; bh=UQdqtWumIhzrGs4xJ7S0VmsOuw7ZMOr/g1Glw5s0QcE=; b=hFFOR+LTObpo4XToE3YyBmZ/pksTFiTe5HmifsnoMuWoDwjfX4BA9ErJOoRSOxiaW2 g6pG6x7GTkoq3wueMCNX5UqpNuSEY/jPJIOHYm1nPtA98dQCCFWJYejEFKE/lTKGwhNf aQypLtO+k0C/tG96I/fLLD8sMm4b7F530ZpXvXLtBHAvA4PoNfb5o9Snj0gngS3+FydD Wv59/12acsRnlCWqaL9+T80qFdXecEBiZWgB/NBWHyxh3I9w1sWZt0djeLASpYMQc1cs i01y3Ef+D2EhAOwCCI/WwKBWn9vR2P+qPV0wKmAJEebnGYFOo9rfrE+QhPuuj0lQqj5A ObaQ== MIME-Version: 1.0 X-Received: by 10.194.78.110 with SMTP id a14mr15652239wjx.84.1373388091559; Tue, 09 Jul 2013 09:41:31 -0700 (PDT) Received: by 10.216.189.4 with HTTP; Tue, 9 Jul 2013 09:41:31 -0700 (PDT) X-Originating-IP: [216.223.13.162] In-Reply-To: <987136020.20130709201026@serebryakov.spb.ru> References: <866737084.20130707233704@serebryakov.spb.ru> <1885849141.20130708010224@serebryakov.spb.ru> <987136020.20130709201026@serebryakov.spb.ru> Date: Tue, 9 Jul 2013 12:41:31 -0400 Message-ID: Subject: Re: Samba server performance -- only 33MiB/s with one client on 1G network! From: Mark Saad To: freebsd-performance@freebsd.org X-Gm-Message-State: ALoCoQmaQ3NEAwY84jBboltridMKddYuAXtMI+Fn0oiYp0k4VPgNGGy9gekMsm26OOcQruCjuhuG X-Mailman-Approved-At: Tue, 09 Jul 2013 18:01:11 +0000 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Jul 2013 16:41:38 -0000 On Tue, Jul 9, 2013 at 12:10 PM, Lev Serebryakov wrote: > 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 mos= t > of time? What? > > -- > // Black Lion AKA Lev Serebryakov > > _______________________________________________ > freebsd-performance@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-performance > To unsubscribe, send any mail to " > freebsd-performance-unsubscribe@freebsd.org" > Lev What can you tell us about the system tunings. Can you post a copy of you= r 1. sysctl.conf 2. loader.conf 3. smb.conf 4. /etc/fstab Also the output from 1. pciconf -lv 2. dmidecode 3. ifconfig 4. mount sanitize them as needed. --=20 mark saad | nonesuch@longcount.org