Gareth Pye posted on Thu, 11 Aug 2016 15:06:48 +1000 as excerpted:

> Is there some simple muddling of meta data that could be done to force
> dup meta data on deduping SSDs? Like a simple 'random' byte repeated
> often enough it would defeat any sane dedup? I know it would waste data
> but clearly that is considered worth it with dup metadata (what is the
> difference between 50% metadata efficiency and 45%?)

Well, the FTLs are mostly proprietary, AFAIK, so it's probably hard to 
prove the "force", but given the 512-byte sector standard (some are a 
multiple of that these days but 512 should be the minimum), in theory one 
random byte out of every 512 should do it... unless the compression these 
deduping FTLs generally run as well catches that difference and 
compresses it out to a different location where it can be compactly 
stored, allowing multiple copies of the same 512-byte sector to be stored 
in a single sector, so long as they only had a single byte or two 
different.

So it could probably be done, but given that the deduping and compression 
features of these ssds are listed as just that, features, and that people 
buy them for that, it may be that it's better to simply leave well enough 
alone.  Folks who want dup metadata can set it, and if they haven't 
bought one of these ssds with dedup as a feature, they can be reasonably 
sure it'll be set.  And people who don't care will simply get the 
defaults and can live with them the same way that people that don't care 
generally live with defaults that may or may not be the absolute best 
case for them, but are generally at least not horrible.

-- 
Duncan - List replies preferred.   No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master."  Richard Stallman

--
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

Reply via email to