From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 3783 invoked from network); 29 Jun 2000 14:41:24 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 29 Jun 2000 14:41:24 -0000 Received: from pppl.gov (root@mailserver.pppl.gov [192.55.106.129]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id KAA14118 for ; Thu, 29 Jun 2000 10:41:24 -0400 Received: from oriole (oriole.pppl.gov [192.55.106.139]) by pppl.gov (8.9.2/8.9.2) with ESMTP id KAA25615 for ; Thu, 29 Jun 2000 10:41:14 -0400 (EDT) Message-Id: <4.2.0.58.20000629103024.00af0670@pop.Pppl.GOV> X-Sender: randerso@pop.Pppl.GOV X-Mailer: QUALCOMM Windows Eudora Pro Version 4.2.0.58 Date: Thu, 29 Jun 2000 10:41:05 -0400 To: axp-list@redhat.com From: Lew Randerson Subject: Re: Process time accounting problem on two CPU machines. Resolved? In-Reply-To: <4.2.0.58.20000628165927.021c1e80@pop.Pppl.GOV> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Following advice from the contributors, I rebuilt the kernel with "Enhanced Real Time Clock Support" turned off and the problem has been resolved. People who have been living with this problem and not fixing it should be aware that I saw a couple of other problems before the fix. (1) Reported cpu usage via 'top' was never more that 50%. (2) The wall clock elapsed time on cpu intensive jobs was twice what It should have been. These problems have also gone away with the fix. Thanks, --Lew At 05:17 PM 6/28/00 -0400, you wrote: >Around last October, Lars Hjorth reported a process time accounting problem to >axp-list. Was that resolved? > >We are running kernel 2.2.16 on several UP2000 Dual Alpha machines and >are seeing the same problem. i.e. There is no reported cpu usage on the >second cpu even though we know it is being used. For each process, >/proc//cpu always shows cpu1 with no time. /proc/cpuinfo does >show 2 active cpus. The machines were deliverd with 2.2.14 and had >the problem with that kernel also. > > > # /usr/bin/uptime > 3:48pm up 31 min, 5 users, load average: 4.08, 3.30, 1.93 > > # /bin/grep cpu /proc/stat /proc/{1209,1211}/cpu > /proc/stat:cpu 656276 0 97507 3080381 > /proc/stat:cpu0 656276 0 97507 1163299 > /proc/stat:cpu1 0 0 0 1917082 > /proc/1209/cpu:cpu 112750 436 > /proc/1209/cpu:cpu0 112750 436 > /proc/1209/cpu:cpu1 0 0 > /proc/1211/cpu:cpu 104966 410 > /proc/1211/cpu:cpu0 104966 410 > /proc/1211/cpu:cpu1 0 0 > >Note in /proc/stat the idle time for cpu1 is essentially the same as the >system uptime. So cpu1 is reporting NO user time. My first pass at the >Linux source showed nothing glaringly wrong in kernel/sched.c or >alpha/kernel/smp.c.. > > >Note: All utilities show CPU1 is not used including xosview and procinfo. >Reported CPU usage is accurate when the machine is booted with nosmp >and therefore only one cpu is active. > >Thanks for any info, --Lew > >Lew Randerson >Computational Plasma Physics Group >Princeton Plasma Physics Lab, Princeton University >P.O. Box 451 >Princeton, NJ 08543 > >lranderson@pppl.gov >1 609 243-3134 (voice) >1 609 254-3086 (fax) > > > > > > >-- >To unsubscribe: send e-mail to axp-list-request@redhat.com with >'unsubscribe' as the subject. Do not send it to axp-list@redhat.com >