LWN.net Logo

bdi write bandwidth estimation

From:  Wu Fengguang <fengguang.wu@intel.com>
To:  <linux-fsdevel@vger.kernel.org>
Subject:  [PATCH 0/3] bdi write bandwidth estimation
Date:  Sun, 12 Jun 2011 23:18:21 +0800
Message-ID:  <20110612151821.601514494@intel.com>
Cc:  Jan Kara <jack@suse.cz>
Archive-link:  Article, Thread


Do bdi write bandwidth estimation in the flusher thread at 200ms intervals,
and in case the flusher is blocked syncing large files, the throttled dirtier
tasks will back it up.

To get an idea of the adaption speed and fluctuation range, here are
some real examples (check the red dots and the yellow line):

http://www.kernel.org/pub/linux/kernel/people/wfg/writeba...
http://www.kernel.org/pub/linux/kernel/people/wfg/writeba...
http://www.kernel.org/pub/linux/kernel/people/wfg/writeba...
http://www.kernel.org/pub/linux/kernel/people/wfg/writeba...

The old version outputs, for your reference:

http://www.kernel.org/pub/linux/kernel/people/wfg/writeba...
http://www.kernel.org/pub/linux/kernel/people/wfg/writeba...
http://www.kernel.org/pub/linux/kernel/people/wfg/writeba...

This is merely the estimation part. The in-kernel users of the estimated
bandwidth will follow in the coming series.

Thanks,
Fengguang

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

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