Subject: Re: largepage success
To: Jason R Thorpe <thorpej@zembu.com>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: port-i386
Date: 09/11/2000 20:25:27
On Mon, Sep 11, 2000 at 11:13:08AM -0700, Jason R Thorpe wrote:
> If you're running userspace-intensive code, the boost is likely to be
> less.  In my particular application, I'm going to be running mostly
> system/interrupt time (around 80% combined system/interrupt time), so
> having the kernel text mapped w/ only 1 ITLB entry is going to be a big
> help.

Well, I just tried to reproduce the you got. But now that I'm thinking about
it, I was using 'make -j16', and with 16 proc running maybe we run out of
TBL entries on i386 anyway ?
I'll try again with -j2

> 
> I'm also working on some changes to the pool allocator which will allow
> for "pages reserved for pools", with hooks to allow those reserved pages
> to be mapped using large DTLB entries.  In my target application, using
> such reserved-page pools for e.g. mbufs/clusters could show a fair amount
> of improvement in ip forwarding/ipsec performance.  We'll see, I haven't
> run my experiments yet.

Sure, I guess for such patterns the gain can be big. Maybe also for buffer
cache pages ?

--
Manuel Bouyer, LIP6, Universite Paris VI.           Manuel.Bouyer@lip6.fr
--