LWN.net Logo

task IO accounting: per block device IO statistics

From:  Andrea Righi <righi.andrea@gmail.com>
To:  akpm@linux-foundation.org, balbir@linux.vnet.ibm.com
Subject:  [PATCH -mm 0/4] task IO accounting: per block device IO statistics
Date:  Fri, 1 Aug 2008 00:49:55 +0200
Message-ID:  <1217544599-8935-1-git-send-email-righi.andrea@gmail.com>
Cc:  Matt Heaton <matt@bluehost.com>, Mark Seger <Mark.Seger@hp.com>, Oleg Nesterov <oleg@tv-sign.ru>, linux-kernel@vger.kernel.org
Archive-link:  Article, Thread


Introduce a new file /proc/<pid>/blockio (and equivalently per-thread
/proc/<pid>/task/<tid>/blockio files) to export per block device i/o statistics
of each process to userspace applications.

The objective of this patch is to provide an efficient method to quickly
identify the top i/o consumers on specific block devices and, more in general,
to collect more detailed informations about specific block device usage.

See the documentation (PATCH 1/4) for more information.

Tested against 2.6.27-rc1-mm1.

The all-in-one patch can be found at:
http://download.systemimager.org/~arighi/linux/patches/ta...

-Andrea

Copyright © 2008, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds