From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: 1G huge pages in Linux guest VM Date: Wed, 09 May 2012 12:55:00 +0300 Message-ID: <4FAA3EF4.4060700@redhat.com> References: <1336502330.2588.YahooMailClassic@web160505.mail.bf1.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org To: Sriram Murthy Return-path: Received: from mx1.redhat.com ([209.132.183.28]:51468 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755724Ab2EIJzC (ORCPT ); Wed, 9 May 2012 05:55:02 -0400 In-Reply-To: <1336502330.2588.YahooMailClassic@web160505.mail.bf1.yahoo.com> Sender: kvm-owner@vger.kernel.org List-ID: On 05/08/2012 09:38 PM, Sriram Murthy wrote: > Hi, > I wanted to know if we can pass a hugetlbfs with pagesize=1G created on the host to a Linux guest (The host is running RHEL 6.2 - x86_64 on Intel Westmere)?. Yes, this is supported. > I am using RHEL 6.2 on the host and guest and the processor that has been passed by KVM to the guest is Intel Westmere and has the pdpe1gb flag set. Does this mean that the guest supports 1G huge pages? Yes. Note 1gb hugepages on the guest are supported even if not provided by the host (of course the performance improvement will be smaller). -- error compiling committee.c: too many arguments to function