Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* 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
* 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

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