Re: Idle loadavg of ~1, maybe MD related

2008-01-06 Thread Robin H. Johnson
On Sun, Jan 06, 2008 at 10:21:57PM +1100, Paul Mackerras wrote: > Robin, what does the "motherboard" line in /proc/cpuinfo say on your > machine? motherboard : PowerMac11,2 MacRISC4 Power Macintosh -- Robin Hugh Johnson Gentoo Linux Developer & Infra Guy E-Mail : [EMAIL PROTECTED] GnuPG

Re: Idle loadavg of ~1, maybe MD related

2008-01-06 Thread Paul Mackerras
Andrew Morton writes: > Maybe, but we can usually work around it pretty comfortably. > > If smu_set_fan() is only ever called by a kernel thread then we can simply > flip it over to using wait_for_completion_interruptible(). > > If smu_set_fan() is also called from user processes then things

Re: Idle loadavg of ~1, maybe MD related

2008-01-06 Thread Paul Mackerras
Andrew Morton writes: Maybe, but we can usually work around it pretty comfortably. If smu_set_fan() is only ever called by a kernel thread then we can simply flip it over to using wait_for_completion_interruptible(). If smu_set_fan() is also called from user processes then things aren't

Re: Idle loadavg of ~1, maybe MD related

2008-01-05 Thread Benjamin Herrenschmidt
> Maybe, but we can usually work around it pretty comfortably. > > If smu_set_fan() is only ever called by a kernel thread then we can simply > flip it over to using wait_for_completion_interruptible(). Hrm... as of today, it's mostly called from a kernel thread but I don't totally iron out the

Re: Idle loadavg of ~1, maybe MD related

2008-01-05 Thread Andrew Morton
On Sat, 05 Jan 2008 21:18:52 +1100 Benjamin Herrenschmidt <[EMAIL PROTECTED]> wrote: > On Sat, 2008-01-05 at 02:04 -0800, Robin H. Johnson wrote: > > On Sat, Jan 05, 2008 at 01:30:37AM -0800, Andrew Morton wrote: > > > >From that I'd suspect that kwindfarm is being a bad citizen. > > > If a

Re: Idle loadavg of ~1, maybe MD related

2008-01-05 Thread Benjamin Herrenschmidt
On Sat, 2008-01-05 at 02:04 -0800, Robin H. Johnson wrote: > On Sat, Jan 05, 2008 at 01:30:37AM -0800, Andrew Morton wrote: > > >From that I'd suspect that kwindfarm is being a bad citizen. > > If a process is consistently stuck in D state, run > Windfarm. It's an unfortunate artifact that

Re: Idle loadavg of ~1, maybe MD related

2008-01-05 Thread Robin H. Johnson
On Sat, Jan 05, 2008 at 01:30:37AM -0800, Andrew Morton wrote: > >From that I'd suspect that kwindfarm is being a bad citizen. > If a process is consistently stuck in D state, run Windfarm. > echo w > /proc/sysrq-trigger > then record the resulting dmesg output so we can see where it got

Re: Idle loadavg of ~1, maybe MD related

2008-01-05 Thread Andrew Morton
On Sun, 30 Dec 2007 02:06:14 -0800 "Robin H. Johnson" <[EMAIL PROTECTED]> wrote: > (Please CC me, I'm subbed to LKML). > > My G5, while running practically nothing (just sshd and some to watch the > load), has a weird cycle of load averages. I think it might be related to MD, > simply because

Re: Idle loadavg of ~1, maybe MD related

2008-01-05 Thread Andrew Morton
On Sun, 30 Dec 2007 02:06:14 -0800 Robin H. Johnson [EMAIL PROTECTED] wrote: (Please CC me, I'm subbed to LKML). My G5, while running practically nothing (just sshd and some to watch the load), has a weird cycle of load averages. I think it might be related to MD, simply because that's the

Re: Idle loadavg of ~1, maybe MD related

2008-01-05 Thread Robin H. Johnson
On Sat, Jan 05, 2008 at 01:30:37AM -0800, Andrew Morton wrote: From that I'd suspect that kwindfarm is being a bad citizen. If a process is consistently stuck in D state, run Windfarm. echo w /proc/sysrq-trigger then record the resulting dmesg output so we can see where it got stuck.

Re: Idle loadavg of ~1, maybe MD related

2008-01-05 Thread Benjamin Herrenschmidt
On Sat, 2008-01-05 at 02:04 -0800, Robin H. Johnson wrote: On Sat, Jan 05, 2008 at 01:30:37AM -0800, Andrew Morton wrote: From that I'd suspect that kwindfarm is being a bad citizen. If a process is consistently stuck in D state, run Windfarm. It's an unfortunate artifact that kernel

Re: Idle loadavg of ~1, maybe MD related

2008-01-05 Thread Andrew Morton
On Sat, 05 Jan 2008 21:18:52 +1100 Benjamin Herrenschmidt [EMAIL PROTECTED] wrote: On Sat, 2008-01-05 at 02:04 -0800, Robin H. Johnson wrote: On Sat, Jan 05, 2008 at 01:30:37AM -0800, Andrew Morton wrote: From that I'd suspect that kwindfarm is being a bad citizen. If a process is

Re: Idle loadavg of ~1, maybe MD related

2008-01-05 Thread Benjamin Herrenschmidt
Maybe, but we can usually work around it pretty comfortably. If smu_set_fan() is only ever called by a kernel thread then we can simply flip it over to using wait_for_completion_interruptible(). Hrm... as of today, it's mostly called from a kernel thread but I don't totally iron out the

Idle loadavg of ~1, maybe MD related

2007-12-30 Thread Robin H. Johnson
(Please CC me, I'm subbed to LKML). My G5, while running practically nothing (just sshd and some to watch the load), has a weird cycle of load averages. I think it might be related to MD, simply because that's the only thing that is clocking up cputime. A full cycle lasts approximately 27

Idle loadavg of ~1, maybe MD related

2007-12-30 Thread Robin H. Johnson
(Please CC me, I'm subbed to LKML). My G5, while running practically nothing (just sshd and some to watch the load), has a weird cycle of load averages. I think it might be related to MD, simply because that's the only thing that is clocking up cputime. A full cycle lasts approximately 27