login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2010
»
August
»
22
Re: [PATCH 4/4] writeback: Reporting dirty thresholds in /proc/vmstat
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: KOSAKI Motohiro
Subject:
Re: [PATCH 4/4] writeback: Reporting dirty thresholds in /proc/vmstat
Date: Sunday, August 22, 2010 - 3:27 am
> > The kernel already exposes the user desired thresholds in /proc/sys/vm
quoted text
> > with dirty_background_ratio and background_ratio. But the kernel may > > alter the number requested without giving the user any indication that > > is the case. > > > > Knowing the actual ratios the kernel is honoring can help app developers > > understand how their buffered IO will be sent to the disk. > > > > $ grep threshold /proc/vmstat > > nr_dirty_threshold 409111 > > nr_dirty_background_threshold 818223 > > > > Signed-off-by: Michael Rubin <mrubin@google.com> > > Looks good to me. > Reviewed-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
sorry, this is mistake. Wu pointed out this patch is unnecessary. Wu wrote:
quoted text
> I realized that the dirty thresholds has already been exported here: > > $ grep Thresh /debug/bdi/8:0/stats > BdiDirtyThresh: 381000 kB > DirtyThresh: 1719076 kB > BackgroundThresh: 859536 kB > > So why not use that interface directly?
--
unsubscribe notice
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/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[PATCH 0/4] writeback: kernel visibility
, Michael Rubin
, (Fri Aug 20, 2:31 am)
[PATCH 3/4] writeback: nr_dirtied and nr_entered_writeback ...
, Michael Rubin
, (Fri Aug 20, 2:31 am)
[PATCH 4/4] writeback: Reporting dirty thresholds in /proc ...
, Michael Rubin
, (Fri Aug 20, 2:31 am)
Re: [PATCH 3/4] writeback: nr_dirtied and nr_entered_write ...
, KOSAKI Motohiro
, (Fri Aug 20, 3:05 am)
Re: [PATCH 4/4] writeback: Reporting dirty thresholds in / ...
, KOSAKI Motohiro
, (Fri Aug 20, 3:06 am)
Re: [PATCH 3/4] writeback: nr_dirtied and nr_entered_write ...
, Wu Fengguang
, (Fri Aug 20, 3:08 am)
Re: [PATCH 4/4] writeback: Reporting dirty thresholds in / ...
, Wu Fengguang
, (Fri Aug 20, 3:12 am)
Re: [PATCH 3/4] writeback: nr_dirtied and nr_entered_write ...
, Michael Rubin
, (Fri Aug 20, 4:51 pm)
Re: [PATCH 3/4] writeback: nr_dirtied and nr_entered_write ...
, Wu Fengguang
, (Fri Aug 20, 5:48 pm)
Re: [PATCH 4/4] writeback: Reporting dirty thresholds in / ...
, Wu Fengguang
, (Fri Aug 20, 10:48 pm)
Re: [PATCH 4/4] writeback: Reporting dirty thresholds in / ...
, KOSAKI Motohiro
, (Sun Aug 22, 3:27 am)
Re: [PATCH 3/4] writeback: nr_dirtied and nr_entered_write ...
, Michael Rubin
, (Mon Aug 23, 10:45 am)
Re: [PATCH 4/4] writeback: Reporting dirty thresholds in / ...
, Michael Rubin
, (Mon Aug 23, 10:52 am)
Re: [PATCH 4/4] writeback: Reporting dirty thresholds in / ...
, KOSAKI Motohiro
, (Mon Aug 23, 6:20 pm)
Re: [PATCH 4/4] writeback: Reporting dirty thresholds in / ...
, Michael Rubin
, (Mon Aug 23, 6:41 pm)
Re: [PATCH 4/4] writeback: Reporting dirty thresholds in / ...
, Wu Fengguang
, (Mon Aug 23, 7:01 pm)
Re: [PATCH 4/4] writeback: Reporting dirty thresholds in / ...
, Wu Fengguang
, (Mon Aug 23, 7:11 pm)
Re: [PATCH 4/4] writeback: Reporting dirty thresholds in / ...
, Michael Rubin
, (Mon Aug 23, 7:42 pm)
Re: [PATCH 3/4] writeback: nr_dirtied and nr_entered_write ...
, Michael Rubin
, (Mon Aug 23, 8:02 pm)
Re: [PATCH 3/4] writeback: nr_dirtied and nr_entered_write ...
, Wu Fengguang
, (Mon Aug 23, 8:25 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Paul Turner
[tg_shares_up rewrite v4 11/11] sched: update tg->shares after cpu.shares write
Mr. James W. Laferriere
Re: Linux 2.6.25-rc1 , syntax error near unexpected token `;'
Robin Lee Powell
NFS hang + umount -f: better behaviour requested.
Linus Torvalds
Linux 2.6.34-rc4
Colin Cross
[PATCH 12/21] ARM: tegra: Add suspend and hotplug support
git
:
Fredrik Kuivinen
Re: fatal: unable to create '.git/index': File exists
Wink Saville
How-to combine several separate git repos?
Emily Ren
How to pull remote branch with specified commit id?
Denis Bueno
Git clone error
pradeep singh
git-update-server-info may be required,cannot clone and pull from a remote reposit...
openbsd-misc
:
Sevan / Venture37
Re: This is what Linus Torvalds calls openBSD crowd
Netmaffia.hu
Tini Lányok AKCIÓBAN OTTHON
Siju George
This is what Linus Torvalds calls openBSD crowd
Darrin Chandler
Re: OT: Python (was Re: vi in /bin)
frantisek holop
Re: splassert: vwakeup: and friends
linux-netdev
:
Jamie Lokier
Re: POHMELFS high performance network filesystem. Transactions, failover, performa...
Timo Teräs
ip xfrm policy semantics
Ron Mercer
[net-next PATCH 2/2] qlge: Version change to v1.00.00.27
Maciej W. Rozycki
Re: [PATCH] flush_work_sync vs. flush_scheduled_work Re: [PATCH] PHYLIB: IRQ event...
Jarek Poplawski
Re: socket api problem: can't bind an ipv6 socket to ::ffff:0.0.0.0
git-commits-head
:
Linux Kernel Mailing List
powerpc/fsl_msi: enable msi allocation in all banks
Linux Kernel Mailing List
ASoC: fix registration of the SoC card in the Freescale MPC8610 drivers
Linux Kernel Mailing List
drivers/acpi: use kasprintf
Linux Kernel Mailing List
bnx2x: Moving includes
Linux Kernel Mailing List
[ARM] mmp: add dma support to mmp2
Colocation donated by:
Syndicate