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

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



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



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