Date: Mon, 20 Nov 2017 22:22:50 -0800 From: Marcel Moolenaar <marcel@xcllnt.net> To: Justin Hibbits <jhibbits@FreeBSD.org> Cc: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r326045 - head/sys/powerpc/booke Message-ID: <DE43E3D7-6EE7-4CB1-A293-A17F80A4FDBD@xcllnt.net> In-Reply-To: <201711210312.vAL3CG1x022763@repo.freebsd.org> References: <201711210312.vAL3CG1x022763@repo.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
> On Nov 20, 2017, at 7:12 PM, Justin Hibbits <jhibbits@FreeBSD.org> = wrote: >=20 > Author: jhibbits > Date: Tue Nov 21 03:12:16 2017 > New Revision: 326045 > URL: https://svnweb.freebsd.org/changeset/base/326045 >=20 > Log: > Check the page table before TLB1 in pmap_kextract() >=20 > The vast majority of pmap_kextract() calls are looking for a physical = memory > address, not a device address. By checking the page table first this = saves > the formerly inevitable 64 (on e500mc and derivatives) iteration loop > through TLB1 in the most common cases. >=20 > Benchmarking this on the P5020 (e5500 core) yields a 300% throughput > improvement on dtsec(4) (115Mbit/s -> 460Mbit/s) measured with iperf. >=20 > Benchmarked on the P1022 (e500v2 core, 16 TLB1 entries) yields a 50% > throughput improvement on tsec(4) (~93Mbit/s -> 165Mbit/s) measured = with > iperf. Nice! --=20 Marcel Moolenaar marcel@xcllnt.net
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?DE43E3D7-6EE7-4CB1-A293-A17F80A4FDBD>