From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joe Thornber Subject: Re: dm-cache warming Date: Mon, 29 Jul 2013 11:40:07 +0100 Message-ID: <20130729104006.GC19261@debian> References: <51F294A0.6080103@cozx.com> <51F640EB.6050701@redhat.com> Reply-To: device-mapper development Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <51F640EB.6050701@redhat.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com To: device-mapper development List-Id: dm-devel.ids On Mon, Jul 29, 2013 at 12:16:11PM +0200, Heinz Mauelshagen wrote: > > Hi, > > dm-cache is a hot-spot cache. Ie. you need multiple accesses to the > same block to get it promoted into the cache (depending on the > policy plugin btw). > > If your patterns is one-time-only access type, it ain't warm the cache. Remember there's the page cache in front of dm-cache too. You may be accessing data many times, but not actually hitting the disk with your requests. - Joe