public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* Some FAQ questions
@ 2008-04-21 14:41 Damjan
  2008-04-22 11:10 ` Avi Kivity
  0 siblings, 1 reply; 4+ messages in thread
From: Damjan @ 2008-04-21 14:41 UTC (permalink / raw)
  To: kvm-devel

I have some questions for the FAQ, about the configuration of Linux guests:
 a) is swap needed in the guest (I'd say no, but..)
 b) what filesystem is best for a guest
 c) what io scheduler in the guest (noop? or cfq)
 d) are there any runtime kernel tweaks for the guest (/proc/sys)?
 e) suggested linux kernel source configuration (.config)?



-- 
damjan | дамјан
This is my jabber ID -->         damjan@bagra.net.mk 
 -- not my mail address, it's a Jabber ID --^ :)

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel

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

* Re: Some FAQ questions
  2008-04-21 14:41 Some FAQ questions Damjan
@ 2008-04-22 11:10 ` Avi Kivity
  2008-04-22 11:27   ` Luca Tettamanti
  0 siblings, 1 reply; 4+ messages in thread
From: Avi Kivity @ 2008-04-22 11:10 UTC (permalink / raw)
  To: Damjan; +Cc: kvm-devel

Damjan wrote:
> I have some questions for the FAQ, about the configuration of Linux guests:
>  a) is swap needed in the guest (I'd say no, but..)
>  b) what filesystem is best for a guest
>  c) what io scheduler in the guest (noop? or cfq)
>  d) are there any runtime kernel tweaks for the guest (/proc/sys)?
>   

For the first four questions, do whatever you'd do for a similarly 
configured host running a similar workload.  It's fine to use cfq as the 
I/O scheduler.

>  e) suggested linux kernel source configuration (.config)

With newer kernels, be sure to enable virtio drivers, kvm clock, and kvm 
mmu paravirtualization.

-- 
error compiling committee.c: too many arguments to function


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone

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

* Re: Some FAQ questions
  2008-04-22 11:10 ` Avi Kivity
@ 2008-04-22 11:27   ` Luca Tettamanti
  2008-04-22 11:35     ` Avi Kivity
  0 siblings, 1 reply; 4+ messages in thread
From: Luca Tettamanti @ 2008-04-22 11:27 UTC (permalink / raw)
  To: Avi Kivity; +Cc: kvm-devel, Damjan

On Tue, Apr 22, 2008 at 1:10 PM, Avi Kivity <avi@qumranet.com> wrote:
> Damjan wrote:
>  > I have some questions for the FAQ, about the configuration of Linux guests:
>  >  a) is swap needed in the guest (I'd say no, but..)
>  >  b) what filesystem is best for a guest
>  >  c) what io scheduler in the guest (noop? or cfq)
>  >  d) are there any runtime kernel tweaks for the guest (/proc/sys)?
>
>  For the first four questions, do whatever you'd do for a similarly
>  configured host running a similar workload.  It's fine to use cfq as the
>  I/O scheduler.

Is cfq still fair in the guest? The VM re-dispatches the requests (at
least when using QEMU IDE) and the host can reschedule them at will.

Luca

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone

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

* Re: Some FAQ questions
  2008-04-22 11:27   ` Luca Tettamanti
@ 2008-04-22 11:35     ` Avi Kivity
  0 siblings, 0 replies; 4+ messages in thread
From: Avi Kivity @ 2008-04-22 11:35 UTC (permalink / raw)
  To: Luca Tettamanti; +Cc: kvm-devel, Damjan

Luca Tettamanti wrote:
> Is cfq still fair in the guest? The VM re-dispatches the requests (at
> least when using QEMU IDE) and the host can reschedule them at will.
>   

The same problem occurs (to a lesser extent) in non-virtualized 
environments; disks (and esp. array controllers) also have their own I/O 
schedulers.

-- 
error compiling committee.c: too many arguments to function


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone

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

end of thread, other threads:[~2008-04-22 11:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-21 14:41 Some FAQ questions Damjan
2008-04-22 11:10 ` Avi Kivity
2008-04-22 11:27   ` Luca Tettamanti
2008-04-22 11:35     ` Avi Kivity

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox