> Very good points, > > I was also gonna write something by the lines of 'all that matters is > achieving the minimum amount of redundancy, as requested by the user, > at the maximum possible performance'. > > After reading your post now, Roger, I'm much more clear on what I > actually wanted to say, which is pretty much the same thing: > > In paradise really all I would have to tell btrfs is how many drives > I'm willing to give away so that they will be used exclusively for > redundancy. Everything else btrfs should figure out by itself. Not > just because it's simpler for the user, but also because btrfs > actually is in a position to KNOW better. > > As Roger said, as long as the given minimum redundancy quota is > filled, btrfs could make choices that favor either even more > redundancy or more performance based on my usage of the filesystem by > meassuring things like throughput, ioops or space used. I could > imagine that a snail filesystem that barely fills and doesn't do whole > lot could easily work itself up on building huge redunancy, while a > filesystem that requires high performance would do excessive striping > to achieve maximum performance, while only keeping the minimum > requested redundancy intact. > > It sounds quite futuristic to me, but it is definitely something that > we have to achieve hopefully rather sooner than later :) > > I'm looking forward to it!
I have to add something to my own message: Even the notion of thinking in 'how many devices do I want to give away for redundancy' is outdated... What it really comes down to is how much space am I willing to sacrifice so that my reliablilty is increasing. Rather than addressing that at a per-drive level with a futuristic fs like btrfs I think setting a percent value of total space would be best. Here are my n hard drives, I want to give up thirty percent of maximum space so that basically I can lose that amount of space across any device combination and be safe. Do this for me and do it at maximum possible performance with the device count, and type, and sizes that I've given you. And if I'm not using the filesystem much, if I have tons of space free, feel free to build even more redundancy while idle. This is pretty much what it would be like in a perfect world, in my opinion :) -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html