1 |
On Thu, 22 Sep 2005 14:59:55 -0700 |
2 |
Mark Knecht <markknecht@×××××.com> wrote: |
3 |
|
4 |
> Hi, |
5 |
> I'm looking at this mythbackend server machine using top. Sometimes |
6 |
> the CPU usage goes to essentially 100%, but only in the 'wa' section. |
7 |
> What is 'wa'? I searched through the man page but didn't see anything |
8 |
> about this. |
9 |
> |
10 |
|
11 |
It's described in the vmstat man page. You're supposed to be clairvoyant about |
12 |
these things and know that virtual memory stats is where cpu time is described. :) |
13 |
|
14 |
It's "Time spent waiting for IO." The cpu can't do anything until IO is |
15 |
completed - typically this is some kind of DMA transfer. |
16 |
|
17 |
> I'm suspecting that this machine has stopped being able to keep up |
18 |
> with MythTV due to something using up CPU time. I found that one of my |
19 |
> wife's screensavers (Fireworks) was using 70-90% CPU so I've turned |
20 |
> that off and things seem much better. Now when watching top I never |
21 |
> see anything using more than a few %, but this 'wa' thing persists. |
22 |
> |
23 |
|
24 |
Nope, it's just slow doing IO - bottleneck in either disk to memory, video to memory, |
25 |
or memory to network. |
26 |
|
27 |
> |
28 |
> top - 14:51:47 up 4:19, 3 users, load average: 1.75, 1.88, 1.58 |
29 |
> Tasks: 91 total, 2 running, 88 sleeping, 0 stopped, 1 zombie |
30 |
> Cpu(s): 0.3% us, 0.3% sy, 0.0% ni, 0.0% id, 97.7% wa, 0.0% hi, 1.7% si |
31 |
> Mem: 499052k total, 493560k used, 5492k free, 3140k buffers |
32 |
> Swap: 1052216k total, 368k used, 1051848k free, 342352k cached |
33 |
> |
34 |
|
35 |
Looks like it might help a bit to increase the systems main memory to 1 GB. It'll eliminate |
36 |
the swapping and will increase the available in-memory filesystem buffering. |
37 |
|
38 |
Bob |
39 |
- |
40 |
-- |
41 |
gentoo-user@g.o mailing list |