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
From @tmds on March 6, 2018 10:0
SlabMemoryPool is using PageSize.
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