From owner-freebsd-questions Sun Oct 24 15:18:40 1999 Delivered-To: freebsd-questions@freebsd.org Received: from revolution.3-cities.com (revolution.3-cities.com [204.203.224.155]) by hub.freebsd.org (Postfix) with ESMTP id ED3AD14A21 for ; Sun, 24 Oct 1999 15:18:37 -0700 (PDT) (envelope-from kstewart@3-cities.com) Received: from 3-cities.com (kenn1050.bossig.com [208.26.241.50]) by revolution.3-cities.com (8.9.3/8.9.3) with ESMTP id PAA13259; Sun, 24 Oct 1999 15:18:27 -0700 (PDT) Message-ID: <38138590.728CF896@3-cities.com> Date: Sun, 24 Oct 1999 15:17:52 -0700 From: Kent Stewart Organization: BOSSig X-Mailer: Mozilla 4.7 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: "Andrew L. Neporada" Cc: freebsd-questions@FreeBSD.ORG Subject: Re: 3.3-STABLE : Performance problems?? References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG "Andrew L. Neporada" wrote: > > Hi All! > For a long time I participate in one distributed computational project ( > see http://www.mersenne.org for details). So I'am running a special > program at low priority (nice=20), that utilizes all CPU power. > After upgrading from 3.1-RELEASE to 3.3-STABLE I've noticed that average > performance (averaging period is big enough to eliminate impact from > other tasks ) of this programm is only 77% from measured > performance on 3.1R and same hardware. I also notice some strange thing: > top shows about 30% 'interrupt' at CPU states line. > Maybe someone could help me to find out what happens? > Any help would be greatly appreciated. I use IDE drives and I have to set the flags for my hardrives to 0xa0ffa0ff after each cvsup and build world or upgrade. The default GENERIC is changed and I re-create my kernel configuration file. This doesn't apply if you have scsi drives but high IDE usage can cause a significant increase in the interrupt rate if the 32-bit transfers, DMA, and sector read ahead isn't specified. I also see a factor of 4 faster transfer rate off of my IDE HD's after I boot with the flags set. Kent > Andrew. > > Technical details: > System - Pentium 120, 32M memory. > > uname -a output : FreeBSD sign.chg.ru 3.3-STABLE FreeBSD 3.3-STABLE #0: > Fri Oct 22 06:30:20 MSD 1999 andrew@sign.chg.ru:/usr/src/sys/compile/SIGN_221099 i386 > > top output: > > last pid: 7505; load averages: 1.11, 1.07, 1.01 up 2+18:55:53 01:30:48 > 40 processes: 2 running, 38 sleeping > CPU states: 0.0% user, 61.2% nice, 0.4% system, 38.5% interrupt, 0.0% idle > Mem: 9852K Active, 5340K Inact, 9044K Wired, 3276K Cache, 3458K Buf, 2444K Free > Swap: 128M Total, 2672K Used, 125M Free, 2% Inuse > PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND > 255 root 105 20 17884K 2244K RUN 66.5H 98.39% 98.39% mprime > 131 root 2 -12 1060K 584K select 2:39 0.00% 0.00% xntpd > 262 root 2 0 1112K 624K select 1:08 0.00% 0.00% sshd1 > 251 root 2 0 1600K 676K select 0:51 0.00% 0.00% httpd > 7288 root 2 0 1444K 1140K select 0:10 0.00% 0.00% sshd1 > 197 root 2 0 1308K 652K select 0:08 0.00% 0.00% sendmail > 193 root 10 0 992K 456K nanslp 0:06 0.00% 0.00% cron > 124 root 2 0 828K 436K select 0:05 0.00% 0.00% syslogd > 7382 root 2 0 1444K 1140K select 0:05 0.00% 0.00% sshd1 > [......] > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- Kent Stewart Richland, WA mailto:kstewart@3-cities.com http://www.3-cities.com/~kstewart/index.html http://daily.daemonnews.org/ SETI (Search for Extraterrestrial Intelligence) @ Home http://setiathome.ssl.berkeley.edu/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message