[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1317797627.3099.1.camel@edumazet-laptop>
Date:	Wed, 05 Oct 2011 08:53:47 +0200
From:	Eric Dumazet <eric.dumazet@...il.com>
To:	starlight@...nacle.cx
Cc:	linux-kernel@...r.kernel.org, netdev <netdev@...r.kernel.org>,
	Willy Tarreau <w@....eu>,
	Peter Zijlstra <a.p.zijlstra@...llo.nl>,
	Stephen Hemminger <stephen.hemminger@...tta.com>
Subject: Re: big picture UDP/IP performance question re 2.6.18 -> 2.6.32
Le lundi 03 octobre 2011 à 14:02 -0400, starlight@...nacle.cx a écrit :
> At 06:16 PM 10/3/2011 +0200, Eric Dumazet wrote:
> >
> >It seems you use 4096 2MB hugepages, and your
> >machine has 1GB pages availabe, you could
> >try to use them.
> >
> >(boot cmd : hugepagesz=1GB hugepages=8 )
> 
> Tried it and got errno 12 on the segment
> allocations.  None were allocated, though
> the count is six and the largest is exactly
> 1GB.  Don't have time to dig into it.
> 
Thats pretty normal ;)
With 2MB pages, your segment size must be a 2MB multiple.
With 1GB pages, your segment size must be a .... 1GB multiple.
So only applicable is say you handle one big 8GB segment for example, or
2 4GB segments... Well you see the picture.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/
Powered by blists - more mailing lists
 
