I came across a paper [1] today talking about improving the Linux swap system for use on SSDs, and I realized that some points made in the paper could be addressed by using bcache 'in reverse', where instead of caching a slower block device it stores pages on behalf of faster memory. Bcache already optimizes for SSDs by writing linearly where possible, using 'buckets' sized to work well with eraseblocks, and taking advantage of high random read performance. The paper advocates doing much the same with swap on SSDs, although it also talks about removing layers of software between the VM and the SSD. Since bcache is an efficient way of storing sparse, fixed-size chunks of data identified by addresses, it might be a really interesting data layout for efficient swap on SSDs. [1] http://pages.cs.wisc.edu/~msaxena/FlashVMpaper.html -- 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