Port-xen archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: memory dispatch



Manuel Bouyer <bouyer%antioche.eu.org@localhost> writes:

> On Thu, Jan 05, 2006 at 06:32:30PM +0100, Joel CARNAT wrote:
>> 2. Give the minimum to dom0 (let say 64Mo) ? And then use domU's memory
>> option.
>> 
>> I'm wondering this because compiling net/wget in NetBSD/dom1 seems slow
>> (NetBSD/dom0 has 64M and NetBSD/dom1 has 128 ; /usr/pkgsrc being NFS
>> exported from dom0 to dom1). So maybe 64M for dom0 is a bit little and
>> it would be nice if dom0 could handle all the RAM and dispatch it to the
>> domUs.
>
> Run systat vm on both domains, and see if one of them has pagein/pageout
> activity.

Even if it's not hitting swap, the dom0 could well be evicting things
from cache that it wouldn't have had to if it had had more RAM, and
then having to read them back in from the disk later.

-- 
(let ((C call-with-current-continuation)) (apply (lambda (x y) (x y)) (map
((lambda (r) ((C C) (lambda (s) (r (lambda l (apply (s s) l))))))  (lambda
(f) (lambda (l) (if (null? l) C (lambda (k) (display (car l)) ((f (cdr l))
(C k)))))))    '((#\J #\d #\D #\v #\s) (#\e #\space #\a #\i #\newline)))))




Home | Main Index | Thread Index | Old Index