From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Priebe - Profihost AG Subject: Re: speed up dirty data cleaning Date: Fri, 08 Nov 2013 08:19:08 +0100 Message-ID: <527C906C.8000905@profihost.ag> References: <527B90EF.10404@profihost.ag> <527BAF4B.9080609@profihost.ag> <20131108024904.GL3842@kmo> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20131108024904.GL3842@kmo> Sender: linux-bcache-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Kent Overstreet Cc: "linux-bcache-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" List-Id: linux-bcache@vger.kernel.org Am 08.11.2013 03:49, schrieb Kent Overstreet: > On Thu, Nov 07, 2013 at 04:18:35PM +0100, Stefan Priebe - Profihost AG wrote: >> After some time it seems to start writing out all the data at a good >> disk speed. >> >> But how does bcache determine when to write which kind of data out of >> bcache. > > There's a PD controller that tries to keep the amount of dirty data at > writeback_percent percentage of your cache size. But, since the dirty data > account was _still_ broken, that would screw up that PD controller. > > Workaround is to set writeback_percent to 0 Tried that but it doesn't seem to start cleaning correctly. Stefan