From mboxrd@z Thu Jan 1 00:00:00 1970 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.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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 B11DEC433DF for ; Fri, 15 May 2020 09:16:31 +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 88471206F1 for ; Fri, 15 May 2020 09:16:31 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 88471206F1 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=intel.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:59826 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jZWSE-0002ic-Nf for qemu-devel@archiver.kernel.org; Fri, 15 May 2020 05:16:30 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34336) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jZWQz-0001Mh-84 for qemu-devel@nongnu.org; Fri, 15 May 2020 05:15:14 -0400 Received: from mga03.intel.com ([134.134.136.65]:44988) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jZWQw-0004Ma-S3 for qemu-devel@nongnu.org; Fri, 15 May 2020 05:15:12 -0400 IronPort-SDR: cToHzsnJPk28zOy+1Ah5D7/aN6uU0okhCbukzTACcdgD7VvBgtpS2JIXMf8LIVq0UisFTVq6EW bsSVMAMrQCdw== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 May 2020 02:15:07 -0700 IronPort-SDR: wcblKPSN0cewgOfNRBtNBi8P/773cxZ10Y82gC04FpGNLfSC4B+P8mDNU7uj8JStReIyO47w0e NPT9eWwfcwkg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,394,1583222400"; d="scan'208";a="298990819" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by orsmga008.jf.intel.com with ESMTP; 15 May 2020 02:15:07 -0700 Received: from shsmsx601.ccr.corp.intel.com (10.109.6.141) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.439.0; Fri, 15 May 2020 02:15:06 -0700 Received: from shsmsx605.ccr.corp.intel.com (10.109.6.215) by SHSMSX601.ccr.corp.intel.com (10.109.6.141) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Fri, 15 May 2020 17:15:04 +0800 Received: from shsmsx605.ccr.corp.intel.com ([10.109.6.215]) by SHSMSX605.ccr.corp.intel.com ([10.109.6.215]) with mapi id 15.01.1713.004; Fri, 15 May 2020 17:15:04 +0800 From: "Zhang, Chen" To: Lukas Straub , qemu-devel Subject: RE: [PATCH v4 0/6] colo-compare bugfixes Thread-Topic: [PATCH v4 0/6] colo-compare bugfixes Thread-Index: AQHWIf625UvnXtHnKk++jUa3390H/6io7l1g Date: Fri, 15 May 2020 09:15:04 +0000 Message-ID: <567ae50795cf46cebb96526e9f252895@intel.com> References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.2.0.6 dlp-reaction: no-action x-originating-ip: [10.239.127.36] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Received-SPF: pass client-ip=134.134.136.65; envelope-from=chen.zhang@intel.com; helo=mga03.intel.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/15 05:15:07 X-ACL-Warn: Detected OS = FreeBSD 9.x or newer [fuzzy] X-Spam_score_int: -68 X-Spam_score: -6.9 X-Spam_bar: ------ X-Spam_report: (-6.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action 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: =?iso-8859-1?Q?Marc-Andr=E9_Lureau?= , Jason Wang , Li Zhijian , Paolo Bonzini Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" Please update this series, I will queue it to COLO branch. Thanks Zhang Chen > -----Original Message----- > From: Lukas Straub > Sent: Monday, May 4, 2020 6:28 PM > To: qemu-devel > Cc: Zhang, Chen ; Li Zhijian > ; Jason Wang ; Marc- > Andr=E9 Lureau ; Paolo Bonzini > > Subject: [PATCH v4 0/6] colo-compare bugfixes >=20 > Hello Everyone, > Here are fixes for bugs that I found in my tests. >=20 > Benchmark results: > Client-to-server tcp: > without patch: ~63 Mbit/s > with patch: ~66 Mbit/s > Server-to-client tcp: > without patch: ~771 Kbit/s > with patch: ~702 Kbit/s >=20 > Regards, > Lukas Straub >=20 > Version changes: > v4: > -fix potential deadlock with notify_remote_frame -avoid malloc and > memcpy in many cases >=20 > v3: > -fix checkpatch.pl error >=20 > v2: > -better wording > -fix performance-regression in patch 3 "net/colo-compare.c: Fix deadlock= in > compare_chr_send" > -add more bugfixes >=20 >=20 > Lukas Straub (6): > net/colo-compare.c: Create event_bh with the right AioContext > chardev/char.c: Use qemu_co_sleep_ns if in coroutine > net/colo-compare.c: Fix deadlock in compare_chr_send > net/colo-compare.c: Only hexdump packets if tracing is enabled > net/colo-compare.c, softmmu/vl.c: Check that colo-compare is active > net/colo-compare.c: Correct ordering in complete and finalize >=20 > chardev/char.c | 7 +- > net/colo-compare.c | 250 +++++++++++++++++++++++++++++++++--------- > --- > net/colo-compare.h | 1 + > net/colo.c | 7 ++ > net/colo.h | 1 + > softmmu/vl.c | 2 + > 6 files changed, 204 insertions(+), 64 deletions(-) >=20 > -- > 2.20.1