public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* kupdated using all CPU
@ 2002-02-18 21:40 john
  2002-02-18 22:13 ` Andrew Morton
  0 siblings, 1 reply; 6+ messages in thread
From: john @ 2002-02-18 21:40 UTC (permalink / raw)
  To: linux-kernel

hi,
ive searched all over and found many references to this problem, but never found an actual solution.
the problem is that during heavy disk I/O, kupdated will periodically take up ALL the cpu.  like the mouse will stop responding, nothing moves.  the system is frozen until its done doing whatever its doing.
the problem is mostly evident on large file transfers or doing something like copying a large file or untarring a large tarball, etc.
i am running 2.4.17 on an IBM R30 thinkpad.  problem occurs on 2.4.16 also.

so is there already an answer about this that i just cant find?
any help appreciated, thanks.
-j

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: kupdated using all CPU
  2002-02-18 21:40 kupdated using all CPU john
@ 2002-02-18 22:13 ` Andrew Morton
  2002-02-18 22:19   ` john
  0 siblings, 1 reply; 6+ messages in thread
From: Andrew Morton @ 2002-02-18 22:13 UTC (permalink / raw)
  To: john; +Cc: linux-kernel

john wrote:
> 
> hi,
> ive searched all over and found many references to this problem, but
> never found an actual solution.  the problem is that during heavy
> disk I/O, kupdated will periodically take up ALL the cpu.  

I've seen a couple of reports of this, nothing to indicate that it's
a common problem?

In the other reports, it was related to extremely low disk throughput.
What does `hdparm -t /dev/hda' say?

-

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: kupdated using all CPU
  2002-02-18 22:13 ` Andrew Morton
@ 2002-02-18 22:19   ` john
  2002-02-18 22:47     ` Andrew Morton
  0 siblings, 1 reply; 6+ messages in thread
From: john @ 2002-02-18 22:19 UTC (permalink / raw)
  To: Andrew Morton; +Cc: john, linux-kernel

[Mon, Feb 18, 2002 at 02:13:06PM -0800] akpm@zip.com.au wrote:
+ john wrote:
+ > 
+ > hi,
+ > ive searched all over and found many references to this problem, but
+ > never found an actual solution.  the problem is that during heavy
+ > disk I/O, kupdated will periodically take up ALL the cpu.  
+ 
+ I've seen a couple of reports of this, nothing to indicate that it's
+ a common problem?
+ 
+ In the other reports, it was related to extremely low disk throughput.
+ What does `hdparm -t /dev/hda' say?

root@doom:~# hdparm -t /dev/hda

/dev/hda:
 Timing buffered disk reads:  64 MB in 25.60 seconds =  2.50 MB/sec


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: kupdated using all CPU
  2002-02-18 22:19   ` john
@ 2002-02-18 22:47     ` Andrew Morton
  2002-02-19  4:53       ` Eric W. Biederman
  0 siblings, 1 reply; 6+ messages in thread
From: Andrew Morton @ 2002-02-18 22:47 UTC (permalink / raw)
  To: john; +Cc: linux-kernel

john wrote:
> 
> [Mon, Feb 18, 2002 at 02:13:06PM -0800] akpm@zip.com.au wrote:
> + john wrote:
> + >
> + > hi,
> + > ive searched all over and found many references to this problem, but
> + > never found an actual solution.  the problem is that during heavy
> + > disk I/O, kupdated will periodically take up ALL the cpu.
> +
> + I've seen a couple of reports of this, nothing to indicate that it's
> + a common problem?
> +
> + In the other reports, it was related to extremely low disk throughput.
> + What does `hdparm -t /dev/hda' say?
> 
> root@doom:~# hdparm -t /dev/hda
> 
> /dev/hda:
>  Timing buffered disk reads:  64 MB in 25.60 seconds =  2.50 MB/sec

ugh.  OK, I'll see if I cen reproduce this - there's no reason
why disk suckiness should cause high CPU load.  But you need to
pay some attention to your IDE settings in kernel config, and
possibly tuning.

-

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: kupdated using all CPU
  2002-02-18 22:47     ` Andrew Morton
@ 2002-02-19  4:53       ` Eric W. Biederman
  2002-02-19 17:42         ` john
  0 siblings, 1 reply; 6+ messages in thread
From: Eric W. Biederman @ 2002-02-19  4:53 UTC (permalink / raw)
  To: Andrew Morton; +Cc: john, linux-kernel

Andrew Morton <akpm@zip.com.au> writes:

> john wrote:
> > 
> > [Mon, Feb 18, 2002 at 02:13:06PM -0800] akpm@zip.com.au wrote:
> > + john wrote:
> > + >
> > + > hi,
> > + > ive searched all over and found many references to this problem, but
> > + > never found an actual solution.  the problem is that during heavy
> > + > disk I/O, kupdated will periodically take up ALL the cpu.
> > +
> > + I've seen a couple of reports of this, nothing to indicate that it's
> > + a common problem?
> > +
> > + In the other reports, it was related to extremely low disk throughput.
> > + What does `hdparm -t /dev/hda' say?
> > 
> > root@doom:~# hdparm -t /dev/hda
> > 
> > /dev/hda:
> >  Timing buffered disk reads:  64 MB in 25.60 seconds =  2.50 MB/sec
> 
> ugh.  OK, I'll see if I cen reproduce this - there's no reason
> why disk suckiness should cause high CPU load.  But you need to
> pay some attention to your IDE settings in kernel config, and
> possibly tuning.


Another possibility with the same symptoms is that there are simply
very large I/O request starving everything else out.  When some
crucial data needs to be paged back in.  john can you confirm you
looked in top and saw kupdate taking 100% of the cpu?

Eric

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: kupdated using all CPU
  2002-02-19  4:53       ` Eric W. Biederman
@ 2002-02-19 17:42         ` john
  0 siblings, 0 replies; 6+ messages in thread
From: john @ 2002-02-19 17:42 UTC (permalink / raw)
  To: Eric W. Biederman; +Cc: Andrew Morton, john, linux-kernel

[Mon, Feb 18, 2002 at 09:53:08PM -0700] ebiederm@xmission.com wrote:
+ Andrew Morton <akpm@zip.com.au> writes:
+ 
+ > john wrote:
+ > > 
+ > > [Mon, Feb 18, 2002 at 02:13:06PM -0800] akpm@zip.com.au wrote:
+ > > + john wrote:
+ > > + >
+ > > + > hi,
+ > > + > ive searched all over and found many references to this problem, but
+ > > + > never found an actual solution.  the problem is that during heavy
+ > > + > disk I/O, kupdated will periodically take up ALL the cpu.
+ > > +
+ > > + I've seen a couple of reports of this, nothing to indicate that it's
+ > > + a common problem?
+ > > +
+ > > + In the other reports, it was related to extremely low disk throughput.
+ > > + What does `hdparm -t /dev/hda' say?
+ > > 
+ > > root@doom:~# hdparm -t /dev/hda
+ > > 
+ > > /dev/hda:
+ > >  Timing buffered disk reads:  64 MB in 25.60 seconds =  2.50 MB/sec
+ > 
+ > ugh.  OK, I'll see if I cen reproduce this - there's no reason
+ > why disk suckiness should cause high CPU load.  But you need to
+ > pay some attention to your IDE settings in kernel config, and
+ > possibly tuning.
+ 
+ 
+ Another possibility with the same symptoms is that there are simply
+ very large I/O request starving everything else out.  When some
+ crucial data needs to be paged back in.  john can you confirm you
+ looked in top and saw kupdate taking 100% of the cpu?

yes, i did.  another thing that makes it pretty obvious is the cpu time reported by ps.  kupdated cpu time will stay 0:00 until i run into the condition i described.  then kupdated cpu time will jump as much as 0:45.

but i have fixed the issue by using the correct ide driver.  though, someone may want to look into this anyway...dunno..
-j

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2002-02-19 17:43 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-02-18 21:40 kupdated using all CPU john
2002-02-18 22:13 ` Andrew Morton
2002-02-18 22:19   ` john
2002-02-18 22:47     ` Andrew Morton
2002-02-19  4:53       ` Eric W. Biederman
2002-02-19 17:42         ` john

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox