From owner-freebsd-performance@FreeBSD.ORG Mon Sep 26 07:42:25 2005 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 B2F5016A41F for ; Mon, 26 Sep 2005 07:42:25 +0000 (GMT) (envelope-from gofp-freebsd-performance@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3FE8143D55 for ; Mon, 26 Sep 2005 07:42:24 +0000 (GMT) (envelope-from gofp-freebsd-performance@m.gmane.org) Received: from root by ciao.gmane.org with local (Exim 4.43) id 1EJnbT-0005fh-RP for freebsd-performance@freebsd.org; Mon, 26 Sep 2005 09:40:47 +0200 Received: from r5k120.chello.upc.cz ([86.49.10.120]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 26 Sep 2005 09:40:47 +0200 Received: from martinkov by r5k120.chello.upc.cz with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 26 Sep 2005 09:40:47 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-performance@freebsd.org From: martinko Date: Mon, 26 Sep 2005 09:25:43 +0200 Lines: 26 Message-ID: <4337A277.4060200@pobox.sk> References: <20050922214709.Q50836@zoraida.natserv.net> <84dead7205092219023228cdf5@mail.gmail.com> <20050923080435.J58927@zoraida.natserv.net> <20050923122011.GV33413@yahoo-inc.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: r5k120.chello.upc.cz User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.12) Gecko/20050925 X-Accept-Language: sk, cs, en-gb, en-us, en In-Reply-To: <20050923122011.GV33413@yahoo-inc.com> Sender: news X-Mailman-Approved-At: Mon, 26 Sep 2005 11:34:20 +0000 Subject: Re: Finding what's causing I/O 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: Mon, 26 Sep 2005 07:42:25 -0000 Shanker Balan wrote: > Hello, > > Francisco Reyes wrote, > >>On Fri, 23 Sep 2005, Joseph Koshy wrote: >> >> >>>>Is there a way to find out which program(s) are causing the I/O? >>> >>>ktrace(8); you can use it to trace all descendants of 'init'. >> >>Looking at the man page it's non-obvious how to use it (to me). >> >> >>Specially it seems one needs to indicate a pid or a command. How do I >>trace all programs? > > > See top(1): > > m Toggle the display between 'cpu' and 'io' modes. > well, thanks for the switch. i couldn't find any description/explanation of/on the columns (VCSW,..) in top(1) man page, though. :( From owner-freebsd-performance@FreeBSD.ORG Tue Sep 27 01:48:24 2005 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 77FB316A41F for ; Tue, 27 Sep 2005 01:48:24 +0000 (GMT) (envelope-from tom.hurst@clara.net) Received: from spork.qfe3.net (spork.qfe3.net [212.13.207.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0DDE543D49 for ; Tue, 27 Sep 2005 01:48:23 +0000 (GMT) (envelope-from tom.hurst@clara.net) Received: from [81.104.55.176] (helo=voi.aagh.net) by spork.qfe3.net with esmtp (Exim 4.52 (FreeBSD)) id 1EK4Zy-000Mrr-5i; Tue, 27 Sep 2005 02:48:22 +0100 Received: from freaky by voi.aagh.net with local (Exim 4.52 (FreeBSD)) id 1EK4Zx-000PWo-Kj; Tue, 27 Sep 2005 02:48:21 +0100 Date: Tue, 27 Sep 2005 02:48:21 +0100 From: Thomas Hurst To: martinko Message-ID: <20050927014821.GA96389@voi.aagh.net> Mail-Followup-To: martinko , freebsd-performance@freebsd.org References: <20050922214709.Q50836@zoraida.natserv.net> <84dead7205092219023228cdf5@mail.gmail.com> <20050923080435.J58927@zoraida.natserv.net> <20050923122011.GV33413@yahoo-inc.com> <4337A277.4060200@pobox.sk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4337A277.4060200@pobox.sk> Organization: Not much. User-Agent: Mutt/1.5.11 Sender: Thomas Hurst X-RBL-Warning: 81.104.55.176 is in RBL blacklist at dnsbl.sorbs.net Cc: freebsd-performance@freebsd.org Subject: Re: Finding what's causing I/O 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: Tue, 27 Sep 2005 01:48:24 -0000 * martinko (martinkov@pobox.sk) wrote: > well, thanks for the switch. i couldn't find any > description/explanation of/on the columns (VCSW,..) in top(1) man > page, though. :( VCSW = Voluntary Context Switch IVCSW = Involuntary Context Switch A very nice article on the meaning of these is here: http://www.informit.com/articles/article.asp?p=366888&seqNum=3&rl=1 -- Thomas 'Freaky' Hurst http://hur.st/ From owner-freebsd-performance@FreeBSD.ORG Tue Sep 27 02:02:26 2005 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 0645F16A41F for ; Tue, 27 Sep 2005 02:02:26 +0000 (GMT) (envelope-from francisco@natserv.net) Received: from zoraida.natserv.net (p65-147.acedsl.com [66.114.65.147]) by mx1.FreeBSD.org (Postfix) with ESMTP id A616B43D48 for ; Tue, 27 Sep 2005 02:02:25 +0000 (GMT) (envelope-from francisco@natserv.net) Received: from localhost (localhost.natserv.net [127.0.0.1]) by zoraida.natserv.net (Postfix) with ESMTP id 3A7727DFA; Mon, 26 Sep 2005 22:02:24 -0400 (EDT) Date: Mon, 26 Sep 2005 22:02:24 -0400 (EDT) From: Francisco Reyes X-X-Sender: fran@zoraida.natserv.net To: Chuck Swiger In-Reply-To: <433370E4.8060708@mac.com> Message-ID: <20050926215928.R99792@zoraida.natserv.net> References: <63f9d26505090417183dff415e@mail.gmail.com> <431C683B.1080803@mac.com> <20050922215326.B50836@zoraida.natserv.net> <433370E4.8060708@mac.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Mailman-Approved-At: Tue, 27 Sep 2005 12:20:58 +0000 Cc: Jeff Tchang , freebsd-performance@freebsd.org Subject: Re: 3Ware 7500-4 Slow X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: francisco@natserv.net List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Sep 2005 02:02:26 -0000 On Thu, 22 Sep 2005, Chuck Swiger wrote: > So-so. RAID-5 is okay on a IMAP reader box, it's not so good for a pure SMTP > relay, especially one that does virus scanning. For our SMTP I think we will have "small" machines with RAID-1 > If your DB claims to support a RAID-5 Will check. Will be using PostgreSQL. > Better for small writes? Never. > Although good hardware and lots of RAM to cache with can help a lot. I inheritted a number of machines. I asked the owner and the controller they got was with 2GB >> How about RAID 10 for a DB server? > > This is a much better choice, close to ideal. When the time comes I will try to do the argument to the owner. From owner-freebsd-performance@FreeBSD.ORG Tue Sep 27 02:04:02 2005 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 9D8AA16A41F for ; Tue, 27 Sep 2005 02:04:02 +0000 (GMT) (envelope-from francisco@natserv.net) Received: from zoraida.natserv.net (p65-147.acedsl.com [66.114.65.147]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3C4CF43D53 for ; Tue, 27 Sep 2005 02:04:00 +0000 (GMT) (envelope-from francisco@natserv.net) Received: from localhost (localhost.natserv.net [127.0.0.1]) by zoraida.natserv.net (Postfix) with ESMTP id 9E4907D96; Mon, 26 Sep 2005 22:03:59 -0400 (EDT) Date: Mon, 26 Sep 2005 22:03:59 -0400 (EDT) From: Francisco Reyes X-X-Sender: fran@zoraida.natserv.net To: Eric Anderson In-Reply-To: <4333F5E5.80709@centtech.com> Message-ID: <20050926220305.V99792@zoraida.natserv.net> References: <63f9d26505090417183dff415e@mail.gmail.com> <431C683B.1080803@mac.com> <20050922215326.B50836@zoraida.natserv.net> <4333F5E5.80709@centtech.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Mailman-Approved-At: Tue, 27 Sep 2005 12:20:58 +0000 Cc: Jeff Tchang , freebsd-performance@freebsd.org Subject: Re: 3Ware 7500-4 Slow X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: francisco@natserv.net List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Sep 2005 02:04:02 -0000 On Fri, 23 Sep 2005, Eric Anderson wrote: > I bought the array here: > http://www.acnc.com The biggest RAID-5 we have is on one of those boxes. So far has performed very well for us. From owner-freebsd-performance@FreeBSD.ORG Tue Sep 27 12:31:26 2005 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 3756216A41F; Tue, 27 Sep 2005 12:31:26 +0000 (GMT) (envelope-from is@rambler-co.ru) Received: from yam.park.rambler.ru (yam.park.rambler.ru [81.19.64.116]) by mx1.FreeBSD.org (Postfix) with ESMTP id 64CBA43D5A; Tue, 27 Sep 2005 12:31:24 +0000 (GMT) (envelope-from is@rambler-co.ru) Received: from is.park.rambler.ru (is.park.rambler.ru [81.19.64.102]) by yam.park.rambler.ru (8.13.3/8.13.3) with ESMTP id j8RCVMhF063409; Tue, 27 Sep 2005 16:31:22 +0400 (MSD) (envelope-from is@rambler-co.ru) Date: Tue, 27 Sep 2005 16:31:22 +0400 (MSD) From: Igor Sysoev X-X-Sender: is@is.park.rambler.ru To: Xin LI In-Reply-To: <1127101042.788.30.camel@spirit> Message-ID: <20050927162014.M65594@is.park.rambler.ru> References: <1127101042.788.30.camel@spirit> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-performance@freebsd.org, freebsd-arch@freebsd.org Subject: Re: Combine more operation within one system call: to do it, or not to do it? 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: Tue, 27 Sep 2005 12:31:26 -0000 On Mon, 19 Sep 2005, Xin LI wrote: > It seems that Microsoft has recently revised several of their APIs. One > example is their ConnectEx(), as found in documentation [1]. The > implementation is not so complex that it just combines more operation > within one system call, however, this can reduce some unnecessary > context switches as it's now possible to do more things within one > system call. (For instance, when you connect to a server, you usually > want to send some data as request). > > Shall we do something similar? Or do we already done something similar? > > [1] > http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winsock/winsock/connectex_2.asp Actually, ConnectEx() was implemented to allow to post an asynchronous connect operations to the i/o completion ports. There is no API to implement high perfomance proxy in Windows NT and 2000. You have to use non-blocking connect() and then pass the socket to special helper threads that wait in WSAWaitForMultipleEvents() when the sockets would be connected. Each thread could handle up to 63 sockets only. Igor Sysoev http://sysoev.ru/en/ From owner-freebsd-performance@FreeBSD.ORG Tue Sep 27 14:36:36 2005 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 855D216A41F for ; Tue, 27 Sep 2005 14:36:36 +0000 (GMT) (envelope-from pete@he.iki.fi) Received: from rms06.rommon.net (rms06.rommon.net [212.54.5.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 305EE43D49 for ; Tue, 27 Sep 2005 14:36:35 +0000 (GMT) (envelope-from pete@he.iki.fi) Received: from [195.163.185.139] (i2-139.rommon.fi [195.163.185.139]) by rms06.rommon.net (Postfix) with ESMTP id 3A87133C1B for ; Tue, 27 Sep 2005 17:36:26 +0300 (EEST) Message-ID: <433958EC.4080906@he.iki.fi> Date: Tue, 27 Sep 2005 17:36:28 +0300 From: Petri Helenius User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-performance@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: increasing buffer cache 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: Tue, 27 Sep 2005 14:36:36 -0000 What are the parameters that need to be tuned on amd64 platform to get, say 1-1.5G buffer cache? Pete From owner-freebsd-performance@FreeBSD.ORG Tue Sep 27 21:12:43 2005 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 4C66516A41F for ; Tue, 27 Sep 2005 21:12:43 +0000 (GMT) (envelope-from martinkov@pobox.sk) Received: from smtp.dkm.cz (smtp.dkm.cz [62.24.64.34]) by mx1.FreeBSD.org (Postfix) with SMTP id BF87043D7F for ; Tue, 27 Sep 2005 21:12:36 +0000 (GMT) (envelope-from martinkov@pobox.sk) Received: (qmail 8569 invoked by uid 0); 27 Sep 2005 21:12:35 -0000 Received: from r5k115.chello.upc.cz (HELO ?86.49.10.115?) (86.49.10.115) by smtp.dkm.cz with SMTP; 27 Sep 2005 21:12:35 -0000 Message-ID: <4339B5C3.4050703@pobox.sk> Date: Tue, 27 Sep 2005 23:12:35 +0200 From: martinko User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.12) Gecko/20050925 X-Accept-Language: sk, cs, en-gb, en-us, en MIME-Version: 1.0 Newsgroups: gmane.os.freebsd.performance To: Thomas Hurst X-Priority: 4 (Low) References: <20050922214709.Q50836@zoraida.natserv.net> <84dead7205092219023228cdf5@mail.gmail.com> <20050923080435.J58927@zoraida.natserv.net> <20050923122011.GV33413@yahoo-inc.com> <4337A277.4060200@pobox.sk> <20050927014821.GA96389@voi.aagh.net> In-Reply-To: <20050927014821.GA96389@voi.aagh.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-performance@freebsd.org Subject: Re: Finding what's causing I/O 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: Tue, 27 Sep 2005 21:12:43 -0000 Thomas Hurst wrote: > * martinko (martinkov@pobox.sk) wrote: > > >>well, thanks for the switch. i couldn't find any >>description/explanation of/on the columns (VCSW,..) in top(1) man >>page, though. :( > > > VCSW = Voluntary Context Switch > IVCSW = Involuntary Context Switch > > A very nice article on the meaning of these is here: > > http://www.informit.com/articles/article.asp?p=366888&seqNum=3&rl=1 > many thanks! From owner-freebsd-performance@FreeBSD.ORG Tue Sep 27 21:25:02 2005 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 0AD7F16A41F for ; Tue, 27 Sep 2005 21:25:02 +0000 (GMT) (envelope-from gofp-freebsd-performance@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 80AE543D53 for ; Tue, 27 Sep 2005 21:25:01 +0000 (GMT) (envelope-from gofp-freebsd-performance@m.gmane.org) Received: from root by ciao.gmane.org with local (Exim 4.43) id 1EKMsp-0006Qq-Bc for freebsd-performance@freebsd.org; Tue, 27 Sep 2005 23:21:03 +0200 Received: from r5k115.chello.upc.cz ([86.49.10.115]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 27 Sep 2005 23:21:03 +0200 Received: from martinkov by r5k115.chello.upc.cz with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 27 Sep 2005 23:21:03 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-performance@freebsd.org From: martinko Date: Tue, 27 Sep 2005 23:12:35 +0200 Lines: 18 Message-ID: <4339B5C3.4050703@pobox.sk> References: <20050922214709.Q50836@zoraida.natserv.net> <84dead7205092219023228cdf5@mail.gmail.com> <20050923080435.J58927@zoraida.natserv.net> <20050923122011.GV33413@yahoo-inc.com> <4337A277.4060200@pobox.sk> <20050927014821.GA96389@voi.aagh.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org Cc: freebsd-performance@freebsd.org X-Gmane-NNTP-Posting-Host: r5k115.chello.upc.cz User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.12) Gecko/20050925 X-Accept-Language: sk, cs, en-gb, en-us, en In-Reply-To: <20050927014821.GA96389@voi.aagh.net> Sender: news Subject: Re: Finding what's causing I/O 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: Tue, 27 Sep 2005 21:25:02 -0000 Thomas Hurst wrote: > * martinko (martinkov@pobox.sk) wrote: > > >>well, thanks for the switch. i couldn't find any >>description/explanation of/on the columns (VCSW,..) in top(1) man >>page, though. :( > > > VCSW = Voluntary Context Switch > IVCSW = Involuntary Context Switch > > A very nice article on the meaning of these is here: > > http://www.informit.com/articles/article.asp?p=366888&seqNum=3&rl=1 > many thanks! From owner-freebsd-performance@FreeBSD.ORG Wed Sep 28 19:38:24 2005 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 D976116A46A for ; Wed, 28 Sep 2005 19:38:24 +0000 (GMT) (envelope-from lists@natserv.com) Received: from zoraida.natserv.net (p65-147.acedsl.com [66.114.65.147]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7704243D58 for ; Wed, 28 Sep 2005 19:38:24 +0000 (GMT) (envelope-from lists@natserv.com) Received: from localhost (localhost.natserv.net [127.0.0.1]) by zoraida.natserv.net (Postfix) with ESMTP id 3CA757D9F; Wed, 28 Sep 2005 15:38:23 -0400 (EDT) Date: Wed, 28 Sep 2005 15:38:23 -0400 (EDT) From: Francisco Reyes X-X-Sender: fran@zoraida.natserv.net To: Eric Anderson In-Reply-To: <4333F3B4.600@centtech.com> Message-ID: <20050928153649.U52985@zoraida.natserv.net> References: <15412.1126634818@www56.gmx.net> <20050922214142.N50836@zoraida.natserv.net> <43336294.2020403@centtech.com> <20050923080227.T58927@zoraida.natserv.net> <4333F3B4.600@centtech.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: FreeBSD Performance Subject: Re: High load average mail server 5.3-RELEASE 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: Wed, 28 Sep 2005 19:38:25 -0000 On Fri, 23 Sep 2005, Eric Anderson wrote: > Use the -n flag to nfsd, so in /etc/rc.conf: > > nfs_server_flags="-u -t -n 1024" Working on the nfs server today. How about the "-r" flag? It is the default. Is it not needed? The man page says "-r" Register the NFS service with rpcbind(8) without creating any servers. That really doesn't say anything to me. :-( From owner-freebsd-performance@FreeBSD.ORG Wed Sep 28 19:57:52 2005 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 C41CD16A41F for ; Wed, 28 Sep 2005 19:57:52 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from mh2.centtech.com (moat3.centtech.com [207.200.51.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5B4A043D4C for ; Wed, 28 Sep 2005 19:57:51 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from [10.177.171.220] (neutrino.centtech.com [10.177.171.220]) by mh2.centtech.com (8.13.1/8.13.1) with ESMTP id j8SJvoig011272; Wed, 28 Sep 2005 14:57:50 -0500 (CDT) (envelope-from anderson@centtech.com) Message-ID: <433AF5B7.8010906@centtech.com> Date: Wed, 28 Sep 2005 14:57:43 -0500 From: Eric Anderson User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.11) Gecko/20050914 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Francisco Reyes References: <15412.1126634818@www56.gmx.net> <20050922214142.N50836@zoraida.natserv.net> <43336294.2020403@centtech.com> <20050923080227.T58927@zoraida.natserv.net> <4333F3B4.600@centtech.com> <20050928153649.U52985@zoraida.natserv.net> In-Reply-To: <20050928153649.U52985@zoraida.natserv.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.82/1103/Wed Sep 28 11:48:20 2005 on mh2.centtech.com X-Virus-Status: Clean Cc: FreeBSD Performance Subject: Re: High load average mail server 5.3-RELEASE 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: Wed, 28 Sep 2005 19:57:52 -0000 Francisco Reyes wrote: > On Fri, 23 Sep 2005, Eric Anderson wrote: > >> Use the -n flag to nfsd, so in /etc/rc.conf: >> >> nfs_server_flags="-u -t -n 1024" > > > Working on the nfs server today. > How about the "-r" flag? It is the default. Is it not needed? > > The man page says "-r" > Register the NFS service with rpcbind(8) without creating any servers. > > > That really doesn't say anything to me. :-( That is really for re-registering. Say rpcbind died, and needed restarting. If you restart rpcbind, you would need to re-register the mountd and nfsd services with it. You want to ignore the -r option for rc.conf usage. Keep in mind that 5-STABLE, and 6.x (and -CURRENT) have a max of 256 nfsd's, so if you want to go higher, you have to modify a line in nfsd.c. Eric -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology Anything that works is better than anything that doesn't. ------------------------------------------------------------------------ From owner-freebsd-performance@FreeBSD.ORG Wed Sep 28 20:27:59 2005 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 240CF16A41F for ; Wed, 28 Sep 2005 20:27:59 +0000 (GMT) (envelope-from lists@natserv.com) Received: from zoraida.natserv.net (p65-147.acedsl.com [66.114.65.147]) by mx1.FreeBSD.org (Postfix) with ESMTP id C485643D49 for ; Wed, 28 Sep 2005 20:27:58 +0000 (GMT) (envelope-from lists@natserv.com) Received: from localhost (localhost.natserv.net [127.0.0.1]) by zoraida.natserv.net (Postfix) with ESMTP id E500E7DD0; Wed, 28 Sep 2005 16:27:57 -0400 (EDT) Date: Wed, 28 Sep 2005 16:27:57 -0400 (EDT) From: Francisco Reyes X-X-Sender: fran@zoraida.natserv.net To: Eric Anderson In-Reply-To: <433AF5B7.8010906@centtech.com> Message-ID: <20050928160821.N52985@zoraida.natserv.net> References: <15412.1126634818@www56.gmx.net> <20050922214142.N50836@zoraida.natserv.net> <43336294.2020403@centtech.com> <20050923080227.T58927@zoraida.natserv.net> <4333F3B4.600@centtech.com> <20050928153649.U52985@zoraida.natserv.net> <433AF5B7.8010906@centtech.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: FreeBSD Performance Subject: Re: High load average mail server 5.3-RELEASE 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: Wed, 28 Sep 2005 20:27:59 -0000 On Wed, 28 Sep 2005, Eric Anderson wrote: > Keep in mind that 5-STABLE, and 6.x (and -CURRENT) have a max of 256 nfsd's, > so if you want to go higher, you have to modify a line in nfsd.c. So far only a handfull of clients are expected. I am going to start at 10. :-) Other than "killall -9 nfsd" is there any other way to restart nfsd? On another thread you mentioned the rsize and wsize and that they should go in the fstab at the client. I got the parameters to work based on a doc on the web, but was wondering about size. 32K a good parameter for an IMAP machine? The setup will be a mail storage server with 3 to 5 machines running Courier IMAP and connecting to a shared mail folder over NFS. Thanks for all your feedback. From owner-freebsd-performance@FreeBSD.ORG Thu Sep 29 03:43:16 2005 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 73BCF16A41F for ; Thu, 29 Sep 2005 03:43:16 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from mh2.centtech.com (moat3.centtech.com [207.200.51.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id B7C0643D48 for ; Thu, 29 Sep 2005 03:43:15 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from [192.168.42.23] (andersonbox3.centtech.com [192.168.42.23]) by mh2.centtech.com (8.13.1/8.13.1) with ESMTP id j8T3hEed017961; Wed, 28 Sep 2005 22:43:15 -0500 (CDT) (envelope-from anderson@centtech.com) Message-ID: <433B62CB.2010807@centtech.com> Date: Wed, 28 Sep 2005 22:43:07 -0500 From: Eric Anderson User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.11) Gecko/20050914 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Francisco Reyes References: <15412.1126634818@www56.gmx.net> <20050922214142.N50836@zoraida.natserv.net> <43336294.2020403@centtech.com> <20050923080227.T58927@zoraida.natserv.net> <4333F3B4.600@centtech.com> <20050928153649.U52985@zoraida.natserv.net> <433AF5B7.8010906@centtech.com> <20050928160821.N52985@zoraida.natserv.net> In-Reply-To: <20050928160821.N52985@zoraida.natserv.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.82/1104/Wed Sep 28 17:20:40 2005 on mh2.centtech.com X-Virus-Status: Clean Cc: FreeBSD Performance Subject: Re: High load average mail server 5.3-RELEASE 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, 29 Sep 2005 03:43:16 -0000 Francisco Reyes wrote: > On Wed, 28 Sep 2005, Eric Anderson wrote: > >> Keep in mind that 5-STABLE, and 6.x (and -CURRENT) have a max of 256 >> nfsd's, so if you want to go higher, you have to modify a line in nfsd.c. > > > So far only a handfull of clients are expected. I am going to start at > 10. :-) > > Other than "killall -9 nfsd" is there any other way to restart nfsd? /etc/rc.d/nfsd restart > On another thread you mentioned the rsize and wsize and that they should > go in the fstab at the client. I got the parameters to work based on a > doc on the web, but was wondering about size. 32K a good parameter for > an IMAP machine? Yes, that should work just fine for you. You may also want to mount the filesystem being shared via NFS on the server with the 'noatime' option. > The setup will be a mail storage server with 3 to 5 machines running > Courier IMAP and connecting to a shared mail folder over NFS. Should be no problem then. So far, I have had great performance with the 5-STABLE branch and 6- branch of FreeBSD for NFS serving. For an IMAP mail store, FreeBSD's near-out-of-box configuration (with the tweaks we've already talked about) should work wonders. Eric -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology Anything that works is better than anything that doesn't. ------------------------------------------------------------------------