Skip to contentSkip to conversation

Block-level de-duplication?

DISCUSSION Ken D'Ambrosio 4 participants 5 messages Jun 15, 2011 Btrfs file system

lore
Share & tools
lore
#0 lore raw

Hey, all. I'm just wondering if synchronous byte-level de-duplication is something that's even on the stove, or if it's just in the nebulous, "Yeah, maybe sometime" category?

Thanks!

-Ken

#1 lore raw
Quoted 4 lines · Ken D'Ambrosio

Hey, all. I'm just wondering if synchronous byte-level de-duplication is something that's even on the stove, or if it's just in the nebulous, "Yeah, maybe sometime" category?

The latter.

Josef

#2 lore raw
In reply to Ken D'Ambrosio
Quoted 3 lines · Ken D'Ambrosio

Hey, all. I'm just wondering if synchronous byte-level de-duplication is something that's even on the stove, or if it's just in the nebulous, "Yeah, maybe sometime" category?

Josef posted a prototype deduplicator to this list earlier in the
year, as an RFC. It caused a lot of discussion about what was wanted in dedup, but I don't think anyone took it any further than that.

Hugo.

Signature · 4 lines
=== Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk ===
  PGP key: 515C238D from wwwkeys.eu.pgp.net or http://www.carfax.org.uk
    --- Anyone using a computer to generate random numbers is, of ---    
                       course,  in a state of sin.                       
#3 lore raw

Too bad it's not pushed further than that :( That really could be a good feature saving a lot of space for some use cases ! Is encryption as well banned to end of the pipe ?

I was wondering : is there a tracker with the roadmap, the bugs/features in the pipe for the next releases ?

Wilfrid

2011/6/15 Hugo Mills <[email protected]>:

Quoted 2 lines · Ken D'Ambrosio
Quoted 1 line

Hey, all. =A0I'm just wondering if synchronous byte-level de-duplica=

tion is

Quoted 11 lines
Quoted 2 lines

something that's even on the stove, or if it's just in the nebulous, "Yeah, maybe sometime" category?

=A0 Josef posted a prototype deduplicator to this list earlier in the year, as an RFC. It caused a lot of discussion about what was wanted in dedup, but I don't think anyone took it any further than that.

=A0 Hugo.

--
=3D=3D=3D Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.=

org.uk =3D=3D=3D

Quoted 1 line

=A0PGP key: 515C238D from wwwkeys.eu.pgp.net or http://www.carfax.org=

=2Euk

Quoted 1 line

=A0 =A0--- Anyone using a computer to generate random numbers is, of =

---

Quoted 1 line

=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 course, =A0in a state of =

sin.

Quoted 10 lines

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iD8DBQFN+M8VIKyzvlFcI40RApQEAKC4F7cGdaTlCT19/dEOJJYS2K4edQCeImtQ WzE2Vz/br5sKMhgr3UJjAHs=3D
=3D08oK
-----END PGP SIGNATURE-----

--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" = in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#4 lore raw
Quoted 2 lines · Wilfrid Allembrand

Too bad it's not pushed further than that :( That really could be a good feature saving a lot of space for some use cases !

There are several different use cases, with different requirements.
My memory of the earlier discussion was that there would probably need to be two different implementations of deduplication -- one "offline" batch mode (examining the whole filesystem in one go), and one "online" incremental mode (deduplication as data is written to disk).

That complexity, plus what I think are probably some awkward corner
cases, is probably the main reason that nobody's working on dedup right now. Oh, and that there's only a handful of people actually developing code, and they've all got other (btrfs) work on their hands right now.

It's also not a feature we see many requests for -- fsck, changing
RAID levels, and RAID-5/6 are probably the most requested, from what I can see. All of those are currently in progress at some level.

Quoted 1 line

Is encryption as well banned to end of the pipe ?

Good encryption is *hard*. We've got good and reliable encryption
algorithm implementations in the kernel, which gives us half of the job. The other half, however, is just as difficult, if not more so -- managing things like keys and block chaining methods (and probably other stuff that I don't know about because I'm not a cryptographer). None of the major developers on btrfs have (as far as I'm aware) much experience of designing or implementing encryption systems, so it's generally being deferred, because there are easier things with just as large an impact to work on; at the very least, if they're not easier, they're generally easier to work out when you've made a mistake...

Quoted 2 lines

I was wondering : is there a tracker with the roadmap, the bugs/features in the pipe for the next releases ?

No, probably the closest we've got is the project ideas page[1] on
the wiki.

Hugo.

[1] https://btrfs.wiki.kernel.org/index.php/Project_ideas

Quoted 31 lines

2011/6/15 Hugo Mills <[email protected]>:

Quoted 17 lines · Ken D'Ambrosio
Quoted 3 lines

Hey, all.  I'm just wondering if synchronous byte-level de-duplication is something that's even on the stove, or if it's just in the nebulous, "Yeah, maybe sometime" category?

  Josef posted a prototype deduplicator to this list earlier in the year, as an RFC. It caused a lot of discussion about what was wanted in dedup, but I don't think anyone took it any further than that.

  Hugo.

--
=== Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 515C238D from wwwkeys.eu.pgp.net or http://www.carfax.org.uk
   --- Anyone using a computer to generate random numbers is, of --- course,  in a state of sin.

Quoted 9 lines

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iD8DBQFN+M8VIKyzvlFcI40RApQEAKC4F7cGdaTlCT19/dEOJJYS2K4edQCeImtQ WzE2Vz/br5sKMhgr3UJjAHs=
=08oK
-----END PGP SIGNATURE-----

--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

Signature · 4 lines
=== Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk ===
  PGP key: 515C238D from wwwkeys.eu.pgp.net or http://www.carfax.org.uk
  --- There are three things you should never see being made: laws, ---  
                        standards,  and sausages.