Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Jun 2018 17:48:43 +0300
From:      Slawa Olhovchenkov <slw@zxy.spb.ru>
To:        Jeff Roberson <jeff@FreeBSD.org>
Cc:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r335579 - head/sys/vm
Message-ID:  <20180625144843.GB2488@zxy.spb.ru>
In-Reply-To: <201806230810.w5N8AAr2037440@repo.freebsd.org>
References:  <201806230810.w5N8AAr2037440@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20180625144843.GB2488>