[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Process time accounting problem on two CPU machines. Resolved?



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
-----------------------------------------------------------------------------



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] []