[PATCH v4 3/8] mem-pool: only search head block for available space

2018-06-20 Thread Jameson Miller
Instead of searching all memory blocks for available space to fulfill a memory request, only search the head block. If the head block does not have space, assume that previous block would most likely not be able to fulfill request either. This could potentially lead to more memory fragmentation, bu

Re: [PATCH v4 3/8] mem-pool: only search head block for available space

2018-06-21 Thread Stefan Beller
On Wed, Jun 20, 2018 at 1:17 PM Jameson Miller wrote: > > Instead of searching all memory blocks for available space to fulfill > a memory request, only search the head block. If the head block does > not have space, assume that previous block would most likely not be > able to fulfill request eit

RE: [PATCH v4 3/8] mem-pool: only search head block for available space

2018-06-28 Thread Jameson Miller
> Do we have any numbers on performance or memory pressure here? > (I would think benchmarking fast-import would suffice as that is where the mem > pool originated) I ran fast-import on the git.git and linux.git repositories - this action reports the overall memory allocated to pools. The overal