Martin Visser wrote:

> I'd suggest you install and run "dstat" and look for whether the CPU
> is in wait a lot - this would indicate some sort of I'O related issue.

Ok, got it. Running it in 2.6.15-25-686 with my test program an very 
little else running I get:

> dstat
----total-cpu-usage---- -disk/total -net/total- ---paging-- ---system--
usr sys idl wai hiq siq|_read write|_recv _send|__in_ _out_|_int_ _csw_
 51  22  18   7   2   1| 154k   64k|   0     0 |   0     0 | 307   128 
 33   0  33  33   0   0|   0   212k| 510B 3306B|   0     0 | 317    75 
  0   0 100   0   0   0|   0    64k| 306B  682B|   0     0 | 287    46 
 25   0  50  25   0   0|   0   108k| 268B 1346B|   0     0 | 370    73 
  0   0 100   0   0   0|   0   276k| 204B 1410B|   0     0 | 343    91 
 33   0  33  33   0   0|4096B  192k| 338B 1750B|   0     0 | 338    76 
  0   0 100   0   0   0|   0    88k| 434B  714B|   0     0 | 323    42 
 25  25  25  25   0   0|   0   136k| 348B 1346B|   0     0 | 297    67 
  0   0 100   0   0   0|   0   156k| 204B 1330B|   0     0 | 272    76 
 50   0   0   0  50   0|   0   172k| 102B  634B|   0     0 | 314    46 
  0   0  50  50   0   0|   0    84k| 488B 1378B|   0     0 | 313    53 
  0  50  50   0   0   0|   0    68k| 322B  634B|   0     0 | 298    47 
  0   0  50  50   0   0|   0   120k| 268B 1428B|   0     0 | 292    71 
 50   0  50   0   0   0|   0   132k| 488B 1346B|   0     0 | 350    65 
  0   0  50   0  50   0|   0   116k| 246B  666B|   0     0 | 280    66 
 25  25  25  25   0   0|   0   136k| 870B 1856B|   0     0 | 331    84 
  0   0 100   0   0   0|   0   176k| 338B 1684B|   0     0 | 292    77 
 33   0  33  33   0   0|   0   152k| 838B 1620B|   0     0 | 345    75 
  0   0 100   0   0   0|   0   108k| 590B  888B|   0     0 | 283    85 

Anyway, it does seem to be spending way too much time in wait and idle
when it should doing some bloody processing.

Erik
-- 
+-----------------------------------------------------------+
  Erik de Castro Lopo
+-----------------------------------------------------------+
Failure is not an option. It comes bundled with your Microsoft
product.
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to