Can usb pen drives be used as read-cache for a HDD?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

A friend of mine uses an old P4 based laptop for email and web browsing.
Thanks to zram, I was able to reduce swapping to disk - however with
just 512mb ram there is not a lot space for the page cache so the disk
is frequently active re-reading data which would stay in pagecache
otherwise.

Would it make sence to use an old usb pen drive - or even two of them
- as read-cache in writearound mode?
Those pen drives usually suffer from very low random write throughput,
but usually offer arround ~1000IOps for 4k random reads and ~20mb/s
sequentially.
Even if they would die within a few months, I have dozens of them and
data integrity shouldn't be compromized with writearound mode.

Does bcache wait for the caching device (stall the read-in-progres)
when filling the cache by writing to the caching device?
In case the caching device isn't respondig in time (writes to cheap
pen block the device for ~500ms), is bcache able to read from the hdd
instead?

Thank you in advance, Clemens
--
To unsubscribe from this list: send the line "unsubscribe linux-bcache" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux ARM Kernel]     [Linux Filesystem Development]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux