All of lore.kernel.org
 help / color / mirror / Atom feed
* [KVM-autotest][RFC] 32/32 PAE bit guest system definition
       [not found] <369259139.1566111260548979540.JavaMail.root@zmail05.collab.prod.int.phx2.redhat.com>
@ 2009-12-11 16:34 ` Jiri Zupka
  2009-12-15 19:04   ` Lucas Meneghel Rodrigues
  0 siblings, 1 reply; 3+ messages in thread
From: Jiri Zupka @ 2009-12-11 16:34 UTC (permalink / raw)
  To: kvm, autotest, Lukas Doktor, dlaor

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 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [KVM-autotest][RFC] 32/32 PAE bit guest system definition
  2009-12-11 16:34 ` [KVM-autotest][RFC] 32/32 PAE bit guest system definition Jiri Zupka
@ 2009-12-15 19:04   ` Lucas Meneghel Rodrigues
  2009-12-16 22:07     ` [Autotest] " Dor Laor
  0 siblings, 1 reply; 3+ messages in thread
From: Lucas Meneghel Rodrigues @ 2009-12-15 19:04 UTC (permalink / raw)
  To: Jiri Zupka; +Cc: autotest, kvm

On Fri, Dec 11, 2009 at 2:34 PM, Jiri Zupka <jzupka@redhat.com> wrote:
> 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,

-- 
Lucas

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Autotest] [KVM-autotest][RFC] 32/32 PAE bit guest system  definition
  2009-12-15 19:04   ` Lucas Meneghel Rodrigues
@ 2009-12-16 22:07     ` Dor Laor
  0 siblings, 0 replies; 3+ messages in thread
From: Dor Laor @ 2009-12-16 22:07 UTC (permalink / raw)
  To: Lucas Meneghel Rodrigues; +Cc: Jiri Zupka, kvm, autotest, Lukas Doktor

On 12/15/2009 09:04 PM, Lucas Meneghel Rodrigues wrote:
> On Fri, Dec 11, 2009 at 2:34 PM, Jiri Zupka<jzupka@redhat.com>  wrote:
>> 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.

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.


> 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,
>


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-12-16 22:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <369259139.1566111260548979540.JavaMail.root@zmail05.collab.prod.int.phx2.redhat.com>
2009-12-11 16:34 ` [KVM-autotest][RFC] 32/32 PAE bit guest system definition Jiri Zupka
2009-12-15 19:04   ` Lucas Meneghel Rodrigues
2009-12-16 22:07     ` [Autotest] " Dor Laor

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.