Skip to contentSkip to conversation

32/32 PAE bit guest system definition

RFC Jiri Zupka 3 participants 3 messages Dec 11, 2009 – Dec 16, 2009 1 message not in the archive KVM

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): 369259139.1566111260548979540.JavaMail.root@zmail05.collab.prod.int.phx2.redhat.com

Jiri Zupka

author
#1 lore raw

Hello,
we write KSM_overcommit test. If we calculate memory for guest we need to know
which architecture is Guest. If it is a 32b or 32b with PAE or 64b system. Because with a 32b guest we can allocate only 3100M +-.

Currently we use the name of disk's image file. Image file name ends with 64 or 32. Is there way how we can detect if guest machine run with PAE etc.. ? Do you think that kvm_autotest can define parameter in kvm_tests.cfg which configure determine if is guest 32b or 32b with PAE or 64b.

Thank Župka

#2 lore raw
Quoted 9 lines · Jiri Zupka

Hello,
 we write KSM_overcommit test. If we calculate memory for guest we need to know which architecture is Guest. If it is a 32b or 32b with PAE or 64b system. Because with a 32b guest we can allocate only 3100M +-.

Currently we use the name of disk's image file. Image file name ends with 64 or 32. Is there way how we can detect if guest machine run with PAE etc.. ? Do you think that kvm_autotest can define parameter in kvm_tests.cfg which configure determine if is guest 32b or 32b with PAE or 64b.

Hi Jiri, sorry for taking long to answer you, I am reviewing the overcommit test.

About your question, I'd combine your approach of picking if host is 32/64 bit from the image name with looking on /cat/cpuinfo for PAE support.

Let's go with this approach for the final version of the test, OK?

Thanks and congrats for the test, it's a great piece of work! More comments soon,

Signature · 1 line
Lucas
#3 lore raw
Quoted 11 lines · Lucas Meneghel Rodrigues
Quoted 9 lines · Jiri Zupka

Hello,
we write KSM_overcommit test. If we calculate memory for guest we need to know
which architecture is Guest. If it is a 32b or 32b with PAE or 64b system. Because with a 32b guest we can allocate only 3100M +-.

Currently we use the name of disk's image file. Image file name ends with 64 or 32. Is there way how we can detect if guest machine run with PAE etc.. ? Do you think that kvm_autotest can define parameter in kvm_tests.cfg which configure determine if is guest 32b or 32b with PAE or 64b.

Quoted 6 lines

Hi Jiri, sorry for taking long to answer you, I am reviewing the overcommit test.

About your question, I'd combine your approach of picking if host is 32/64 bit from the image name with looking on /cat/cpuinfo for PAE support.

We might keep in KISS for the time being since 99% hosts installation are 64 bit only and many times only the guest can turn on PAE to practically use it.

So I'll go with naming only.

Quoted 5 lines

Let's go with this approach for the final version of the test, OK?

Thanks and congrats for the test, it's a great piece of work! More comments soon,