All of lore.kernel.org
 help / color / mirror / Atom feed
* Read cache contents cleared on boot?
@ 2013-11-06 22:08 Larkin Lowrey
  2013-12-08 18:32 ` Rolf Fokkens
  0 siblings, 1 reply; 3+ messages in thread
From: Larkin Lowrey @ 2013-11-06 22:08 UTC (permalink / raw)
  To: linux-bcache-u79uwXL29TY76Z2rM5mHXA

When I boot my cache usage returns to 1.3GB even when it was nearly full
at shutdown (as reported by bcache-status). Are the read cache contents
not retained across a reboot?

I'm running fedora 19 w/ kernel-3.11.6-201.fc19.x86_64 and bcache-tools
built from git yesterday afternoon.

The machine in question is a backup server that boots nightly (via WOL)
runs all backup jobs then shuts down. The backup process spends most of
its time seeking (probably inodes) and I was hoping that the cache would
be warm on boot so those random reads would come from cache.

The cache device is a 48GB LVM LV on top of a 2 disk raid1 (60GB SSDs).
The backing devices are two 16 drive md raid6 arrays which act as LVM PVs.

Backup run time has not improved which supports the idea that the read
cache is empty on boot.

--Larkin

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-12-10 23:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-06 22:08 Read cache contents cleared on boot? Larkin Lowrey
2013-12-08 18:32 ` Rolf Fokkens
2013-12-10 23:25   ` Larkin Lowrey

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.