From owner-freebsd-performance@FreeBSD.ORG Tue Feb 14 01:25:50 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 0F25516A420 for ; Tue, 14 Feb 2006 01:25:50 +0000 (GMT) (envelope-from bharmaji@gmail.com) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.207]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0BDD543D49 for ; Tue, 14 Feb 2006 01:25:48 +0000 (GMT) (envelope-from bharmaji@gmail.com) Received: by wproxy.gmail.com with SMTP id i27so1060351wra for ; Mon, 13 Feb 2006 17:25:48 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=mr9gLZJWLxTty9jQxYjsIqPjA0QzsB8tXOCzEF0yGcYEg1JG7G11Ti++XtNyLwz+us5IfR3Fc+O1PbBtFVlwiyJvDRpcXFhPbjQVjsO+wJ8LWeiMLe+rPqS+vdrDSK3O00vfPHxlv9UzE+KLuacfnrs2nYcYzuXDcNjPWXAAD7w= Received: by 10.65.126.17 with SMTP id d17mr1405696qbn; Mon, 13 Feb 2006 17:25:48 -0800 (PST) Received: by 10.65.132.5 with HTTP; Mon, 13 Feb 2006 17:25:48 -0800 (PST) Message-ID: <67beabb0602131725le4be43cl101b06eeffb964f4@mail.gmail.com> Date: Mon, 13 Feb 2006 17:25:48 -0800 From: Bharma Ji To: freebsd-performance@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: good profiling tools 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, 14 Feb 2006 01:25:50 -0000 Hi I am lookign for good and reliable profiling tools that work on FreeBSD. I am using gprof but am wondering if there are better tools out there. Also i= s there any GUI on top of gprof Thanks for any answers From owner-freebsd-performance@FreeBSD.ORG Tue Feb 14 01:57:27 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 665F616A420 for ; Tue, 14 Feb 2006 01:57:27 +0000 (GMT) (envelope-from paul.koch@statseeker.com) Received: from wally.statseeker.com (wally.statscout.com [203.39.101.146]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9D6BB43D48 for ; Tue, 14 Feb 2006 01:57:25 +0000 (GMT) (envelope-from paul.koch@statseeker.com) Received: from localhost (localhost [127.0.0.1]) by wally.statseeker.com (8.13.3/8.13.3) with ESMTP id k1E1vObT068949 for ; Tue, 14 Feb 2006 11:57:24 +1000 (EST) (envelope-from paul.koch@statseeker.com) Received: from wally.statseeker.com ([127.0.0.1]) by localhost (wally.statseeker.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 67984-10 for ; Tue, 14 Feb 2006 11:57:16 +1000 (EST) Received: from speedy (CPE-139-168-174-103.qld.bigpond.net.au [139.168.174.103]) (authenticated bits=0) by wally.statseeker.com (8.13.3/8.13.3) with ESMTP id k1E1v7fI068938 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT) for ; Tue, 14 Feb 2006 11:57:14 +1000 (EST) (envelope-from paul.koch@statseeker.com) From: Paul Koch To: freebsd-performance@freebsd.org Date: Tue, 14 Feb 2006 11:56:55 +1000 User-Agent: KMail/1.8 References: <67beabb0602131725le4be43cl101b06eeffb964f4@mail.gmail.com> In-Reply-To: <67beabb0602131725le4be43cl101b06eeffb964f4@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200602141156.55763.paul.koch@statseeker.com> X-Virus-Scanned: amavisd-new at statseeker.com Subject: Re: good profiling tools X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: paul.koch@statseeker.com List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Feb 2006 01:57:27 -0000 On Tue, 14 Feb 2006 11:25 am, Bharma Ji wrote: > Hi > I am lookign for good and reliable profiling tools that work on > FreeBSD. I am using gprof but am wondering if there are better tools > out there. Also is there any GUI on top of gprof > Thanks for any answers In our development environment, we currently use: - gcc with every possible warning turned on (-Wall is not enough) - gprof for function level profiling - dmalloc for memory leak detection - valgrind (doesn't work on FreeBSD-64 though) - cachegrind (part of valgrind) for cache hit/miss profiling Paul. From owner-freebsd-performance@FreeBSD.ORG Tue Feb 14 02:02:07 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 DE7E716A420 for ; Tue, 14 Feb 2006 02:02:07 +0000 (GMT) (envelope-from joseph.koshy@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.206]) by mx1.FreeBSD.org (Postfix) with ESMTP id 71A4943D45 for ; Tue, 14 Feb 2006 02:02:07 +0000 (GMT) (envelope-from joseph.koshy@gmail.com) Received: by xproxy.gmail.com with SMTP id s7so781009wxc for ; Mon, 13 Feb 2006 18:02:07 -0800 (PST) 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=Dt2UQUKEBu/eubZYMSag6SLCgiL7cuvOPTHrGUw10nLCx5T8+4jfGR5xurMCWkN1umOrpzhZHjoY7t2VW867l1pmI3buOgM0pJQAJcVtiFrYVSvZWP0LnZG6sHRXkMCnb3+TWt86OoF1rB2c6PJFcTSKueHjjaWL+wJj+pX0Td4= Received: by 10.70.118.17 with SMTP id q17mr3283191wxc; Mon, 13 Feb 2006 18:02:06 -0800 (PST) Received: by 10.70.116.10 with HTTP; Mon, 13 Feb 2006 18:02:06 -0800 (PST) Message-ID: <84dead720602131802hcfbffb0qb24e4948cbe494c4@mail.gmail.com> Date: Tue, 14 Feb 2006 07:32:06 +0530 From: Joseph Koshy To: Bharma Ji In-Reply-To: <67beabb0602131725le4be43cl101b06eeffb964f4@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <67beabb0602131725le4be43cl101b06eeffb964f4@mail.gmail.com> Cc: freebsd-performance@freebsd.org Subject: Re: good profiling tools 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, 14 Feb 2006 02:02:08 -0000 bj> I am lookign for good and reliable profiling tools that work bj> on FreeBSD. What is wrong with the current tools? bj> Also is bj> there any GUI on top of gprof Kprof -- http://kprof.sourceforge.net/ There are probably others too. -- FreeBSD Volunteer, http://people.freebsd.org/~jkoshy From owner-freebsd-performance@FreeBSD.ORG Sat Feb 18 10:04:53 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 C579F16A420 for ; Sat, 18 Feb 2006 10:04:53 +0000 (GMT) (envelope-from kthawan@gmail.com) Received: from nproxy.gmail.com (nproxy.gmail.com [64.233.182.204]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1F0A843D62 for ; Sat, 18 Feb 2006 10:04:51 +0000 (GMT) (envelope-from kthawan@gmail.com) Received: by nproxy.gmail.com with SMTP id l35so407660nfa for ; Sat, 18 Feb 2006 02:04:50 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=hbzlUK3R8bxsikeZZFwP073GQvX3l2Pw8eZaLMgyKvzWLHmQJMraJNHBaVdEYoY7r7vDczCMa4Mp7SBpELX/bKofewfniG2FLvdM6bwsA9XAEALcrgKpXjTke5PJVs1+albKIWEc5VHyIEOx6RhoqWbpU8Yq/4gUJycZMBa5bMk= Received: by 10.49.2.4 with SMTP id e4mr669807nfi; Sat, 18 Feb 2006 02:04:50 -0800 (PST) Received: by 10.48.239.7 with HTTP; Sat, 18 Feb 2006 02:04:50 -0800 (PST) Message-ID: <7ff80ef30602180204s54cd69afy9c4c11a297ea31a4@mail.gmail.com> Date: Sat, 18 Feb 2006 17:04:50 +0700 From: "Thawan Kooburat" To: freebsd-performance@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: Increase process number in FreeBSD 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, 18 Feb 2006 10:04:53 -0000 Hi I am using FreeBSD 6.0. My course assignment required me to increase process number running on a system. I have already modify /boot/loader.conf on following parameters kern.maxusers =3D 384 kern.maxproc =3D 50000 kern.maxprocperuid =3D 50000 But after reboot maxproc and maxprocperuid is only 5278 and 4755 respectively. From my research maxproc is calculated from maxusers, but i think my maxproc number is limited by other factors as well. Are there any suggestion to this problem without increasing RAM? My system is running on VMware and 256 MB of RAM available. The test program create process by using fork() and child processes is put to sleep() immediately after its creation. Thanks