I understand that modern SSDs can withstand a significant amount of writes, and so using an SSD for swap seems like a reasonable proposition. However minimising writes still seems like a good idea. My experience with compcache/ramzswap suggests that swap compresses quite well, I tend to get a 4:1 compression ratio. Furthermore, I understand that we can work around the data corruption that usually occurs when using a swapfile on a btrfs partion, by using a loopback device. Given this, my question is: Does it sound like a good idea to use compress=lzo for swapfiles to reduce the amount of data written to the SSD, when using SSD drives that do not use compression internally? -- John C. McCabe-Dansted -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
