From owner-freebsd-smp Mon Oct 4 10:44:29 1999 Delivered-To: freebsd-smp@freebsd.org Received: from thomson.iqm.unicamp.br (thomson.iqm.unicamp.br [143.106.13.161]) by hub.freebsd.org (Postfix) with ESMTP id 58653154F6 for ; Mon, 4 Oct 1999 10:44:22 -0700 (PDT) (envelope-from fabio@thomson.iqm.unicamp.br) Received: (from fabio@localhost) by thomson.iqm.unicamp.br (8.9.3/8.9.2) id PAA12343; Mon, 4 Oct 1999 15:44:18 -0200 (EDT) (envelope-from fabio) From: Fabio Cesar Gozzo Message-Id: <199910041744.PAA12343@thomson.iqm.unicamp.br> Subject: SMP improvements in current To: smp@FreeBSD.ORG Date: Mon, 4 Oct 1999 15:44:18 -0200 (EDT) Cc: fabio@iqm.unicamp.br X-Mailer: ELM [version 2.4ME+ PL43 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I just built another SMP box (ASUS P2B-DS, 2x550, 512 MB RAM) to use with FP intensive non-threaded programs. In a normal situation I run 2 jobs at once and top looks like: PID USERNAME PRI NICE SIZE RES STATE C TIME WCPU CPU COMMAND 8495 fabio 97 0 118M 14644K RUN 0 40:30 98.97% 98.97% l502.exe 95064 fabio 97 0 270M 26700K CPU1 1 249:30 98.93% 98.93% l502.exe 8558 fabio 28 0 1572K 828K CPU0 1 0:00 1.54% 0.15% top IIRC, a simple CPU affinity was implemented in -current and, if I understood it correctly, it could improve the calculations by attaching the program to one CPU, and, most important, to one cache. Is that correct ? Are there other SMP improvements in -current that would speed up this kind of programs ? Thank you. PS: before someone asks, yes, I'm aware of the problems -current can cause on a production machine. I have already use SMP under -current in pre-3.0 times. -- ************************************************** Fabio Gozzo fabio@iqm.unicamp.br State University of Campinas UNICAMP Chemistry Institute http://thomson.iqm.unicamp.br ************************************************** To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message