[Users] RE: Trouble getting the 4G (a.k.a. hugemem) patch to work.

Kirill Korotaev dev at parallels.com
Thu Apr 9 09:07:34 EDT 2009


default OpenVZ kernel is built with 3GB / 4GB split, not 4/4. for
compatibility with some old java versions.
So user space is limited to 3GB as usually.

On 4/9/09 4:30 PM, "Edward Hibbert" <Edward.Hibbert at metaswitch.com> wrote:

> One other bit of info; I'm fairly sure that the 4G patch is built in to the
> kernel, because I can see this during the boot sequence:
>  
> mapped 4G/4G trampoline to fff6d000.
> So that leaves me baffled as to why I can't get a process above 3G.
> 
> 
> From: Edward Hibbert
> Sent: 09 April 2009 11:41
> To: 'users at openvz.org'
> Subject: Trouble getting the 4G (a.k.a. hugemem) patch to work.
> 
> Apologies if this is a dumb FAQ.
>  
> I'm trying to get a kernel with what's known in the RedHat world as hugemem,
> i.e. 4G user space.  I've downloaded a -ent version of the 2.6.18 kernel, and
> also tried building one myself, but neither of these seems to allow me to
> exceed 3G.  
>  
> The source code does seem to have 4G macros in it, and I find it hard to
> believe that the patch simply doesn't work - so I'm more inclined to think I'm
> doing something stupid.
>  
> Any suggestions?  Yes, yes, I know we should move to 64-bit, but that's not an
> option right now.
>  
> Regards,
>  
> Edward.




More information about the Users mailing list