Bug 527670 - Huge Page Backed Memory Failed for Kqemu Guests
Summary: Huge Page Backed Memory Failed for Kqemu Guests
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: qemu
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Glauber Costa
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-10-07 09:58 UTC by Qian Cai
Modified: 2009-10-07 11:10 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-10-07 11:10:17 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
guest XML file (1.48 KB, text/plain)
2009-10-07 09:58 UTC, Qian Cai
no flags Details

Description Qian Cai 2009-10-07 09:58:33 UTC
Created attachment 363941 [details]
guest XML file

Description of problem:
After configured hugepages for a kqemu guest, there is no sign of hugepages usage when starting the guest.

# cat /proc/meminfo
...
HugePages_Total:     600
HugePages_Free:      600
HugePages_Rsvd:        0
HugePages_Surp:        0
Hugepagesize:       2048 kB
...

Does hugepages suppose to be working there?

Version-Release number of selected component (if applicable):
libvirt-0.7.1-8.fc12.x86_64
kqemu-1.4.0pre1
qemu-0.11.0-3.fc12.x86_64

How reproducible:
always

Steps to Reproduce:
1. configure hugepages in the host.
2. virsh edit <guest> to use hugepages backed memory.
3. virsh start <guest>.
4. check /proc/meminfo
  
Actual results:
HugePages_Free is not reduced.

Expected results:
HugePages_Free should be reduced.

Comment 1 Daniel Berrangé 2009-10-07 10:12:10 UTC
Do you really mean kqemu and not kvm ?  

We do not ship kqemu in Fedora, and upstream QEMU has deleted all code relating to kqemu so its use is not supported in any way, nor likely tobe in the future.

Comment 2 Qian Cai 2009-10-07 11:03:26 UTC
(In reply to comment #1)
> Do you really mean kqemu and not kvm ?  

Yes.

> 
> We do not ship kqemu in Fedora, and upstream QEMU has deleted all code relating
> to kqemu so its use is not supported in any way, nor likely tobe in the future.  

The module was downloaded here,
http://www.nongnu.org/qemu/download.html

Comment 3 Daniel Berrangé 2009-10-07 11:10:17 UTC
Ok, well kqemu doesn't use hugepages, and since its dead upstream, we don't intend to enhance it todo so.


Note You need to log in before you can comment on or make changes to this bug.