* Process time accounting problem on two CPU machines. Resolved?
@ 2000-06-28 21:17 Lew Randerson
2000-06-28 22:44 ` Jay Estabrook
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: Lew Randerson @ 2000-06-28 21:17 UTC (permalink / raw)
To: axp-list
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/<pid>/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)
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Process time accounting problem on two CPU machines. Resolved?
2000-06-28 21:17 Lew Randerson
@ 2000-06-28 22:44 ` Jay Estabrook
2000-06-29 2:19 ` W Bauske
2000-06-29 11:14 ` Rich Payne
2000-06-29 14:41 ` Lew Randerson
2 siblings, 1 reply; 6+ messages in thread
From: Jay Estabrook @ 2000-06-28 22:44 UTC (permalink / raw)
To: axp-list
On Wed, Jun 28, 2000 at 05:17:59PM -0400, Lew Randerson wrote:
>
> 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/<pid>/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.
Is there any chance you configured 'Enhanced Real Time Clock Support',
ie CONFIG_RTC?
I'm running a 2.2.17-pre8 SMP kernel on a DP264 (without CONFIG_RTC),
and see the following while running a couple of kernel builds in
parallel:
> while true; do echo; date; grep cpu /proc/stat; sleep 5; done
>
> Fri May 26 23:54:48 EDT 2000
> cpu 920104 0 95729 1182707
> cpu0 464211 0 49371 585688
> cpu1 468210 0 46635 584425
>
> Fri May 26 23:54:53 EDT 2000
> cpu 929737 0 96717 1182844
> cpu0 469056 0 49907 585686
> cpu1 473135 0 47091 584423
>
> Fri May 26 23:54:58 EDT 2000
> cpu 939379 0 97460 1183007
> cpu0 473985 0 50254 585684
> cpu1 478012 0 47490 584421
>
> Fri May 26 23:55:04 EDT 2000
> cpu 949243 0 98048 1183155
> cpu0 478961 0 50580 585682
> cpu1 483052 0 47752 584419
>
> Fri May 26 23:55:09 EDT 2000
> cpu 959073 0 98714 1183307
> cpu0 483968 0 50899 585680
> cpu1 488029 0 48101 584417
>
> Fri May 26 23:55:14 EDT 2000
> cpu 969056 0 99354 1183444
> cpu0 488956 0 51293 585678
> cpu1 493161 0 48351 584415
>
> Fri May 26 23:55:19 EDT 2000
> cpu 978917 0 100165 1183556
> cpu0 493926 0 51717 585676
> cpu1 498168 0 48738 584413
>
> Fri May 26 23:55:24 EDT 2000
> cpu 988687 0 100860 1183695
> cpu0 498882 0 52065 585674
> cpu1 503122 0 49088 584411
>
> Fri May 26 23:55:29 EDT 2000
> cpu 998098 0 101601 1183829
> cpu0 503652 0 52439 585673
> cpu1 507893 0 49461 584410
Is this the way it's supposed to look?
--Jay++
-----------------------------------------------------------------------------
Jay A Estabrook Alpha Engineering - LINUX Project
Compaq Computer Corp. - MRO1-2/K20 (508) 467-2080
200 Forest Street, Marlboro MA 01752 Jay.Estabrook@compaq.com
-----------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Process time accounting problem on two CPU machines. Resolved?
@ 2000-06-29 0:44 Iwao MAKINO
0 siblings, 0 replies; 6+ messages in thread
From: Iwao MAKINO @ 2000-06-29 0:44 UTC (permalink / raw)
To: axp-list
>
> 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/<pid>/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.
aa patch fixed that problem on 2.2.15 but have not seen them patch for
2.2.16 yet...
I will try w/ Jay's suggestion that might help.
regards,
--
Iwao Makino Alpha OEM MFG.
HIT Corporation Ltd., Tel:+81-3-3714-0469
ChinonHaramachi 1-16-5 Haramachi Fax:+81-3-3714-0789
Meguro 152-0011 http://www.hpc.co.jp/
Tokyo, Japan mailto:makino@hpc.co.jp
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Process time accounting problem on two CPU machines. Resolved?
2000-06-28 22:44 ` Jay Estabrook
@ 2000-06-29 2:19 ` W Bauske
0 siblings, 0 replies; 6+ messages in thread
From: W Bauske @ 2000-06-29 2:19 UTC (permalink / raw)
To: axp-list
Jay Estabrook wrote:
>
> On Wed, Jun 28, 2000 at 05:17:59PM -0400, Lew Randerson wrote:
> >
> > 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/<pid>/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.
>
> Is there any chance you configured 'Enhanced Real Time Clock Support',
> ie CONFIG_RTC?
>
> I'm running a 2.2.17-pre8 SMP kernel on a DP264 (without CONFIG_RTC),
> and see the following while running a couple of kernel builds in
> parallel:
>
> > while true; do echo; date; grep cpu /proc/stat; sleep 5; done
> >
> > Fri May 26 23:54:48 EDT 2000
> > cpu 920104 0 95729 1182707
> > cpu0 464211 0 49371 585688
> > cpu1 468210 0 46635 584425
> >
...
> > Fri May 26 23:55:29 EDT 2000
> > cpu 998098 0 101601 1183829
> > cpu0 503652 0 52439 585673
> > cpu1 507893 0 49461 584410
>
> Is this the way it's supposed to look?
>
I see the same kinds of things on my UP2K's. Also,
for a given process, I see usage on both cpus.
I'm using 2.2.15pre17, no RTC.
Wes
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Process time accounting problem on two CPU machines. Resolved?
2000-06-28 21:17 Lew Randerson
2000-06-28 22:44 ` Jay Estabrook
@ 2000-06-29 11:14 ` Rich Payne
2000-06-29 14:41 ` Lew Randerson
2 siblings, 0 replies; 6+ messages in thread
From: Rich Payne @ 2000-06-29 11:14 UTC (permalink / raw)
To: axp-list
Remove the Real Time Clock (RTC) support from the kernel, or get the RTC
Lite patches from your favorite kernel mirros and use that.
--rdp
On Wed, 28 Jun 2000, Lew Randerson 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/<pid>/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)
>
>
>
>
>
>
>
--
Rich Payne
rpayne@alphalinux.org www.alphalinux.org
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Process time accounting problem on two CPU machines. Resolved?
2000-06-28 21:17 Lew Randerson
2000-06-28 22:44 ` Jay Estabrook
2000-06-29 11:14 ` Rich Payne
@ 2000-06-29 14:41 ` Lew Randerson
2 siblings, 0 replies; 6+ messages in thread
From: Lew Randerson @ 2000-06-29 14:41 UTC (permalink / raw)
To: axp-list
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/<pid>/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
>
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2000-06-29 14:41 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-06-29 0:44 Process time accounting problem on two CPU machines. Resolved? Iwao MAKINO
-- strict thread matches above, loose matches on Subject: below --
2000-06-28 21:17 Lew Randerson
2000-06-28 22:44 ` Jay Estabrook
2000-06-29 2:19 ` W Bauske
2000-06-29 11:14 ` Rich Payne
2000-06-29 14:41 ` Lew Randerson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox