Skip to contentSkip to conversation

Slides from Ceph talk at linux.conf.au?

DISCUSSION Craig Dunwoody 3 participants 6 messages Feb 2, 2010 – Feb 7, 2010

lore
Share & tools
lore
#0 lore raw

Hello Sage,

Could you make available the slides from your recent Ceph talk at linux.conf.au? I'd be very interested to see them, and I expect that others here would as well.

Craig Dunwoody
GraphStream Incorporated

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com

#1 lore raw

Hi Craig,

Quoted 5 lines · Craig Dunwoody

Hello Sage,

Could you make available the slides from your recent Ceph talk at linux.conf.au? I'd be very interested to see them, and I expect that others here would as well.

I've posted the openoffice presentation at

http://ceph.newdream.net/presentations/

There's also a PDF version, although some slides may look weird due to the animated figures.

I think LCA should have the slides (and video) up soon for all the talks as well.

Enjoy!
sage

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com

#2 lore raw

Hi Sage,

Quoted 6 lines · sage

I've posted the openoffice presentation at
http://ceph.newdream.net/presentations/
There's also a PDF version, although some slides may look weird due to the animated figures.
I think LCA should have the slides (and video) up soon for all the talks as well.

Great presentation, thanks for posting this!

Craig Dunwoody
GraphStream Incorporated

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com

#3 lore raw

Hard links

In reply to Sage Weil

G'day Sage,

Quoted 3 lines · Sage Weil <sage <at> newdream.net> writes:

I've posted the openoffice presentation at

http://ceph.newdream.net/presentations/

The last slide (39) mentions "Hard links are rare!".

This isn't necessarily true in a backup system where each snapshot hard links to the previous snapshot for files that haven't changed, e.g. an 'rsnapshot' installation.

For some hard numbers, one of our server backups has 72316 files in yesterday's set, with only 194 not hard linked, and 62141 have 76 hard links (there are currently 76 days of backups for this server). This is one of 66 servers being backed up to this one 4.5 TB storage pool.

Does the "hard links are rare" assertion imply that ceph may have some issues (e.g. hard limits or performance) handling very large numbers of hard links?

E.g. I see that hard links are mentioned in your Dec 2007 dissertation on ceph, along with the use of an anchor table which is "managed by a single MDS". Might this be an issue (e.g. a 'hot spot') for situations with a large number of hard links such as that described above?

Cheers,

Chris

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com

#4 lore raw

Re: Hard links

Quoted 23 lines · Chris Dunlop

G'day Sage,

Quoted 3 lines · Sage Weil <sage <at> newdream.net> writes:

I've posted the openoffice presentation at

http://ceph.newdream.net/presentations/

The last slide (39) mentions "Hard links are rare!".

This isn't necessarily true in a backup system where each snapshot hard links to the previous snapshot for files that haven't changed, e.g. an 'rsnapshot' installation.

For some hard numbers, one of our server backups has 72316 files in yesterday's set, with only 194 not hard linked, and 62141 have 76 hard links (there are currently 76 days of backups for this server). This is one of 66 servers being backed up to this one 4.5 TB storage pool.

Does the "hard links are rare" assertion imply that ceph may have some issues (e.g. hard limits or performance) handling very large numbers of hard links?

Quoted 5 lines

E.g. I see that hard links are mentioned in your Dec 2007 dissertation on ceph, along with the use of an anchor table which is "managed by a single MDS". Might this be an issue (e.g. a 'hot spot') for situations with a large number of hard links such as that described above?

Yes and no. The performance impact of hard links is low for the common backup scenario, but the anchor table scaling has not been address (it's still a single MDS).

What slide 39 doesn't include is a description of the figure. One of the most common use scenarios of hard links is what I called 'parallel' links, where many files in one directory are all hard linked to parallel files in a different directory, which is exactly what you see with cp -al or rsnapshot. In that case, the cost of doing a lookup in the anchor table is amortized over the whole directory.

The anchor table is still maintained by a single MDS, though, and it's all in RAM at once, so it will be a scaling problem if the fs has a lot of hard links. That just needs some design attention at some point.

sage

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com

#5 lore raw

Re: Hard links

Quoted 22 lines · Sage Weil <sage <at> newdream.net> writes:
Quoted 9 lines · Chris Dunlop

Does the "hard links are rare" assertion imply that ceph may have some issues (e.g. hard limits or performance) handling very large numbers of hard links?

E.g. I see that hard links are mentioned in your Dec 2007 dissertation on ceph, along with the use of an anchor table which is "managed by a single MDS". Might this be an issue (e.g. a 'hot spot') for situations with a large number of hard links such as that described above?

Yes and no. The performance impact of hard links is low for the common backup scenario, but the anchor table scaling has not been address (it's still a single MDS).

What slide 39 doesn't include is a description of the figure. One of the most common use scenarios of hard links is what I called 'parallel' links, where many files in one directory are all hard linked to parallel files in a different directory, which is exactly what you see with cp -al or rsnapshot. In that case, the cost of doing a lookup in the anchor table is amortized over the whole directory.

Quoted 3 lines

The anchor table is still maintained by a single MDS, though, and it's all in RAM at once, so it will be a scaling problem if the fs has a lot of hard links. That just needs some design attention at some point.

"Just a small matter of designing and coding..." :-)

With the current design of the anchor table maintained by a single MDS, does this have an impact on the resiliancy of the system? Specifically, what happens if that one MDS becomes unavailable?

How much memory does the anchor table require? E.g. for a million, or 100 million hard links?

Chris

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com