svn commit: r335579 - head/sys/vm

Slawa Olhovchenkov slw at zxy.spb.ru
Mon Jun 25 14:48:52 UTC 2018


On Sat, Jun 23, 2018 at 08:10:10AM +0000, Jeff Roberson wrote:

> Author: jeff
> Date: Sat Jun 23 08:10:09 2018
> New Revision: 335579
> URL: https://svnweb.freebsd.org/changeset/base/335579
> 
> Log:
>   Sort uma_zone fields according to 64 byte cache line with adjacent line
>   prefetch on 64bit architectures.  Prior to this, two lines were needed
>   for the fast path and each line may fetch an unused adjacent neighbor.
>    - Move fields used by the fast path into a single line.
>    - Move constants into the adjacent line which is mostly used for
>      the spare bucket alloc 'medium path'.
>    - Unpad the mtx which is only used by the fast path and place it in
>      a line with rarely used data.  This aligns the cachelines better and
>      eliminates 128 bytes of wasted space.
>   
>   This gives a 45% improvement on a will-it-scale test on a 24 core machine.

Can this commint mergered to stable/11? Or this commit depends on other commits?


More information about the svn-src-head mailing list