| grep comsumes about 25% of CPU on 2.2.19, with the following times:
| 1.50user 2.79system 0:12.61elapsed 34%CPU (0avgtext+0avgdata 0maxresident)k
| 0inputs+0outputs (178major+79minor)pagefaults 0swaps
| 
| on 2.4.12, it consumes between 60 and 80% of cpu, and I'm still waiting
| for times ...
| 
| 101.48user 4.11system 3:22.85elapsed 52%CPU (0avgtext+0avgdata 0maxresident)k
| 0inputs+0outputs (130major+138minor)pagefaults 0swaps
That sounds like something "invisible" is eating your CPU.  Perhaps
some interrupt handling.
Do a "cat /proc/interrupts", wait a few seconds and do it again.  See
if any count jumped by a lot.  I assume, but don't actually know, that
interrupts that are not handled are still counted.
Hugh Redelmeier
hugh@mimosa.com  voice: +1 416 482-8253
On my machine, when not doing anything, I get a lot of timer
interrupts.
RFC $ cat /proc/interrupts ; sleep 10 ; cat /proc/interrupts
           CPU0       CPU1       
  0:   13363128   13480402    IO-APIC-edge  timer
  1:      78903      77330    IO-APIC-edge  keyboard
  2:          0          0          XT-PIC  cascade
  8:          1          0    IO-APIC-edge  rtc
 12:     376841     390230    IO-APIC-edge  PS/2 Mouse
 14:     183020     166039    IO-APIC-edge  ide0
 15:        236        450    IO-APIC-edge  ide1
 16:       2321       2395   IO-APIC-level  bttv
 17:       2166       2170   IO-APIC-level  es1371
 18:          7          7   IO-APIC-level  aic7xxx
 19:     619226     619253   IO-APIC-level  usb-uhci, eth0
NMI:          0          0 
LOC:   26844734   26844733 
ERR:         43
MIS:          0
           CPU0       CPU1       
  0:   13363381   13481153    IO-APIC-edge  timer
  1:      78903      77331    IO-APIC-edge  keyboard
  2:          0          0          XT-PIC  cascade
  8:          1          0    IO-APIC-edge  rtc
 12:     376841     390230    IO-APIC-edge  PS/2 Mouse
 14:     183026     166062    IO-APIC-edge  ide0
 15:        236        450    IO-APIC-edge  ide1
 16:       2321       2395   IO-APIC-level  bttv
 17:       2166       2170   IO-APIC-level  es1371
 18:          7          7   IO-APIC-level  aic7xxx
 19:     619226     619253   IO-APIC-level  usb-uhci, eth0
NMI:          0          0 
LOC:   26845738   26845737 
ERR:         43
MIS:          0
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/