* speed up dirty data cleaning
@ 2013-11-07 13:09 Stefan Priebe - Profihost AG
[not found] ` <527B90EF.10404-2Lf/h1ldwEHR5kwTpVNS9A@public.gmane.org>
0 siblings, 1 reply; 4+ messages in thread
From: Stefan Priebe - Profihost AG @ 2013-11-07 13:09 UTC (permalink / raw)
To: linux-bcache-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Hi,
today i had the problem that my caching device was nearly full and
bcache seemed tom react very slowly. Strangely i did not see continues
writes to the disk to clean the cache.
Is there any way to speed up dirty data cleaning.
Stefan
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: speed up dirty data cleaning
[not found] ` <527B90EF.10404-2Lf/h1ldwEHR5kwTpVNS9A@public.gmane.org>
@ 2013-11-07 15:18 ` Stefan Priebe - Profihost AG
[not found] ` <527BAF4B.9080609-2Lf/h1ldwEHR5kwTpVNS9A@public.gmane.org>
0 siblings, 1 reply; 4+ messages in thread
From: Stefan Priebe - Profihost AG @ 2013-11-07 15:18 UTC (permalink / raw)
To: linux-bcache-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
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.
Stefan
Am 07.11.2013 14:09, schrieb Stefan Priebe - Profihost AG:
> Hi,
>
> today i had the problem that my caching device was nearly full and
> bcache seemed tom react very slowly. Strangely i did not see continues
> writes to the disk to clean the cache.
>
> Is there any way to speed up dirty data cleaning.
>
> Stefan
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: speed up dirty data cleaning
[not found] ` <527BAF4B.9080609-2Lf/h1ldwEHR5kwTpVNS9A@public.gmane.org>
@ 2013-11-08 2:49 ` Kent Overstreet
2013-11-08 7:19 ` Stefan Priebe - Profihost AG
0 siblings, 1 reply; 4+ messages in thread
From: Kent Overstreet @ 2013-11-08 2:49 UTC (permalink / raw)
To: Stefan Priebe - Profihost AG
Cc: linux-bcache-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: speed up dirty data cleaning
2013-11-08 2:49 ` Kent Overstreet
@ 2013-11-08 7:19 ` Stefan Priebe - Profihost AG
0 siblings, 0 replies; 4+ messages in thread
From: Stefan Priebe - Profihost AG @ 2013-11-08 7:19 UTC (permalink / raw)
To: Kent Overstreet; +Cc: linux-bcache-u79uwXL29TY76Z2rM5mHXA@public.gmane.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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-11-08 7:19 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-07 13:09 speed up dirty data cleaning Stefan Priebe - Profihost AG
[not found] ` <527B90EF.10404-2Lf/h1ldwEHR5kwTpVNS9A@public.gmane.org>
2013-11-07 15:18 ` Stefan Priebe - Profihost AG
[not found] ` <527BAF4B.9080609-2Lf/h1ldwEHR5kwTpVNS9A@public.gmane.org>
2013-11-08 2:49 ` Kent Overstreet
2013-11-08 7:19 ` Stefan Priebe - Profihost AG
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).