Skip to contentSkip to conversation

ceph performance call: buffer

DISCUSSION Matt W. Benjamin 2 participants 4 messages Oct 16, 2014

lore
Share & tools
lore
#0 lore raw

Hi Folks,

Per yesterday's Ceph performance call, we've pushed 2 wip branches for review and feedback to https://github.com/linuxbox2/linuxbox-ceph.git .

1. xio-v084-inline reorganizes ceph::buffer as a namespace, and (nearly) all of buffer::hash, buffer::ptr and buffer::list as inline

2. xio-v084-inline-flat restores some raw encapsulation lost in the prior change, then refactors buffer::raw to remove virtual methods

We've made some effort to measure the impact of the changes, but don't have
reliable data yet. (It's possible that our initial impression of improvement from the inlining change was not accurate, but more likely we need better workload tests.)

In addition, we've been working on an experiment to refactor buffer::ptr and buffer::raw to use boost::intrusive::list, to unify the interfaces of the two types to permit interning buffer::raw directly on the containing list when there is no sharing, and a slab allocator for both types. We plan to push a wip branch with these changes to when they've stabilized a bit more and/or we have real perf numbers.

Thanks,

Matt

Signature · 10 lines
Matt Benjamin
CohortFS, LLC.
206 South Fifth Ave. Suite 150
Ann Arbor, MI  48104

http://cohortfs.com

tel.  734-761-4689 
fax.  734-769-8938 
cel.  734-216-5309 
#1 lore raw

Hi Matt,

You will probably be interested in

Quoted 19 lines · Matt W. Benjamin

Hi Folks,

Per yesterday's Ceph performance call, we've pushed 2 wip branches for review and feedback to https://github.com/linuxbox2/linuxbox-ceph.git .

1. xio-v084-inline reorganizes ceph::buffer as a namespace, and (nearly) all of buffer::hash, buffer::ptr and buffer::list as inline

2. xio-v084-inline-flat restores some raw encapsulation lost in the prior change, then refactors buffer::raw to remove virtual methods

We've made some effort to measure the impact of the changes, but don't have
reliable data yet. (It's possible that our initial impression of improvement from the inlining change was not accurate, but more likely we need better workload tests.)

In addition, we've been working on an experiment to refactor buffer::ptr and buffer::raw to use boost::intrusive::list, to unify the interfaces of the two types to permit interning buffer::raw directly on the containing list when there is no sharing, and a slab allocator for both types. We plan to push a wip branch with these changes to when they've stabilized a bit more and/or we have real perf numbers.

Thanks,

Matt

Signature · 1 line
Loïc Dachary, Artisan Logiciel Libre
#2 lore raw

Hi Again,

Quoted 3 lines · Loic Dachary

Hi Matt,

You will probably be interested in

(I have to find which sequence of keys send out the mail by accident... :-)

https://github.com/ceph/ceph/pull/2595

and

https://github.com/dachary/ceph/commit/734e555c640a3b5e9bbf0329bd524cffaca61c4f

in particular. It does not do anything performance wise but it's going to be merged in the not-to-distant future.

Cheers

Quoted 22 lines · Matt W. Benjamin
Quoted 19 lines

Hi Folks,

Per yesterday's Ceph performance call, we've pushed 2 wip branches for review and feedback to https://github.com/linuxbox2/linuxbox-ceph.git .

1. xio-v084-inline reorganizes ceph::buffer as a namespace, and (nearly) all of buffer::hash, buffer::ptr and buffer::list as inline

2. xio-v084-inline-flat restores some raw encapsulation lost in the prior change, then refactors buffer::raw to remove virtual methods

We've made some effort to measure the impact of the changes, but don't have
reliable data yet. (It's possible that our initial impression of improvement from the inlining change was not accurate, but more likely we need better workload tests.)

In addition, we've been working on an experiment to refactor buffer::ptr and buffer::raw to use boost::intrusive::list, to unify the interfaces of the two types to permit interning buffer::raw directly on the containing list when there is no sharing, and a slab allocator for both types. We plan to push a wip branch with these changes to when they've stabilized a bit more and/or we have real perf numbers.

Thanks,

Matt

Signature · 1 line
Loïc Dachary, Artisan Logiciel Libre
#3 lore raw

Ack, very interested in that :).

Matt

Quoted 59 lines · ----- "Loic Dachary

Hi Again,

Quoted 3 lines · Loic Dachary

Hi Matt,

You will probably be interested in

(I have to find which sequence of keys send out the mail by accident... :-)

https://github.com/ceph/ceph/pull/2595

and

https://github.com/dachary/ceph/commit/734e555c640a3b5e9bbf0329bd524cffaca61c4f

in particular. It does not do anything performance wise but it's going to be merged in the not-to-distant future.

Cheers

Quoted 5 lines · Matt W. Benjamin
Quoted 3 lines

Hi Folks,

Per yesterday's Ceph performance call, we've pushed 2 wip branches

for review and feedback to
https://github.com/linuxbox2/linuxbox-ceph.git .

Quoted 2 lines
Quoted 2 lines

1. xio-v084-inline reorganizes ceph::buffer as a namespace, and

(nearly) all of

Quoted 3 lines
Quoted 3 lines

buffer::hash, buffer::ptr and buffer::list as inline

2. xio-v084-inline-flat restores some raw encapsulation lost in the

prior change,

Quoted 3 lines
Quoted 3 lines

then refactors buffer::raw to remove virtual methods

We've made some effort to measure the impact of the changes, but

don't have

Quoted 1 line
Quoted 1 line

reliable data yet. (It's possible that our initial impression of

improvement from the inlining change was not accurate, but more likely we need better workload tests.)

Quoted 2 lines
Quoted 2 lines

In addition, we've been working on an experiment to refactor

buffer::ptr and buffer::raw to use boost::intrusive::list, to unify the interfaces of the two types to permit interning buffer::raw directly on the containing list when there is no sharing, and a slab allocator for both types. We plan to push a wip branch with these changes to when they've stabilized a bit more and/or we have real perf numbers.

Quoted 6 lines
Quoted 5 lines

Thanks,

Matt

Signature · 1 line
Loïc Dachary, Artisan Logiciel Libre
Signature · 14 lines
Matt Benjamin
CohortFS, LLC.
206 South Fifth Ave. Suite 150
Ann Arbor, MI  48104

http://cohortfs.com

tel.  734-761-4689 
fax.  734-769-8938 
cel.  734-216-5309 
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html