From: Uri Lublin <uril@redhat.com>
To: "Lukáš Doktor" <ldoktor@redhat.com>
Cc: KVM list <kvm@vger.kernel.org>,
Autotest mailing list <autotest@test.kernel.org>
Subject: Re: [KVM-AUTOTEST PATCH 0/2] Add KSM test
Date: Mon, 07 Sep 2009 15:37:53 +0300 [thread overview]
Message-ID: <4AA4FEA1.9040501@redhat.com> (raw)
In-Reply-To: <4A9B97E5.3000109@redhat.com>
On 08/31/2009 12:29 PM, Lukáš Doktor wrote:
> This patch adds KSM test. We faced many difficulties which weren't
> solvable by regular ways so please take a look and comment.
Hello Lukas,
Can you please provide reviewers with some more information:
1. What does your test do. Please briefly outline the test.
What are the different steps, what are parallel/serial, etc.
2. What do the configuration parameters represent.
- Also, is there a name mismatch ksm_ratio ?
3. Why do you communicate with your guest application using sockets ?
I think it would be better to communicate with stdin/stdout (on the
application) and session.sendline/session.read_until_last_line_matches.
4. With regards to the allocator program on the guest:
- What is the difference between "random" and "static random"
- is it just the seed ?
- how do you use them ?
- Why do you implement your own rand functions?
5. Why don't you define the first VM in the configuration file, and
clone it for all other VMs (memory is calculated during test ?).
Also please use an existing function to find a "free" port, instead
of hard coding the port number. (you don't need it if you
switch to using stdin/stdout)
6. Please replace os.popen('cat file') with directly opening/reading the file.
- same for grep commands.
- we should probably write a util-function for grepping a file, if one
does not already exist.
7. What were the difficulties you encountered and how did you solve them ?
- Host out-of-memory condition kills python program is one I saw.
I think leaving some memory to the host is a good solution.
Thanks,
Uri.
prev parent reply other threads:[~2009-09-07 12:40 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-31 9:29 [KVM-AUTOTEST PATCH 0/2] Add KSM test Lukáš Doktor
2009-08-31 9:35 ` [KVM-AUTOTEST PATCH 1/2] " Lukáš Doktor
2009-09-01 8:49 ` Lukáš Doktor
2009-09-07 12:03 ` Dor Laor
2009-08-31 9:48 ` [KVM-AUTOTEST PATCH 2/2] " Lukáš Doktor
2009-09-01 8:50 ` Lukáš Doktor
2009-09-07 13:00 ` Dor Laor
2009-09-07 12:37 ` Uri Lublin [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4AA4FEA1.9040501@redhat.com \
--to=uril@redhat.com \
--cc=autotest@test.kernel.org \
--cc=kvm@vger.kernel.org \
--cc=ldoktor@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.