Skip to content

Create an arena allocator with hugepages and locked memory #204

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions