From owner-freebsd-questions@FreeBSD.ORG Wed Feb 9 10:41:01 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 63BAE16A4CE for ; Wed, 9 Feb 2005 10:41:01 +0000 (GMT) Received: from hosea.tallye.com (joel.tallye.com [216.99.199.78]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7DE1A43D41 for ; Wed, 9 Feb 2005 10:40:57 +0000 (GMT) (envelope-from lorenl@alzatex.com) Received: from hosea.tallye.com (hosea.tallye.com [127.0.0.1]) by hosea.tallye.com (8.12.8/8.12.10) with ESMTP id j19AenGf020547 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 9 Feb 2005 02:40:49 -0800 Received: (from sttng359@localhost) by hosea.tallye.com (8.12.8/8.12.10/Submit) id j19Aelxb020545; Wed, 9 Feb 2005 02:40:47 -0800 X-Authentication-Warning: hosea.tallye.com: sttng359 set sender to lorenl@alzatex.com using -f Date: Wed, 9 Feb 2005 02:40:47 -0800 From: "Loren M. Lang" To: "Marc G. Fournier" Message-ID: <20050209104047.GN8619@alzatex.com> References: <20050208231208.B94338@ganymede.hub.org> <20050209002232.B94338@ganymede.hub.org> <20050209011528.X94338@ganymede.hub.org> <20050209022929.D94338@ganymede.hub.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050209022929.D94338@ganymede.hub.org> User-Agent: Mutt/1.4.1i X-GPG-Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc X-GPG-Fingerprint: B3B9 D669 69C9 09EC 1BCD 835A FAF3 7A46 E4A3 280C cc: Dan Nelson cc: freebsd-questions@freebsd.org Subject: Re: vinum in 4.x poor performer? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Feb 2005 10:41:01 -0000 On Wed, Feb 09, 2005 at 02:32:30AM -0400, Marc G. Fournier wrote: > > Is there a command that I can run that provide me the syscall/sec value, > that I could use in a script? I know vmstat reports it, but is there an > easier way the having to parse the output? a perl module maybe, that > already does it? vmstat shouldn't be too hard to parse, try the following: vmstat|tail -1|awk '{print $15;}' To print out the 15th field of vmstat. Now if you want vmstat to keep running every five seconds or something, it's a little more complicated: vmstat 5|grep -v 'procs\|avm'|awk '{print $15;}' > > Thanks ... > > On Wed, 9 Feb 2005, Marc G. Fournier wrote: > > >On Tue, 8 Feb 2005, Dan Nelson wrote: > > > >>Details on the array's performance, I think. Software RAID5 will > >>definitely have poor write performance (logging disks solve that > >>problem but vinum doesn't do that), but should have excellent read > >>rates. From this output, however: > >> > >>>systat -v output help: > >>> 4 users Load 4.64 5.58 5.77 > >> > >>>Proc:r p d s w Csw Trp Sys Int Sof Flt > >>> 24 9282 949 8414***** 678 349 8198 > >> > >>>54.6%Sys 0.2%Intr 45.2%User 0.0%Nice 0.0%Idl > >> > >>>Disks da0 da1 da2 da3 da4 pass0 pass1 > >>>KB/t 5.32 9.50 12.52 16.00 9.00 0.00 0.00 > >>>tps 23 2 4 3 1 0 0 > >>>MB/s 0.12 0.01 0.05 0.04 0.01 0.00 0.00 > >>>% busy 3 1 1 1 0 0 0 > >> > >>, it looks like your disks aren't being touched at all. You are doing > >>over 99999 syscalls/second, though, which is mighty high. The 50% Sys > >>doesn't look good either. You may have a runaway process doing some > >>syscall over and over. If this is not an MPSAFE syscall (see > >>/sys/kern/syscalls.master ), it will also prevent other processes from > >>making non-MPSAFE syscalls, and in 4.x that's most of them. > > > >Wow, that actually pointed me in the right direction, I think ... I just > >killed an http process that was using alot of CPU, and syscalls drop'd > >down to a numeric value again ... I'm still curious as to why this only > >seem sto affect my Dual-Xeon box though :( > > > >Thanks ... > > > >---- > >Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) > >Email: scrappy@hub.org Yahoo!: yscrappy ICQ: 7615664 > >_______________________________________________ > >freebsd-questions@freebsd.org mailing list > >http://lists.freebsd.org/mailman/listinfo/freebsd-questions > >To unsubscribe, send any mail to > >"freebsd-questions-unsubscribe@freebsd.org" > > > > ---- > Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) > Email: scrappy@hub.org Yahoo!: yscrappy ICQ: 7615664 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- I sense much NT in you. NT leads to Bluescreen. Bluescreen leads to downtime. Downtime leads to suffering. NT is the path to the darkside. Powerful Unix is. Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc Fingerprint: B3B9 D669 69C9 09EC 1BCD 835A FAF3 7A46 E4A3 280C