qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Lukáš Doktor" <ldoktor@redhat.com>
To: Stefan Hajnoczi <stefanha@redhat.com>
Cc: Charles Shih <cheshi@redhat.com>,
	Aleksandar Markovic <aleksandar.qemu.devel@gmail.com>,
	QEMU Developers <qemu-devel@nongnu.org>
Subject: Re: Proposal for a regular upstream performance testing
Date: Mon, 21 Mar 2022 11:29:42 +0100	[thread overview]
Message-ID: <470cb0ab-137f-655c-9dcd-a480f66dac33@redhat.com> (raw)
In-Reply-To: <YjhIddqwACSpoCfR@stefanha-x1.localdomain>


[-- Attachment #1.1.1: Type: text/plain, Size: 4613 bytes --]

Hello Stefan,

Dne 21. 03. 22 v 10:42 Stefan Hajnoczi napsal(a):
> On Mon, Mar 21, 2022 at 09:46:12AM +0100, Lukáš Doktor wrote:
>> Dear qemu developers,
>>
>> you might remember the "replied to" email from a bit over year ago to raise a discussion about a qemu performance regression CI. On KVM forum I presented https://www.youtube.com/watch?v=Cbm3o4ACE3Y&list=PLbzoR-pLrL6q4ZzA4VRpy42Ua4-D2xHUR&index=9 some details about my testing pipeline. I think it's stable enough to become part of the official CI so people can consume, rely on it and hopefully even suggest configuration changes.
>>
>> The CI consists of:
>>
>> 1. Jenkins pipeline(s) - internal, not available to developers, running daily builds of the latest available commit
>> 2. Publicly available anonymized results: https://ldoktor.github.io/tmp/RedHat-Perf-worker1/
> 
> This link is 404.
> 

My mistake, it works well without the tailing slash: https://ldoktor.github.io/tmp/RedHat-Perf-worker1

>> 3. (optional) a manual gitlab pulling job which triggered by the Jenkins pipeline when that particular commit is checked
>>
>> The (1) is described here: https://run-perf.readthedocs.io/en/latest/jenkins.html and can be replicated on other premises and the individual jobs can be executed directly https://run-perf.readthedocs.io on any linux box using Fedora guests (via pip or container https://run-perf.readthedocs.io/en/latest/container.html ).
>>
>> As for the (3) I made a testing pipeline available here: https://gitlab.com/ldoktor/qemu/-/pipelines with one always-passing test and one allow-to-fail actual testing job. If you think such integration would be useful, I can add it as another job to the official qemu repo. Note the integration is a bit hacky as, due to resources, we can not test all commits but rather test on daily basis, which is not officially supported by gitlab.
>>
>> Note the aim of this project is to ensure some very basic system-level workflow performance stays the same or that the differences are described and ideally pinned to individual commits. It should not replace thorough release testing or low-level performance tests.
> 
> If I understand correctly the GitLab CI integration you described
> follows the "push" model where Jenkins (running on your own machine)
> triggers a manual job in GitLab CI simply to indicate the status of the
> nightly performance regression test?
> 
> What process should QEMU follow to handle performance regressions
> identified by your job? In other words, which stakeholders need to
> triage, notify, debug, etc when a regression is identified?
> 
> My guess is:
> - Someone (you or the qemu.git committer) need to watch the job status and triage failures.
> - That person then notifies likely authors of suspected commits so they can investigate.
> - The authors need a way to reproduce the issue - either locally or by pushing commits to GitLab and waiting for test results.
> - Fixes will be merged as additional qemu.git commits since commit history cannot be rewritten.
> - If necessary a git-revert(1) commit can be merged to temporarily undo a commit that caused issues.
> 
> Who will watch the job status and triage failures?
> 
> Stefan

This is exactly the main question I'd like to resolve as part of considering-this-to-be-official-part-of-the-upstream-qemu-testing. At this point our team is offering it's service to maintain this single worker for daily jobs, monitoring the status and pinging people in case of bisectable results.

From the upstream qemu community we are mainly looking for a feedback:

* whether they'd want to be notified of such issues (and via what means)
* whether the current approach seems to be actually performing useful tasks
* whether the reports are understandable
* whether the reports should be regularly pushed into publicly available place (or just on regression/improvement)
* whether there are any volunteers to be interested in non-clearly-bisectable issues (probably by-topic)

Note that not all issues needs to be addressed, some might only result in notes that should help us understand why qemu behaves differently after rebasing our downstream version.

As for the hopefully-not-so-distant-future we already have a second machine based on el9 with NVMe disk in process of preparations and if this pipeline proves to be useful we do have plans to cover other architecture(s) as well. Aside of this other companies might replicate our setup based on the documentation with their machines, their scenarios and their distros of choice.

Regards,
Lukáš

[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 12153 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 495 bytes --]

  reply	other threads:[~2022-03-21 10:31 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-26  8:10 Proposal for a regular upstream performance testing Lukáš Doktor
2020-11-26  8:23 ` Jason Wang
2020-11-26  9:43 ` Daniel P. Berrangé
2020-11-26 11:29   ` Lukáš Doktor
2020-11-30 13:23   ` Stefan Hajnoczi
2020-12-01  7:51     ` Lukáš Doktor
2020-11-26 10:17 ` Peter Maydell
2020-11-26 11:16   ` Lukáš Doktor
2020-11-30 13:25 ` Stefan Hajnoczi
2020-12-01  8:05   ` Lukáš Doktor
2020-12-01 10:22     ` Stefan Hajnoczi
2020-12-01 12:06       ` Lukáš Doktor
2020-12-01 12:35         ` Stefan Hajnoczi
2020-12-02  8:58           ` Chenqun (kuhn)
2020-12-02  8:23 ` Chenqun (kuhn)
2022-03-21  8:46 ` Lukáš Doktor
2022-03-21  9:42   ` Stefan Hajnoczi
2022-03-21 10:29     ` Lukáš Doktor [this message]
2022-03-22 15:05       ` Stefan Hajnoczi
2022-03-28  6:18         ` Lukáš Doktor
2022-03-28  9:57           ` Stefan Hajnoczi
2022-03-28 11:09             ` Lukáš Doktor

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=470cb0ab-137f-655c-9dcd-a480f66dac33@redhat.com \
    --to=ldoktor@redhat.com \
    --cc=aleksandar.qemu.devel@gmail.com \
    --cc=cheshi@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=stefanha@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;
as well as URLs for NNTP newsgroup(s).