在 2012-11-27二的 15:42 +0800,Yiqiao Pu写道: > On 11/27/2012 01:32 PM, Mike wrote: > > Hi all > > > > Now I try to test the KSM case in my machine. > > the path: virt/kvm/tests/ksm_overcommit.py > > > > It has two cases , one is in serial mode other one is parallel mode > > > > for parallel mode it just create one VM and test KSM. > > this shouldn't be a fault???? > > KSM should work for more than one VM, > > > > I don't know if the author of this case has other aims? or there are > > some basic knowledge about ksm I don't know? That means I make a mistake > > of the meaning of the KSM???? > > Hi Mike, > > Actually KSM is a kind of kernel feature. So for ksmd qemu-kvm is just a > normal process. ksmd can not tell which memory belongs to which guests. > It only scan the memory in the host and do merge and split. So in the > ksm overcommit cases. the words parallel and serial only means the merge > and split will start at the same time or not. So those words not > directly connect with the number of guests that start in the test. Even > you only start one guest, you can also do memory allocate in it with > host ksmd start, you will see the page merge and split. >
OK, Got it, I need to do some deep research about this:) Thanks Yiqiao > Best regards > > Yiqiao Pu > > Thanks > > Mike > > > > > > > > _______________________________________________ > > Autotest-kernel mailing list > > [email protected] > > https://www.redhat.com/mailman/listinfo/autotest-kernel > > _______________________________________________ > Autotest-kernel mailing list > [email protected] > https://www.redhat.com/mailman/listinfo/autotest-kernel > _______________________________________________ Autotest-kernel mailing list [email protected] https://www.redhat.com/mailman/listinfo/autotest-kernel
