Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.6 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 91789C11D3D for ; Thu, 27 Feb 2020 20:10:13 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 5BED92468E for ; Thu, 27 Feb 2020 20:10:13 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="StVy6jVX" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5BED92468E Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:37722 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j7PU4-0004R5-Fq for qemu-devel@archiver.kernel.org; Thu, 27 Feb 2020 15:10:12 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:54056) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j7PTM-0003vB-0w for qemu-devel@nongnu.org; Thu, 27 Feb 2020 15:09:29 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j7PTK-0000eV-Hi for qemu-devel@nongnu.org; Thu, 27 Feb 2020 15:09:27 -0500 Received: from us-smtp-delivery-1.mimecast.com ([207.211.31.120]:41679 helo=us-smtp-1.mimecast.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1j7PTK-0000dn-EO for qemu-devel@nongnu.org; Thu, 27 Feb 2020 15:09:26 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1582834165; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Pvd4aSgOe6ddTrJuLZDObahl+QYE4sUHQVvmF0SsGqE=; b=StVy6jVXLGibdlE+o+kMhdJ7N6FtNY4p3jELxWnhgnSN6nNY4bOvmAIh+nlvBGwypFScGF m9mcu6f47pZN3UewzJ1rggi/45RydgnrSDwnfM3kRYU+nCvDAoYcZxo/ViajowNpQkGuMd PPuGxdIm2G8FgY30HwyfM0NAZlShNjU= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-35-TQXqgbjUPwOvSqoYSxV_Ew-1; Thu, 27 Feb 2020 15:09:15 -0500 X-MC-Unique: TQXqgbjUPwOvSqoYSxV_Ew-1 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id A14621005512; Thu, 27 Feb 2020 20:09:13 +0000 (UTC) Received: from localhost (unused-10-15-17-6.yyz.redhat.com [10.15.17.6]) by smtp.corp.redhat.com (Postfix) with ESMTP id 34D5660BE0; Thu, 27 Feb 2020 20:09:13 +0000 (UTC) Date: Thu, 27 Feb 2020 15:09:12 -0500 From: Eduardo Habkost To: Vladimir Sementsov-Ogievskiy Subject: Re: ping Re: [PATCH for-5.0 v2 0/3] benchmark util Message-ID: <20200227200912.GE4440@habkost.net> References: <20191126154848.193407-1-vsementsov@virtuozzo.com> <1ae79aad-5405-cf95-1401-e93191e94033@virtuozzo.com> MIME-Version: 1.0 In-Reply-To: <1ae79aad-5405-cf95-1401-e93191e94033@virtuozzo.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 207.211.31.120 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: kwolf@redhat.com, qemu-block@nongnu.org, stefanha@gmail.com, qemu-devel@nongnu.org, mreitz@redhat.com, crosa@redhat.com, den@openvz.org, jsnow@redhat.com Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" Sorry, this is due to lack of bandwidth of maintainers who can review those patches. I have one suggestion: if you make your script self-contained inside a scripts/ subdirectory, it would be simpler to merge it without detailed reviews from others. The python/ subdirectory is supposed to appear on sys.path, so maybe simplebench.py and qemu/bench_block_job.py can stay there, but bench-example.py is not a loadable Python module and shouldn't be there. I see two possible options: a) Moving everything to a scripts/simplebench subdirectory. b) Moving only bench-example.py to scripts/, and do the sys.path hacking the other scripts do. On either case, please add your name to MAINTAINERS as the maintainer of those new files. On Thu, Feb 27, 2020 at 04:18:00PM +0300, Vladimir Sementsov-Ogievskiy wrot= e: > Hi! >=20 > Is problem in "S: Odd fixes" in Python section of MAINTAINERS? >=20 > Will it be correct, if I send a patch to MAINTAINERS, proposing > myself as maintainer of Python scripts and s/Odd fixes/Maintained/ ? >=20 > And then just send pull request with this series, as "nobody minds"? >=20 > 08.02.2020 13:36, Vladimir Sementsov-Ogievskiy wrote: > > pingg.. > >=20 > > Hi! Could it be merged at all? > >=20 > > 20.01.2020 12:10, Vladimir Sementsov-Ogievskiy wrote: > > > ping > > >=20 > > > 26.11.2019 18:48, Vladimir Sementsov-Ogievskiy wrote: > > > > Hi all! > > > >=20 > > > > Here is simple benchmarking utility, to generate performance > > > > comparison tables, like the following: > > > >=20 > > > > ----------=A0 -------------=A0 -------------=A0 ------------- > > > > =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 backup-1=A0=A0=A0=A0=A0=A0 bac= kup-2=A0=A0=A0=A0=A0=A0 mirror > > > > ssd -> ssd=A0 0.43 +- 0.00=A0=A0 4.48 +- 0.06=A0=A0 4.38 +- 0.02 > > > > ssd -> hdd=A0 10.60 +- 0.08=A0 10.69 +- 0.18=A0 10.57 +- 0.05 > > > > ssd -> nbd=A0 33.81 +- 0.37=A0 10.67 +- 0.17=A0 10.07 +- 0.07 > > > > ----------=A0 -------------=A0 -------------=A0 ------------- > > > >=20 > > > > This is a v2, as v1 was inside > > > > =A0 "[RFC 00/24] backup performance: block_status + async" > > > >=20 > > > > I'll use this benchmark in other series, hope someone > > > > will like it. > > > >=20 > > > > Vladimir Sementsov-Ogievskiy (3): > > > > =A0=A0 python: add simplebench.py > > > > =A0=A0 python: add qemu/bench_block_job.py > > > > =A0=A0 python: add example usage of simplebench > > > >=20 > > > > =A0 python/bench-example.py=A0=A0=A0=A0=A0=A0=A0 |=A0 80 ++++++++++= +++++++++++ > > > > =A0 python/qemu/bench_block_job.py | 115 ++++++++++++++++++++++++++= +++ > > > > =A0 python/simplebench.py=A0=A0=A0=A0=A0=A0=A0=A0=A0 | 128 ++++++++= +++++++++++++++++++++++++ > > > > =A0 3 files changed, 323 insertions(+) > > > > =A0 create mode 100644 python/bench-example.py > > > > =A0 create mode 100755 python/qemu/bench_block_job.py > > > > =A0 create mode 100644 python/simplebench.py > > > >=20 > > >=20 > > >=20 > >=20 > >=20 >=20 >=20 > --=20 > Best regards, > Vladimir >=20 --=20 Eduardo