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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Martin Schwidefsky
Date: Thursday, July 22, 2010 - 4:12 am

On Tue, 20 Jul 2010 09:55:29 -0700
Venkatesh Pallipadi <venki@google.com> wrote:


Yes, fixing that behavior will be tough. Just consider a standard page
cache I/O that gets merged with other I/O. You would need to "split" the
interrupt time for a block I/O to the process that benefit from it. An
added twist is that there can be multiple processes that require the
page. Split the time even more to the different requesters of a page?
Then the order when the requests come in suddenly gets important. Or
consider the IP packets in a network buffer, split the interrupt time
to the recipients?
The list goes on and on, my guess is that it will be next to impossible
to do it right. If the current situation is wrong because the ire
and softorq system time gets misaccounted and the "correct" solution is
impossible the only thing left to do is to stop accounting irq and
softirq time to processes.


That makes sense to me, with a working TSC the overhead should be
small. But you will need to a performance analysis to prove it.


Well, the task and cgroup information is there but what does it really
tell me? As long as the irq & softirq time can be caused by any other
process I don't see the value of this incorrect data point.

-- 
blue skies,
   Martin.

"Reality continues to ruin my life." - Calvin.

--
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)