All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Lukáš Doktor" <ldoktor@redhat.com>
To: Lukas Doktor <ldoktor@redhat.com>
Cc: jzupka@redhat.com, autotest@test.kernel.org, kvm@vger.kernel.org,
	akong@redhat.com
Subject: Re: [KVM-autotest] virtio_console test
Date: Fri, 20 Aug 2010 16:12:51 +0200	[thread overview]
Message-ID: <4C6E8D63.6080409@redhat.com> (raw)
In-Reply-To: <1282311612-3282-1-git-send-email-ldoktor@redhat.com>

Dne 20.8.2010 15:40, Lukas Doktor napsal(a):
> Hi,
>
> This patch adds new test for virtio_console. It supports booth, serialport and console, virtio_console types and it contains three tests:
> 1) smoke
> 2) loopback
> 3) perf
>
>
> Before any tests are executed it starts the machine with required number of virtio_consoles. Than it allows user to run all three tests. Using the parameters user can control which tests are executed and what setting is used. All tests supports multiple run using ';' separated list of settings. Most of the settings are optional only. The mandatory ones are written in CAPITALS.
>
> ad1) virtio_console_smoke format:
> $VIRTIO_CONSOLE_TYPE:$custom_data
>
> It creates a loopback via $VIRTIO_CONSOLE_TYPE console and sends $custom_data. If the received data match the original test pass
>
> ad2) virtio_console_loopback format:
> $SOURCE_CONSOLE_TYPE@$buffer_length:$DESTINATION_CONSOLE1_TYPE@$buffer_length:...:$DESTINATION_CONSOLEx_TYPE@$buffer_length:$loopback_buffer_length
>
> Creates loopback between the $SOURCE_CONSOLE_TYPE console and all following $DESTINATION_CONSOLEn_TYPE consoles. Than it sends data by $buffer_length to the source port. The loopback resends the data by $loopback_buffer_length to all destination consoles. The test listens on the destination consoles and controls the received data.
>
> NOTE: in the debug mode you can see the send/received data's buffers in every second during the test.
>
> ad3) virtio_console_perf format:
> $VIRTIO_CONSOLE_TYPE@$buffer_size:$test_duration
>
> First it sends the prepared data in a loop over $VIRTIO_CONSOLE_TYPE console from host to guest. Guest only reads all the data and throw them away. This part runs $test_duration seconds.
> Second it does the same from guest to host.
>
> For booth runs it provides information of minimum/median/maximum throughput and guest/host average loads.
>
>
> Best regards,
> Lukas Doktor
> --
> To unsubscribe from this list: send the line "unsubscribe kvm" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html


Just a note about kernels:
serialport works great but console have big issues. Use kernels >= 
2.6.35 for testing.

  parent reply	other threads:[~2010-08-20 14:12 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-20 13:40 [KVM-autotest] virtio_console test Lukas Doktor
2010-08-20 13:40 ` [PATCH] NEW " Lukas Doktor
2010-08-20 14:12 ` Lukáš Doktor [this message]
2010-08-23  7:53   ` [KVM-autotest] " Amit Shah
2010-08-23 13:20     ` Lukáš Doktor
2010-08-23 13:42       ` Amit Shah

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=4C6E8D63.6080409@redhat.com \
    --to=ldoktor@redhat.com \
    --cc=akong@redhat.com \
    --cc=autotest@test.kernel.org \
    --cc=jzupka@redhat.com \
    --cc=kvm@vger.kernel.org \
    /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.