Skip to content

SlabMemoryPool page size #325

Description

@muratg

From @tmds on March 6, 2018 10:0

SlabMemoryPool is using PageSize.

private static readonly int _pageSize = Environment.SystemPageSize;
private const int _blockCount = 32;

Suppose page size is large, e.g. 2MB. Now our application is using 2MB buffers and a slab is 64MB.
Perhaps it is desired to still use 4KB buffers and have a slab of 2MB?

CC @davidfowl @benaadams

Copied from original issue: aspnet/KestrelHttpServer#2365

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions