Skip to content

Proper implementation of the treadmill algorithm #517

@caizixian

Description

@caizixian

The current TreadMill is a misnomer, as it uses HashSets rather than linked lists.
It was used during our prototyping phase as a "drop-in" replacement of a real treadmill.

So,

  1. We should implement the actual treadmill algorithm with linked lists
  2. Evaluate the best approach as to scalability of large object allocation. @wenyuzhao has found that our page allocator doesn't scale well with the increasing parallelism on modern CPUs. For certain workload, the scalability of large object allocation might matter, and a simple lock protecting the whole treadmill might not be the best solution

cc @steveblackburn

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions