From: Jason Wang <jasowang@redhat.com>
To: Lucas Meneghel Rodrigues <lmr@redhat.com>
Cc: autotest@test.kernel.org, kvm@vger.kernel.org
Subject: Re: [Autotest] [PATCH 2/4] KVM test: Add TSC into guest test
Date: Wed, 24 Mar 2010 13:59:01 +0800 [thread overview]
Message-ID: <4BA9AA25.5020800@redhat.com> (raw)
In-Reply-To: <6ac58f4f1003232237n52888c60w8c7c2264cfbc72d3@mail.gmail.com>
Lucas Meneghel Rodrigues wrote:
> On Mon, Mar 22, 2010 at 4:45 AM, Jason Wang <jasowang@redhat.com> wrote:
>
>> TSC is used to check the whether the TSC of processors are
>> synchronized which is useful for testing virtual TSC.
>>
>
> The only thing that needs to be corrected here is that this test needs
> -smp > 1 to work (actually, even numbers work better), so I'll make
> it not available with -smp 1. Thanks for the patch, I am going to put
> it upstream soon!
>
>
I agree, and maybe we'd better also use smp > 1 in the test of
monotonic_time ?
>> Signed-off-by: Jason Wang <jasowang@redhat.com>
>> ---
>> client/tests/kvm/autotest_control/tsc.control | 13 +++++++++++++
>> client/tests/kvm/tests_base.cfg.sample | 3 +++
>> 2 files changed, 16 insertions(+), 0 deletions(-)
>> create mode 100644 client/tests/kvm/autotest_control/tsc.control
>>
>> diff --git a/client/tests/kvm/autotest_control/tsc.control b/client/tests/kvm/autotest_control/tsc.control
>> new file mode 100644
>> index 0000000..0c1c65a
>> --- /dev/null
>> +++ b/client/tests/kvm/autotest_control/tsc.control
>> @@ -0,0 +1,13 @@
>> +NAME = 'Check TSC'
>> +AUTHOR = 'Michael Davidson <md@google.com>'
>> +TIME = 'MEDIUM'
>> +TEST_CLASS = 'Kernel'
>> +TEST_CATEGORY = 'Functional'
>> +TEST_TYPE = 'client'
>> +DOC = """
>> +checktsc is a user space program that checks TSC synchronization
>> +between pairs of CPUs on an SMP system using a technique borrowed
>> +from the Linux 2.6.18 kernel.
>> +"""
>> +
>> +job.run_test('tsc')
>> diff --git a/client/tests/kvm/tests_base.cfg.sample b/client/tests/kvm/tests_base.cfg.sample
>> index 2af6a05..861759e 100644
>> --- a/client/tests/kvm/tests_base.cfg.sample
>> +++ b/client/tests/kvm/tests_base.cfg.sample
>> @@ -136,6 +136,9 @@ variants:
>> - monotonic_time:
>> test_name = monotonic_time
>> test_control_file = monotonic_time.control
>> + - tsc:
>> + test_name = tsc
>> + test_control_file = tsc.control
>>
>> - linux_s3: install setup unattended_install
>> type = linux_s3
>>
>> _______________________________________________
>> Autotest mailing list
>> Autotest@test.kernel.org
>> http://test.kernel.org/cgi-bin/mailman/listinfo/autotest
>>
>>
>
>
>
>
next prev parent reply other threads:[~2010-03-24 5:54 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-22 7:44 [PATCH 1/4] KVM test: Add monotonic_time into the guest test Jason Wang
2010-03-22 7:45 ` [PATCH 2/4] KVM test: Add TSC into " Jason Wang
2010-03-24 5:37 ` [Autotest] " Lucas Meneghel Rodrigues
2010-03-24 5:59 ` Jason Wang [this message]
2010-03-24 14:43 ` Lucas Meneghel Rodrigues
2010-03-26 2:51 ` Jason Wang
2010-03-22 7:45 ` [PATCH 3/4] KVM test: Add scrashme " Jason Wang
2010-03-25 1:29 ` Lucas Meneghel Rodrigues
2010-03-22 7:45 ` [PATCH 4/4] KVM test: Enable timedrift for Linux guests Jason Wang
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=4BA9AA25.5020800@redhat.com \
--to=jasowang@redhat.com \
--cc=autotest@test.kernel.org \
--cc=kvm@vger.kernel.org \
--cc=lmr@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox