Re: [PATCH 0/4] Finer granularity and task/cgroup irq time accounting

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Peter Zijlstra
Date: Tuesday, August 24, 2010 - 4:53 am

On Tue, 2010-08-24 at 17:08 +0530, Balbir Singh wrote:

Consider one group heavily dirtying pages, it stuffs the IO queues full
and gets blocked on IO completion. Since the CPU is then free to
schedule something else we start running things from another group,
those IO completions will come in while we run other group and get
accounted to other group -- FAIL.

s/group/task/ etc..

That just really doesn't work, accounting async work, esp stuff that is
not under software control it very tricky indeed.

So what are you wanting to do, and why. Do you really need accounting
madness?
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 0/4] Finer granularity and task/cgroup irq time acc ..., Venkatesh Pallipadi, (Mon Jul 19, 4:57 pm)
[PATCH 1/4] sched: Track and export per task [hard|soft]ir ..., Venkatesh Pallipadi, (Mon Jul 19, 4:57 pm)
[PATCH 2/4] x86: Add IRQ_TIME_ACCOUNTING, finer accounting ..., Venkatesh Pallipadi, (Mon Jul 19, 4:57 pm)
[PATCH 3/4] sched: Generalize cpuacct usage tracking makin ..., Venkatesh Pallipadi, (Mon Jul 19, 4:57 pm)
[PATCH 4/4] sched: Export irq times through cpuacct cgroup, Venkatesh Pallipadi, (Mon Jul 19, 4:57 pm)
Re: [PATCH 0/4] Finer granularity and task/cgroup irq time ..., Martin Schwidefsky, (Tue Jul 20, 12:55 am)
Re: [PATCH 0/4] Finer granularity and task/cgroup irq time ..., Venkatesh Pallipadi, (Tue Jul 20, 9:55 am)
Re: [PATCH 0/4] Finer granularity and task/cgroup irq time ..., Martin Schwidefsky, (Thu Jul 22, 4:12 am)
Re: [PATCH 0/4] Finer granularity and task/cgroup irq time ..., Venkatesh Pallipadi, (Thu Jul 22, 7:12 pm)
Re: [PATCH 0/4] Finer granularity and task/cgroup irq time ..., Venkatesh Pallipadi, (Mon Aug 23, 5:56 pm)
Re: [PATCH 0/4] Finer granularity and task/cgroup irq time ..., Peter Zijlstra, (Tue Aug 24, 4:53 am)
Re: [PATCH 0/4] Finer granularity and task/cgroup irq time ..., Martin Schwidefsky, (Tue Aug 24, 5:06 am)
Re: [PATCH 0/4] Finer granularity and task/cgroup irq time ..., Venkatesh Pallipadi, (Tue Aug 24, 12:20 pm)
Re: [PATCH 0/4] Finer granularity and task/cgroup irq time ..., Venkatesh Pallipadi, (Tue Aug 24, 7:02 pm)
Re: [PATCH 0/4] Finer granularity and task/cgroup irq time ..., Martin Schwidefsky, (Wed Aug 25, 12:20 am)