Project

General

Profile

Actions

Feature #3926

closed

krbd: use slab allocation for common data structures

Added by Alex Elder about 11 years ago. Updated almost 11 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
% Done:

0%

Source:
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

There are some common data structures--like image and object
requests--that are very frequently allocated and would probably
benefit from the creation of their own memory slabs. This is
fairly easy to implement.

Actions #1

Updated by Ian Colle almost 11 years ago

  • Target version set to v0.63
Actions #2

Updated by Ian Colle almost 11 years ago

  • Translation missing: en.field_story_points set to 3.00
Actions #3

Updated by Alex Elder almost 11 years ago

The following patches have been posted for review.
They are available in the "review/wip-slabs" branch
of the ceph-client git repository.

This series adds some slab caches for structures related
to rbd osd requests.

-Alex

[PATCH 1/4] rbd: allocate image requests with a slab allocator
[PATCH 2/4] rbd: allocate name separate from obj_request
[PATCH 3/4] rbd: allocate object requests with a slab allocator
[PATCH 4/4] rbd: allocate image object names with a slab allocator

Actions #4

Updated by Alex Elder almost 11 years ago

  • Status changed from New to Fix Under Review

In addition to those in rbd, the following patches
for libceph have been posted for review. They are
also available in the "review/wip-slabs" branch
of the ceph-client git repository.

This series adds slab caches to some frequently-allocated
data structures in the messenger and the osd client.

-Alex

[PATCH 1/3] libceph: allocate ceph messages with a slab allocator
[PATCH 2/3] libceph: allocate ceph message data with a slab
[PATCH 3/3] libceph: use slab cache for osd client requests

Actions #5

Updated by Alex Elder almost 11 years ago

  • Status changed from Fix Under Review to Resolved

The following have been committed to the "testing" branch
of the ceph-client git repository:

1c2a9df rbd: allocate image requests with a slab allocator
f907ad5 rbd: allocate name separate from obj_request
868311b rbd: allocate object requests with a slab allocator
78c2a44 rbd: allocate image object names with a slab allocator
e3d5d63 libceph: allocate ceph messages with a slab allocator
81b36be libceph: allocate ceph message data with a slab allocator
5522ae0 libceph: use slab cache for osd client requests

Actions

Also available in: Atom PDF