Re: high system cpu load during intense disk i/o

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Dimitrios Apostolou
Date: Monday, August 6, 2007 - 9:09 am

Andrew Morton wrote:

Hello again,

I run some more tests and figured out that the problem occurs only when 
the I/O is writing to disk. Indeed, when I run two badblocks without the 
-w switch, read-only that is, the oprofile output seems normal 
(two_discs_read.txt). So does the vmstat output:


procs -----------memory---------- ---swap-- -----io---- -system-- 
----cpu----
  r  b   swpd   free   buff  cache   si   so    bi    bo   in   cs us sy 
id wa
  4  2      0  24136  87124  95660    0    0 28288     0  449  724 92  8 
  0  0
  4  2      0  24076  87136  95648    0    0 28160    12  446  749 91  9 
  0  0
  4  2      0  24016  87144  95664    0    0 28096    88  444  790 89 11 
  0  0
  4  2      0  24016  87144  95664    0    0 28288     0  444  705 88 12 
  0  0
  4  2      0  24016  87144  95660    0    0 28288     0  448  737 95  5 
  0  0

As you can see the context switching rate is greater now but the system 
CPU load much less, than that of two_discs_bad.txt.

However the cron jobs still seem to have a hard time finishing, even 
though they seem now to consume about 90% CPU time. Could someone please 
explain me some things that seem vital to understanding the situation?

Firstly, what is that "processor" line in the oprofile output without 
symbols? And why does *it* take all the CPU and not other important 
processes? Finally what do the kernel symbols "__switch_to" and 
"schedule" represent?


Thanks in advance,
Dimitris
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
high system cpu load during intense disk i/o, Dimitrios Apostolou, (Fri Aug 3, 9:03 am)
Re: high system cpu load during intense disk i/o, Dimitrios Apostolou, (Sun Aug 5, 9:03 am)
Re: high system cpu load during intense disk i/o, Rafał Bilski, (Sun Aug 5, 10:58 am)
Re: high system cpu load during intense disk i/o, Dimitrios Apostolou, (Sun Aug 5, 11:42 am)
Re: high system cpu load during intense disk i/o, Rafał Bilski, (Sun Aug 5, 1:08 pm)
Re: high system cpu load during intense disk i/o, Andrew Morton, (Sun Aug 5, 6:28 pm)
Re: high system cpu load during intense disk i/o, Dimitrios Apostolou, (Mon Aug 6, 7:20 am)
Re: high system cpu load during intense disk i/o, Dimitrios Apostolou, (Mon Aug 6, 9:09 am)
Re: high system cpu load during intense disk i/o, Rafał Bilski, (Mon Aug 6, 9:14 am)
Re: high system cpu load during intense disk i/o, Andrew Morton, (Mon Aug 6, 10:33 am)
Re: high system cpu load during intense disk i/o, Dimitrios Apostolou, (Mon Aug 6, 12:18 pm)
Re: high system cpu load during intense disk i/o, Dimitrios Apostolou, (Mon Aug 6, 12:27 pm)
Re: high system cpu load during intense disk i/o, Alan Cox, (Mon Aug 6, 12:48 pm)
Re: high system cpu load during intense disk i/o, Dimitrios Apostolou, (Mon Aug 6, 1:04 pm)
Re: high system cpu load during intense disk i/o, Rafał Bilski, (Mon Aug 6, 3:12 pm)
Re: high system cpu load during intense disk i/o, Alan Cox, (Mon Aug 6, 5:37 pm)
Re: high system cpu load during intense disk i/o, Dimitrios Apostolou, (Mon Aug 6, 5:40 pm)
Re: high system cpu load during intense disk i/o, Dimitrios Apostolou, (Mon Aug 6, 5:49 pm)
Re: high system cpu load during intense disk i/o, Rafał Bilski, (Tue Aug 7, 2:03 am)
Re: high system cpu load during intense disk i/o, Dimitrios Apostolou, (Tue Aug 7, 2:43 am)
Re: high system cpu load during intense disk i/o, Dimitrios Apostolou, (Tue Aug 7, 6:15 am)
Re: high system cpu load during intense disk i/o, Dimitrios Apostolou, (Tue Aug 7, 7:50 am)
Re: high system cpu load during intense disk i/o, Rafał Bilski, (Wed Aug 8, 12:08 pm)
Re: high system cpu load during intense disk i/o, Dimitrios Apostolou, (Thu Aug 9, 1:17 am)
Re: high system cpu load during intense disk i/o, Rafał Bilski, (Fri Aug 10, 12:06 am)
Re: high system cpu load during intense disk i/o, Dimitrios Apostolou, (Fri Aug 17, 4:19 pm)