Skip to content

Create an arena allocator with hugepages and locked memory #204

Open

Description

@Morcules
  • Allocate huge pages at swiftnet_initialize (2048Kb)
  • Dynamically allocate more huge pages as arena grows (start with 20Mb)
  • Get hugepage ptr using mmap
  • Lock the memory using mlock
  • Replace every single malloc with arena allocation and also make datatype_allocator use the arena
  • Make swiftnet_create_buffer use the arena

Activity

  1. added this to the 0.5.0 milestone on Jun 16, 2026
  2. added
    enhancement
    on Jun 16, 2026
  3. removed this from the 0.5.0 milestone on Jul 24, 2026
  4. added this to the 0.7.0 milestone on Oct 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementhard

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions