Skip to content

Experiment with small run dirty page purging. #25

Closed

Description

@jasone

Experiment with small run dirty page purging -- tracking which pages within active small runs are unused and dirty. The motivation for this is to enable "medium" size classes in the [4 KiB ..16 KiB) range that are not even multiples of 4 KiB, and thereby reduce worst case internal fragmentation (a 4097-byte allocation currently consumes 8KiB).

Much of the bookkeeping can be done under the protection of bin locks, but the ndirty counters in the chunk headers and arenas will probably need to be protected by atomic operations (currently protected by arena locks).

Activity

  1. ghost assigned on Oct 30, 2013
  2. jasone commented on Sep 10, 2014

    @jasone
    MemberAuthor

    This may prove difficult to integrate with the new LRU-based dirty page purging, but medium size classes remain a goal for the 4.0.0 release, so I'm leaving this issue open for now.

  3. jasone commented on Sep 29, 2014

    @jasone
    MemberAuthor

    #77 has gone in a direction that doesn't depend on small run dirty page purging, so I'm closing this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions