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: Wednesday, September 8, 2010 - 4:12 am

On Tue, 2010-08-24 at 19:02 -0700, Venkatesh Pallipadi wrote:

No, removing it from update_curr()'s delta is exactly what I meant. That
gives the same end result as if the task were preempted (ie. it ran
less).


No it wouldn't, it would make nc run exactly its fair share. SoftIRQ
time isn't nc time, so by not accounting it to nc, nc gets to run more.


No, how is being preempted by an unrelated task (FIFO whatever)
different from being 'preempted' by unrelated SoftIRQ processing?



Like already argued, it is a correctness issue, TSC is only an accuracy
issue, but since you cannot properly attribute this very accurate time
measurement, you're still totally incorrect.


Sure it will affect some workloads, but its also more correct. If
network workloads suffer we can look at sorting out some of those
problems. But really SoftIRQ != task context and thus should not be
accounted to said task.
--
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 ..., 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)
Re: [PATCH 0/4] Finer granularity and task/cgroup irq time ..., Peter Zijlstra, (Wed Sep 8, 4:12 am)