From owner-freebsd-performance@FreeBSD.ORG Sun May 21 09:05:01 2006 Return-Path: X-Original-To: performance@freebsd.org Delivered-To: freebsd-performance@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CBCFF16A473 for ; Sun, 21 May 2006 09:05:01 +0000 (UTC) (envelope-from ah@shadow.splashground.de) Received: from shadow.splashground.de (shadow.splashground.de [85.214.34.252]) by mx1.FreeBSD.org (Postfix) with SMTP id E59F343D48 for ; Sun, 21 May 2006 09:05:00 +0000 (GMT) (envelope-from ah@shadow.splashground.de) Received: (qmail 25583 invoked by uid 1001); 21 May 2006 11:03:41 +0200 Date: 21 May 2006 11:03:41 +0200 Message-ID: <20060521090341.25582.qmail@shadow.splashground.de> User-Agent: Emai/0.0.5 Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Disposition: inline References: <446DE927.2060909@fer.hr> <20060520182238.R8068@fledge.watson.org> In-Reply-To: <20060520182238.R8068@fledge.watson.org> From: Andreas Hauser To: Robert Watson X-License: BSD X-Addicted: yeah Cc: performance@freebsd.org, Ivan Voras , Michael Vince Subject: Re: (Another) simple benchmark X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 May 2006 09:05:02 -0000 rwatson wrote @ Sat, 20 May 2006 18:25:14 +0100 (BST): > I'm set up to easily benchmark FreeBSD in our netperf cluster, but I'm not set > up to easily do comparisons with Linux, since we don't have a pluggable > netboot Linux to install in that environment. If someone wants to provide > some pointers doing that, I'm happy to explore doing it, but ideally it would > be something like "tftp export file and NFS tree , boot". This is the > model we use for FreeBSD in the netperf cluster, and it works very well :-). This should get you started with booting linux via PXE: http://www.splashground.de/~andy/linux/tftpboot.tar.gz Unpack as the root of you tftp server and add to your dhcp.conf: "filename /pxelinux.0". Edit tftpboot/pxelinux.cfg accordingly. -- Andy From owner-freebsd-performance@FreeBSD.ORG Sun May 21 20:55:45 2006 Return-Path: X-Original-To: freebsd-performance@freebsd.org Delivered-To: freebsd-performance@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C815D16A52C for ; Sun, 21 May 2006 20:55:45 +0000 (UTC) (envelope-from hakmi@rogers.com) Received: from smtp103.rog.mail.re2.yahoo.com (smtp103.rog.mail.re2.yahoo.com [206.190.36.81]) by mx1.FreeBSD.org (Postfix) with SMTP id BD2C343D67 for ; Sun, 21 May 2006 20:55:42 +0000 (GMT) (envelope-from hakmi@rogers.com) Received: (qmail 45658 invoked from network); 21 May 2006 20:55:42 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=rogers.com; h=Received:From:To:Subject:Date:MIME-Version:Content-Type:Content-Transfer-Encoding:X-Mailer:X-MimeOLE:Thread-Index; b=C2AgEfc9iHLYTzoi62NdOn5HWyO2CutIcTrNpAmrgc7Ic7HxMPF6WwhziIiRJS82+CgNy6a7yXAf9zIl1KnoVqFua61vh4FaY2df/IkjvX4AIDxsafMBQCnbdq+BtlLCJQHgO8cZcddkmjP5hfnyMNfnJe8a499mEnmcu2jUiiw= ; Received: from unknown (HELO tamouh) (hakmi@rogers.com@70.27.160.99 with login) by smtp103.rog.mail.re2.yahoo.com with SMTP; 21 May 2006 20:55:42 -0000 From: "Tamouh H." To: Date: Sun, 21 May 2006 16:56:02 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook, Build 11.0.6353 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869 Thread-Index: AcZ9GPfcupyKUb+HRIykVESbLsF2aA== Message-Id: <20060521205542.BD2C343D67@mx1.FreeBSD.org> Subject: FBSD 5.x CPU performance on MSVS 2005 X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 May 2006 20:55:47 -0000 Hi, I've been doing some testing with Microsoft Virtual Server 2005 R2 and = FreeBSD, so far compatibility has been great across the board with all = versions of FreeBSD from 4.x - 7.x on IDE based virtual drives (no = compatibility with SCSI driver). However, on FreeBSD 5.x I noticed the CPU detected by FreeBSD is half of = the actual CPU available (e.g. the machine has 6 x 900MHz CPUs and each = VM is assigned a 900MHz CPU), yes FreeBSD 5.x detects the CPU frequency = at 400-498MHz no matter what settings I try to change and what options = I've added to the kernel. This usually resulted in "time went backward" = errors and significant performance impact. I tried FBSD 7.x-CURRENT and the CPU was detected perfectly fine as = P-III 900MHz and performance was much better improved.=20 Results were obtained through: > sysctl hw.clockrate I've left notes on this matter at freebsd-questions: http://lists.freebsd.org/pipermail/freebsd-questions/2006-January/111628.= html Any advise or check on this is appreciated, I can provide access to the = VM machines if wanted. Thx, Tamouh Hakmi From owner-freebsd-performance@FreeBSD.ORG Thu May 25 12:46:42 2006 Return-Path: X-Original-To: freebsd-performance@freebsd.org Delivered-To: freebsd-performance@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C573516A421; Thu, 25 May 2006 12:46:42 +0000 (UTC) (envelope-from anderson@centtech.com) Received: from mh1.centtech.com (moat3.centtech.com [207.200.51.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4B40043D46; Thu, 25 May 2006 12:46:41 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from [10.177.171.220] (neutrino.centtech.com [10.177.171.220]) by mh1.centtech.com (8.13.1/8.13.1) with ESMTP id k4PCkfov041868; Thu, 25 May 2006 07:46:41 -0500 (CDT) (envelope-from anderson@centtech.com) Message-ID: <4475A734.4040909@centtech.com> Date: Thu, 25 May 2006 07:46:44 -0500 From: Eric Anderson User-Agent: Thunderbird 1.5.0.2 (X11/20060506) MIME-Version: 1.0 To: etalk etalk References: In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: ClamAV 0.87.1/1481/Thu May 25 04:29:10 2006 on mh1.centtech.com X-Virus-Status: Clean Cc: freebsd-fs@freebsd.org, freebsd-performance@freebsd.org Subject: Re: about ufs filesystem io performance! X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 May 2006 12:46:42 -0000 etalk etalk wrote: > 5.3 vs 6.0 The test tool is Iozone3_257, and the test command is > “./iozone -A -f /mnt/tmpfile.test -g 1g -n 1m -q 8k -y 2k -R -b > outfile-Af.xls ” (http://www.iozone.org/src/current/). We ran all the > tests on the same PC with 2.4 GHz Pentium CPU and 512M main memory. > Figure1~Figure5 show the results of the file system performance > comparison between Bsd5.3’s UFS2 and Bsd6.0’s UFS2 when testing with > different file system (local, sync, async, softupdate, sync+softupdate). > According to the figures, our conclusion is: On all kinds of file > systems, the write, rewrite, read and reread performance of the two is > almost same and we cant say that Bsd6.0 make a improvement on file > system IO performance. > http://blog.csdn.net/minerboyIo/Gallery/204114.aspx > linux2.6.11 vs bsd 5.3 The test tool is Iozone3_257, and the test > command is “./iozone -A -f /mnt/tmpfile.test -g 1g -n 4m -q 8k -y 2k -R > -b outfile-Af.xls ” (http://www.iozone.org/src/current/). We ran all the > tests on the same PC with 2.4 GHz Pentium CPU and 512M main memory, > Figure1, Figure2, Figure3 show the results of the file system > performance comparison between Bsd’s UFS2 and Linux’ Ext3 (the Linux > kernel version is 2.6.11, and the Bsd kernel version is 5.3) when > testing with sync, async and local (Bsd using softupdate) file system. > According to the figures, our conclusion is: a.On local file system and > async file system, Fedora4’s write and rewrite is much faster than > Bsd5.3’s (about 5-10 times). b.On all kinds of file systems, the read > and reread performance of FreeBsd5.3 is about 50%-90% lower than that of > Fedora4. c.On sync file system, Bsd5.3 writes several times faster than > Fedora4 does and rewrites over two hundred times faster than Fedora4 > does. http://blog.csdn.net/minerboyIo/Gallery/204107.aspx You don't report the type of disks you are using, or anything about the storage. For the first test, I'd think that it's possible that you were hitting hardware performance bottlenecks before actually testing the filesystem performance. Also, what are the 2,4,8 numbers referencing? How many times did you run the tests? Eric -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology Anything that works is better than anything that doesn't. ------------------------------------------------------------------------ From owner-freebsd-performance@FreeBSD.ORG Thu May 25 17:43:38 2006 Return-Path: X-Original-To: freebsd-performance@freebsd.org Delivered-To: freebsd-performance@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0E31916AC5E for ; Thu, 25 May 2006 17:43:38 +0000 (UTC) (envelope-from trashy_bumper@yahoo.com) Received: from web36315.mail.mud.yahoo.com (web36315.mail.mud.yahoo.com [209.191.84.245]) by mx1.FreeBSD.org (Postfix) with SMTP id 34C7F43DCF for ; Thu, 25 May 2006 17:42:14 +0000 (GMT) (envelope-from trashy_bumper@yahoo.com) Received: (qmail 46066 invoked by uid 60001); 25 May 2006 17:42:11 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=22ku9VuRYkDiBDN1KgCAgqUv8H5FZiEqwikQGSi9KchiKvTd6nhUi7D5GaWNy9dJva9XI+TrmU42qQ2yK95UsLGFbOiz9xzx+fxM0gh0yf8ceOhbN+e5YcB8fmJS1j/4R8+VSNWNyXx/lIe9uHhQsv7l7W1EAc0ishM9CsMO/qE= ; Message-ID: <20060525174211.46064.qmail@web36315.mail.mud.yahoo.com> Received: from [213.227.206.11] by web36315.mail.mud.yahoo.com via HTTP; Thu, 25 May 2006 10:42:11 PDT Date: Thu, 25 May 2006 10:42:11 -0700 (PDT) From: Nash Nipples To: freebsd-performance@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: Poor Samba throughput on 6.0 X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 May 2006 17:43:42 -0000 Hi Guys, has anyone actually managed to speed up the thing up to 10-12 MB/s i have a good 7-9 MB/s on large files and that should be enough, but still, out of curiosity? Oh by the way: 100 MB ethernet ping -s 65507 -f windowshost ~ 10-12 MB/s ftp open freebsdhost put/get 500MB.file ~ 10-12 MB/s net.inet.tcp.inflight.enable=1 who said u have to put it down? Thanks, Nash --------------------------------- How low will we go? Check out Yahoo! Messenger’s low PC-to-Phone call rates. From owner-freebsd-performance@FreeBSD.ORG Thu May 25 17:47:44 2006 Return-Path: X-Original-To: freebsd-performance@freebsd.org Delivered-To: freebsd-performance@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 57C1B16B14C for ; Thu, 25 May 2006 17:47:44 +0000 (UTC) (envelope-from mike@sentex.net) Received: from smarthost2.sentex.ca (smarthost2.sentex.ca [205.211.164.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 368B043D5D for ; Thu, 25 May 2006 17:47:39 +0000 (GMT) (envelope-from mike@sentex.net) Received: from lava.sentex.ca (pyroxene.sentex.ca [199.212.134.18]) by smarthost2.sentex.ca (8.13.4P/8.13.4) with ESMTP id k4PHlco7061845; Thu, 25 May 2006 13:47:38 -0400 (EDT) (envelope-from mike@sentex.net) Received: from simian.sentex.net (simeon.sentex.ca [192.168.43.27]) by lava.sentex.ca (8.13.3P/8.13.3) with ESMTP id k4PHlb5X040431 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 25 May 2006 13:47:38 -0400 (EDT) (envelope-from mike@sentex.net) Message-Id: <6.2.3.4.0.20060525134638.107b6598@64.7.153.2> X-Mailer: QUALCOMM Windows Eudora Version 6.2.3.4 Date: Thu, 25 May 2006 13:47:22 -0400 To: Nash Nipples , freebsd-performance@freebsd.org From: Mike Tancsa In-Reply-To: <20060525174211.46064.qmail@web36315.mail.mud.yahoo.com> References: <20060525174211.46064.qmail@web36315.mail.mud.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Virus-Scanned: by amavisd-new Cc: Subject: Re: Poor Samba throughput on 6.0 X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 May 2006 17:47:46 -0000 At 01:42 PM 25/05/2006, Nash Nipples wrote: >net.inet.tcp.inflight.enable=1 who said u have to put it down? When you are on the same subnet, is it not automatically disabled ? ---Mike From owner-freebsd-performance@FreeBSD.ORG Thu May 25 18:21:37 2006 Return-Path: X-Original-To: freebsd-performance@freebsd.org Delivered-To: freebsd-performance@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 90DC616B3C0 for ; Thu, 25 May 2006 18:21:37 +0000 (UTC) (envelope-from nevans@talkpoint.com) Received: from relay.talkpoint.com (pobox.talkpoint.com [204.141.15.158]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9D79F43D53 for ; Thu, 25 May 2006 18:21:29 +0000 (GMT) (envelope-from nevans@talkpoint.com) Received: from ASSP-nospam ([127.0.0.1]) by relay.talkpoint.com with Microsoft SMTPSVC(5.0.2195.6713); Thu, 25 May 2006 14:21:27 -0400 Received: from 204.141.15.136 ([204.141.15.136] helo=postal.talkpoint.com) by ASSP-nospam ; 25 May 06 18:21:27 -0000 Received: from pleiades.nextvenue.com ([204.141.15.194]) by postal.talkpoint.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id H18PXLZG; Thu, 25 May 2006 14:21:27 -0400 Date: Thu, 25 May 2006 14:21:27 -0400 From: Nick Evans To: Nash Nipples Message-ID: <20060525142127.0799011c@pleiades.nextvenue.com> In-Reply-To: <20060525174211.46064.qmail@web36315.mail.mud.yahoo.com> References: <20060525174211.46064.qmail@web36315.mail.mud.yahoo.com> X-Mailer: Sylpheed-Claws 1.9.15 (GTK+ 2.6.10; i386-portbld-freebsd6.0) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-OriginalArrivalTime: 25 May 2006 18:21:27.0924 (UTC) FILETIME=[09DE2B40:01C68028] Cc: freebsd-performance@freebsd.org Subject: Re: Poor Samba throughput on 6.0 X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 May 2006 18:21:49 -0000 On Thu, 25 May 2006 10:42:11 -0700 (PDT) Nash Nipples wrote: > Hi Guys,=20 >=20 > has anyone actually managed to speed up the thing up to 10-12 MB/s >=20 > i have a good 7-9 MB/s on large files and that should be enough, but stil= l, > out of curiosity?=20 >=20 > Oh by the way: > 100 MB ethernet > ping -s 65507 -f windowshost ~ 10-12 MB/s > ftp open freebsdhost put/get 500MB.file ~ 10-12 MB/s > net.inet.tcp.inflight.enable=3D1 who said u have to put it down? >=20 > Thanks, >=20 > Nash >=20 > I have the same issue here on several different systems. I have not been ab= le to get throughput past ~70 megabits. Most times smbd hovers around 5-10% CPU usage on a Duron 1200 system. With this one system upgrading from a P2-350, to an Athlon 900 to the Duron 1200 have not changed performance at all. The disk subsystem in the box has no issues doing reads and writes at a rate 4-5 times higher than what I get out of Samba. Nick > --------------------------------- > How low will we go? Check out Yahoo! Messenger=92s low PC-to-Phone call > rates. _______________________________________________ > 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" From owner-freebsd-performance@FreeBSD.ORG Thu May 25 18:28:21 2006 Return-Path: X-Original-To: freebsd-performance@freebsd.org Delivered-To: freebsd-performance@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 741E816B592 for ; Thu, 25 May 2006 18:28:21 +0000 (UTC) (envelope-from mikej@rogers.com) Received: from smtp101.rog.mail.re2.yahoo.com (smtp101.rog.mail.re2.yahoo.com [206.190.36.79]) by mx1.FreeBSD.org (Postfix) with SMTP id 9A20543D46 for ; Thu, 25 May 2006 18:28:20 +0000 (GMT) (envelope-from mikej@rogers.com) Received: (qmail 74633 invoked from network); 25 May 2006 18:28:19 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=rogers.com; h=Received:Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject:References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=y6DG695Dq9aqLWMy5WJ5hZVh/MaMMAo0Kv8yNTe81QM809DZfiFLzAMF0MB51KYhAZNKsz0rTta2N9hQEcHemcxuTiBOSx8mxXkkaaDseyqmIebRxF8e5AxfGTMhsdf4pvPi3GTGL6Caxi9LxAX7LWfZoWg7DUlRBS1nminyEUI= ; Received: from unknown (HELO ?70.31.50.218?) (mikej@rogers.com@70.31.50.218 with plain) by smtp101.rog.mail.re2.yahoo.com with SMTP; 25 May 2006 18:28:19 -0000 Message-ID: <4475F75C.4090908@rogers.com> Date: Thu, 25 May 2006 14:28:44 -0400 From: Mike Jakubik User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: Nash Nipples References: <20060525174211.46064.qmail@web36315.mail.mud.yahoo.com> In-Reply-To: <20060525174211.46064.qmail@web36315.mail.mud.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-performance@freebsd.org Subject: Re: Poor Samba throughput on 6.0 X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 May 2006 18:28:24 -0000 Nash Nipples wrote: > Hi Guys, > > has anyone actually managed to speed up the thing up to 10-12 MB/s > > i have a good 7-9 MB/s on large files and that should be enough, but still, out of curiosity? > > No, not really. The performance of samba on freebsd still sucks. I have a gigabit link between my samba server and windows xp workstation, both use the intel em card. The fastest i can download from the freebsd server is 15.946 MB/s, fastest upload to is 13.594 MB/s. Thats pretty poor for a gigabit link. However, 9MB/s on your link is not bad at all, one has to consider the protocol overhead. > Oh by the way: > 100 MB ethernet > ping -s 65507 -f windowshost ~ 10-12 MB/s > ftp open freebsdhost put/get 500MB.file ~ 10-12 MB/s > net.inet.tcp.inflight.enable=1 who said u have to put it down? > This feature limited the speed of LANs, however recent code has aimed to fix that, but i don't think its in 6.0. I used a recent -CURRENT for the tests, you should consider updating to -STABLE. From owner-freebsd-performance@FreeBSD.ORG Thu May 25 18:52:38 2006 Return-Path: X-Original-To: freebsd-performance@freebsd.org Delivered-To: freebsd-performance@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 14FD916AA76 for ; Thu, 25 May 2006 18:52:38 +0000 (UTC) (envelope-from nevans@talkpoint.com) Received: from relay.talkpoint.com (relay.talkpoint.com [204.141.15.158]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6EF4D43D73 for ; Thu, 25 May 2006 18:52:33 +0000 (GMT) (envelope-from nevans@talkpoint.com) Received: from ASSP-nospam ([127.0.0.1]) by relay.talkpoint.com with Microsoft SMTPSVC(5.0.2195.6713); Thu, 25 May 2006 14:52:31 -0400 Received: from 204.141.15.136 ([204.141.15.136] helo=postal.talkpoint.com) by ASSP-nospam ; 25 May 06 18:52:31 -0000 Received: from pleiades.nextvenue.com ([204.141.15.194]) by postal.talkpoint.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id H18PXL9H; Thu, 25 May 2006 14:52:31 -0400 Date: Thu, 25 May 2006 14:52:31 -0400 From: Nick Evans To: Nick Evans Message-ID: <20060525145231.7fb23acc@pleiades.nextvenue.com> In-Reply-To: <20060525142127.0799011c@pleiades.nextvenue.com> References: <20060525174211.46064.qmail@web36315.mail.mud.yahoo.com> <20060525142127.0799011c@pleiades.nextvenue.com> X-Mailer: Sylpheed-Claws 1.9.15 (GTK+ 2.6.10; i386-portbld-freebsd6.0) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-OriginalArrivalTime: 25 May 2006 18:52:31.0713 (UTC) FILETIME=[60C5CD10:01C6802C] Cc: freebsd-performance@freebsd.org, Nash Nipples Subject: Re: Poor Samba throughput on 6.0 X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 May 2006 18:52:44 -0000 > > >=20 > I have the same issue here on several different systems. I have not been > able to get throughput past ~70 megabits. Most times smbd hovers around > 5-10% CPU usage on a Duron 1200 system. With this one system upgrading fr= om > a P2-350, to an Athlon 900 to the Duron 1200 have not changed performance= at > all. The disk subsystem in the box has no issues doing reads and writes at > a rate 4-5 times higher than what I get out of Samba. >=20 > Nick >=20 I should add that netperf between the windows and samba systems saturates t= he link (100mb) as do ftp transfers. > > --------------------------------- > > How low will we go? Check out Yahoo! Messenger=92s low PC-to-Phone call > > rates. _______________________________________________ > > 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" > _______________________________________________ > 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" From owner-freebsd-performance@FreeBSD.ORG Thu May 25 22:25:35 2006 Return-Path: X-Original-To: freebsd-performance@freebsd.org Delivered-To: freebsd-performance@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9CF2116CC00 for ; Thu, 25 May 2006 22:22:02 +0000 (UTC) (envelope-from joao.barros@gmail.com) Received: from wx-out-0102.google.com (wx-out-0102.google.com [66.249.82.204]) by mx1.FreeBSD.org (Postfix) with ESMTP id BD88943D73 for ; Thu, 25 May 2006 22:21:56 +0000 (GMT) (envelope-from joao.barros@gmail.com) Received: by wx-out-0102.google.com with SMTP id i31so1428466wxd for ; Thu, 25 May 2006 15:21:52 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=r43TgX6iwgIc2vwWIMMRYUwa/dJfx+Qdlq02afdo208qyb0U8xC8YwZ5e92odUY7ckqdC66+3ugnSdpQbU7jJTuexFDdI/S+YZ+3Jjq5bIfLk8BNTV8F7SmfScEUE3yPZrT/a32sqCJqpKoVdtUfHbgGGGXhxLZB1Rn7ChZIvCc= Received: by 10.70.42.18 with SMTP id p18mr859311wxp; Thu, 25 May 2006 15:21:52 -0700 (PDT) Received: by 10.70.36.13 with HTTP; Thu, 25 May 2006 15:21:52 -0700 (PDT) Message-ID: <70e8236f0605251521l1435d7besef7ccff83d7434c5@mail.gmail.com> Date: Thu, 25 May 2006 23:21:52 +0100 From: "Joao Barros" To: "Mike Jakubik" In-Reply-To: <4475F75C.4090908@rogers.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <20060525174211.46064.qmail@web36315.mail.mud.yahoo.com> <4475F75C.4090908@rogers.com> Cc: freebsd-performance@freebsd.org, Nash Nipples Subject: Re: Poor Samba throughput on 6.0 X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 May 2006 22:25:40 -0000 On 5/25/06, Mike Jakubik wrote: > Nash Nipples wrote: > > Hi Guys, > > > > has anyone actually managed to speed up the thing up to 10-12 MB/s > > > > i have a good 7-9 MB/s on large files and that should be enough, but st= ill, out of curiosity? > > > > > > No, not really. The performance of samba on freebsd still sucks. I have > a gigabit link between my samba server and windows xp workstation, both > use the intel em card. The fastest i can download from the freebsd > server is 15.946 MB/s, fastest upload to is 13.594 MB/s. Thats pretty > poor for a gigabit link. However, 9MB/s on your link is not bad at all, > one has to consider the protocol overhead. > > > Oh by the way: > > 100 MB ethernet > > ping -s 65507 -f windowshost ~ 10-12 MB/s > > ftp open freebsdhost put/get 500MB.file ~ 10-12 MB/s > > net.inet.tcp.inflight.enable=3D1 who said u have to put it down? > > > > This feature limited the speed of LANs, however recent code has aimed to > fix that, but i don't think its in 6.0. I used a recent -CURRENT for the > tests, you should consider updating to -STABLE. That's supposed to be in 6.1, but still the speed still is sub par : On 2/16/06, Andre Oppermann wrote: > andre 2006-02-16 19:38:07 UTC > > FreeBSD src repository > > Modified files: > sys/netinet tcp_input.c tcp_subr.c tcp_timer.h > tcp_var.h > Log: > Have TCP Inflight disable itself if the RTT is below a certain > threshold. Inflight doesn't make sense on a LAN as it has > trouble figuring out the maximal bandwidth because of the coarse > tick granularity. > > The sysctl net.inet.tcp.inflight.rttthresh specifies the threshold > in milliseconds below which inflight will disengage. It defaults > to 10ms. > > Tested by: Joao Barros , > Rich Murphey > Sponsored by: TCP/IP Optimization Fundraise 2005 > > Revision Changes Path > 1.288 +10 -0 src/sys/netinet/tcp_input.c > 1.237 +7 -1 src/sys/netinet/tcp_subr.c > 1.28 +3 -0 src/sys/netinet/tcp_timer.h > 1.127 +1 -0 src/sys/netinet/tcp_var.h > _______________________________________________ --=20 Joao Barros From owner-freebsd-performance@FreeBSD.ORG Sat May 27 16:10:02 2006 Return-Path: X-Original-To: performance@freebsd.org Delivered-To: freebsd-performance@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 91B4816A974 for ; Sat, 27 May 2006 16:10:02 +0000 (UTC) (envelope-from Rich@WhiteOakLabs.com) Received: from whiteoaklabs.com (mail.whiteoaklabs.com [69.55.226.191]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1B61F43D4C for ; Sat, 27 May 2006 16:10:02 +0000 (GMT) (envelope-from Rich@WhiteOakLabs.com) Received: from xa.home.org (cpe-24-174-83-226.houston.res.rr.com [24.174.83.226]) by whiteoaklabs.com (8.12.11/8.12.11) with ESMTP id k4RG9xxX013476 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Sat, 27 May 2006 09:10:01 -0700 Received: from [172.16.1.6] (a.home.org [172.16.1.6]) by xa.home.org (8.13.4/8.13.4) with ESMTP id k4RG9ufW084519 for ; Sat, 27 May 2006 11:09:57 -0500 (CDT) (envelope-from Rich@WhiteOakLabs.com) Message-ID: <447879D3.1070204@WhiteOakLabs.com> Date: Sat, 27 May 2006 11:09:55 -0500 From: "Dr. Rich Murphey" User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: performance@freebsd.org References: <20060525174211.46064.qmail@web36315.mail.mud.yahoo.com> <4475F75C.4090908@rogers.com> In-Reply-To: <4475F75C.4090908@rogers.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: Poor Samba throughput on 6.0 X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 May 2006 16:10:12 -0000 Mike Jakubik wrote: > Nash Nipples wrote: >> Hi Guys, >> has anyone actually managed to speed up the thing up to 10-12 MB/s >> >> i have a good 7-9 MB/s on large files and that should be enough, but >> still, out of curiosity? >> > > No, not really. The performance of samba on freebsd still sucks. I > have a gigabit link between my samba server and windows xp > workstation, both use the intel em card. The fastest i can download > from the freebsd server is 15.946 MB/s, fastest upload to is 13.594 > MB/s. Thats pretty poor for a gigabit link. However, 9MB/s on your > link is not bad at all, one has to consider the protocol overhead. I get 25 to 30MB/sec between FreeBSD 6.0 and Windows XP clients with tcp.inflight disabled and interrupt polling enabled on a 1gb link without jumbo frames. The various Linux distributions do about the same on this hardware - 3ware striped raid arrays, dual xeon, and 2Gb ram. in smb.conf I'm using: socket options = TCP_NODELAY strict locking = no use sendfile = yes 6.1 should be easier to tune in that tcp.inflight is selectively disabled by default for low latency (LAN) connections. Rich From owner-freebsd-performance@FreeBSD.ORG Sat May 27 17:34:27 2006 Return-Path: X-Original-To: performance@freebsd.org Delivered-To: freebsd-performance@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6321816C77E for ; Sat, 27 May 2006 17:34:27 +0000 (UTC) (envelope-from mikej@rogers.com) Received: from smtp100.rog.mail.re2.yahoo.com (smtp100.rog.mail.re2.yahoo.com [206.190.36.78]) by mx1.FreeBSD.org (Postfix) with SMTP id E1D1E43D66 for ; Sat, 27 May 2006 17:34:25 +0000 (GMT) (envelope-from mikej@rogers.com) Received: (qmail 75859 invoked from network); 27 May 2006 17:34:25 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=rogers.com; h=Received:Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject:References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=Kxc3LAUeVeVtm6eTOm3ys94N0Qxk6+56NrPBCLz5UZlaXIqGhhMfVd5/+wm+tflft2aHuTeDRKMpb4x56PECM3qQZn97eglsc/yGXnpek/5FlCZ6o11cbKG0WA9W/HS4qKJ022ul0TYM1d1VdrXUmD8HdvufRGaHxrOeArgIUV4= ; Received: from unknown (HELO ?70.31.50.218?) (mikej@rogers.com@70.31.50.218 with plain) by smtp100.rog.mail.re2.yahoo.com with SMTP; 27 May 2006 17:34:25 -0000 Message-ID: <44788DB2.6070709@rogers.com> Date: Sat, 27 May 2006 13:34:42 -0400 From: Mike Jakubik User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: "Dr. Rich Murphey" References: <20060525174211.46064.qmail@web36315.mail.mud.yahoo.com> <4475F75C.4090908@rogers.com> <447879D3.1070204@WhiteOakLabs.com> In-Reply-To: <447879D3.1070204@WhiteOakLabs.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: performance@freebsd.org Subject: Re: Poor Samba throughput on 6.0 X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 May 2006 17:34:41 -0000 Dr. Rich Murphey wrote: > I get 25 to 30MB/sec between FreeBSD 6.0 and Windows XP > clients with tcp.inflight disabled and interrupt polling enabled > on a 1gb link without jumbo frames. > > The various Linux distributions do about the same on this hardware - > 3ware striped raid arrays, dual xeon, and 2Gb ram. > > in smb.conf I'm using: > socket options = TCP_NODELAY > strict locking = no > use sendfile = yes > Adding the last two options of my setup increased the upload rate by about 2MB/s, with peaks totaling to 20MB/s. The download rate has not been effected however. > 6.1 should be easier to tune in that tcp.inflight is selectively > disabled by default for low latency (LAN) connections. I am using -CURRENT here, disabling net.inet.tcp.inflight improves the download rate by 2MB/s!