From owner-freebsd-questions Thu May 17 16:30:58 2001 Delivered-To: freebsd-questions@freebsd.org Received: from obsecurity.dyndns.org (adsl-63-207-60-32.dsl.lsan03.pacbell.net [63.207.60.32]) by hub.freebsd.org (Postfix) with ESMTP id EE25F37B423 for ; Thu, 17 May 2001 16:30:55 -0700 (PDT) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 6220A66C8C; Thu, 17 May 2001 16:30:55 -0700 (PDT) Date: Thu, 17 May 2001 16:30:55 -0700 From: Kris Kennaway To: Kenneth Wayne Culver Cc: "Jon O." , freebsd-questions@FreeBSD.ORG Subject: Re: FreeBSD benchmark question Message-ID: <20010517163055.A58216@xor.obsecurity.org> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="6TrnltStXW4iwmi0" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from culverk@wam.umd.edu on Thu, May 17, 2001 at 05:19:13PM -0400 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: X-Loop: FreeBSD.ORG --6TrnltStXW4iwmi0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, May 17, 2001 at 05:19:13PM -0400, Kenneth Wayne Culver wrote: > you could make a script that calls the program, finds its pid, then > renices it to a better priority. Just run it under nice(1) from the start. Also, note that the CPU usage and load averages may be calculated differently in FreeBSD vs Linux (different method of weighting the average, etc). Just because ps shows the process using 75% CPU, that doesn't necessarily mean it's only running 75% of the time; the weighted average just might not have caught up yet. The weighting is done to give some stability to the numbers; if they were only "instantaneous" CPU usage figures then they'd be oscillating around wildly. Kris --6TrnltStXW4iwmi0 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.5 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE7BF8uWry0BWjoQKURAjnrAKCF/Opvybz9yShOksmckr3/vo2u7QCg/RJH ks95wsBxh1UnnNnBsG+JJEk= =xxUW -----END PGP SIGNATURE----- --6TrnltStXW4iwmi0-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message