Message ID | 20180724121753.5753-1-lbloch@janustech.com (mailing list archive) |
---|---|
Headers | show
Return-Path: <qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id C9B2C112E for <patchwork-qemu-devel@patchwork.kernel.org>; Tue, 24 Jul 2018 13:45:40 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B89C528918 for <patchwork-qemu-devel@patchwork.kernel.org>; Tue, 24 Jul 2018 13:45:40 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id AC6EE2892B; Tue, 24 Jul 2018 13:45:40 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.8 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 3A99328918 for <patchwork-qemu-devel@patchwork.kernel.org>; Tue, 24 Jul 2018 13:45:40 +0000 (UTC) Received: from localhost ([::1]:40639 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org>) id 1fhxdD-00055h-Ej for patchwork-qemu-devel@patchwork.kernel.org; Tue, 24 Jul 2018 09:45:39 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35687) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <lbloch@janustech.com>) id 1fhwGv-00052V-Qm for qemu-devel@nongnu.org; Tue, 24 Jul 2018 08:18:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <lbloch@janustech.com>) id 1fhwGs-0006GP-L8 for qemu-devel@nongnu.org; Tue, 24 Jul 2018 08:18:33 -0400 Received: from mail-eopbgr690095.outbound.protection.outlook.com ([40.107.69.95]:30824 helo=NAM04-CO1-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from <lbloch@janustech.com>) id 1fhwGs-0006Fd-1z; Tue, 24 Jul 2018 08:18:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=janustech.onmicrosoft.com; s=selector1-janustech-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=3TtOsuCRJZdIZBFv15hlhp9nZHqGZdUFIyvM1bmALVY=; b=Yw2ARQotT8RziNqpQyrVBHtrZGRP4GO01WHuacBD4PS6hAgVH26gE6Uvpc1m8k99thOX9p8/rP3UWSzRpAsFRqEDFAR/fqvr5+NySufa6Nx8LtKeweSKfAIQ4WWwdg3Hf0Xt3D8SNRDgu77VEGpzsyzm0M6vRE3yxOhf6kBm+dk= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=lbloch@janustech.com; Received: from Jupiter.local (141.226.29.227) by CO2PR07MB2614.namprd07.prod.outlook.com (2603:10b6:102:14::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.973.20; Tue, 24 Jul 2018 12:18:23 +0000 From: Leonid Bloch <lbloch@janustech.com> To: qemu-devel@nongnu.org Date: Tue, 24 Jul 2018 15:17:49 +0300 Message-Id: <20180724121753.5753-1-lbloch@janustech.com> X-Mailer: git-send-email 2.14.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [141.226.29.227] X-ClientProxiedBy: DB6PR0202CA0009.eurprd02.prod.outlook.com (2603:10a6:4:29::19) To CO2PR07MB2614.namprd07.prod.outlook.com (2603:10b6:102:14::9) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: ca422d9f-8c0a-4b21-72a7-08d5f15f8e3a X-Microsoft-Antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(7021125)(8989117)(5600073)(711020)(4534165)(7022125)(4603075)(4627221)(201702281549075)(8990107)(7048125)(7024125)(7027125)(7028125)(7023125)(2017052603328)(7153060)(7193020); SRVR:CO2PR07MB2614; X-Microsoft-Exchange-Diagnostics: 1; CO2PR07MB2614; 3:wxYQzGO6GSIFvASyetNvHjjR4i2WZK2JPq4PndslmJO3Xy82ozvvZU3Ic4/IuViwODFDN5PJwll7XRY5/2j87lwbl7obfxiKsOCv5a+bWSUhBZw1fzoeVywE1/pzS1ELq9/YCuhKL2CZJ5z9EyDtFHvzPkD05Peq2JqgwYtDgbRurxCiLoEm+fbTmsR+5FiYU3+Zx/0netfvfUdnT9jUMSLjX5D3Yqocn1s8E66k6du/Pt5e0kjqkoqxTR7WmfeH; 25:gKsLaiOO26J1MdoAi/xTIHvl60Y6YyyjlPeka51RRZLZ+57on/tz4P/s7x6uGHxon2JDLGDpjZ2vzNAflgWm7LD5x411sAgKavoHDOz0VPrTZ3g60qIFXFjTInN3jJNOFARyIx7NBVsg3XvOfsDyg23rrYVca00QOLf72/YuHizC351QfEOVJ+KCmeID7zKGvJvbJuBLIAZTL9W0YNrzH5WG6+8kcr/HFzcIPakwQo99FaZf4otbbBZO67AazdUXWPcyKqvARt2nYwXZEA4KUuVOgi7KXQ/BasE+2XNg8hjVGlueyZkR7FX2dNiG9Wit8xoA7cTvb38ft1mvrWjYTA==; 31:QWLDczf5ZNBOZb4CXn8hwHzpHDtIfIIjMPXZeAT77fxizxtColY8lGexZMk/3+cRNWmTOyokM83ZOUJCBsLtybehur5EQDdPASviASk/9P/XTksh1NHzyfUrEmCySu+GhO2xHrYvMmz2Cqub7uZTJj5G/3g163tgAXTvZZouOPIa7IgYNKMuR8QPPRh4bZbf7jp6NJKCZYGQr7edNWFkbBC2LTUL5J8egn+NLOJPezo= X-MS-TrafficTypeDiagnostic: CO2PR07MB2614: X-Microsoft-Antispam-PRVS: <CO2PR07MB2614FD7C6C044B8E7CA3512ECA550@CO2PR07MB2614.namprd07.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:; X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040522)(2401047)(5005006)(8121501046)(10201501046)(3002001)(93006095)(93001095)(3231311)(944501410)(52105095)(149027)(150027)(6041310)(20161123562045)(20161123558120)(20161123564045)(20161123560045)(2016111802025)(6072148)(6043046)(201708071742011)(7699016); SRVR:CO2PR07MB2614; BCL:0; PCL:0; RULEID:; SRVR:CO2PR07MB2614; X-Microsoft-Exchange-Diagnostics: 1; CO2PR07MB2614; 4:WSf7+jdXFexGv1ScKyKJB5d3zHh07iP1VhBdf3xzWb0eOg487w18FeN4/bQtogpMfcZ9kgRHzT8tMdQaPPVDw4nGbHt0NfBB4U/JMwYA3tG+vho+Px2FR2j1/rMNGQwnJe8I23cVj1TaqBR8Oyp7dB/rgBi+o2yF9/jSRKzXVLlB0vTlp/MKCOCiu7zC7KGuE6s8XmDpho95qz2KaBuR2qIX5lJWtRHklcDAZ/iELUEc4kD4QsWhgVTGPXBACdfJGlNh1XdUakzQwoOWK9L1RQ== X-Forefront-PRVS: 0743E8D0A6 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(136003)(366004)(376002)(346002)(396003)(39830400003)(199004)(189003)(6506007)(66066001)(6116002)(6666003)(86362001)(6916009)(2616005)(476003)(956004)(52116002)(47776003)(2351001)(3846002)(6512007)(478600001)(2361001)(5660300001)(316002)(106356001)(16586007)(105586002)(50226002)(25786009)(4326008)(54906003)(68736007)(51416003)(1076002)(7736002)(36756003)(48376002)(53936002)(305945005)(16526019)(2906002)(186003)(8936002)(50466002)(6486002)(97736004)(26005)(81156014)(81166006)(8676002)(486006)(386003); DIR:OUT; SFP:1102; SCL:1; SRVR:CO2PR07MB2614; H:Jupiter.local; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; Received-SPF: None (protection.outlook.com: janustech.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CO2PR07MB2614; 23:MOIFMD6PDXYmAXBdEZ7iKNXnyYRODgbKPGz2SRPlB?= ydKf2RYXIUtqEzRSjLT49VxMkUt7raP5eO5+l8TgVOWQOo0bZXm+CKGktWr3GOu9WNaVvacIavPtspvwcBSUGi9vDTZKyn6VYxqDuW1HXF1enALrP8b51KfMVYIVt+JTXiNadERudLdLQ7YYwHo9SziuWVHqUwVCAeVcmSY9AnLnxfRJ9LVmmKKRu3erQsq9YnGpQs3y2sfAZtCIPQ2Y5A1bI/7E5Qq49RdelFVf66G7XrTsfqqGqrMEEOeHwei+lQ4JaTX2eFkYpy0z8o0c0ByuLjksPtqgbt5CQSi7LCW6hGQTjIR5/aLv74Li2KCC8MSvrauFGyni70GnZZwuBLIVoZGH0igCW/FZsxQdqxdlpxNIMo0IEMKdrVlrfSJsO5LHVgfryIk81MHuuR8LE8bcKI4dblXwTR3EgVkIBlLb3032TyEWQ+gXGto4Yw8cV3IHxML35523AFpvtbuE7q/L89aeGd6eLbqyIsxW8zZ4O7KCXCpW4I+u3eo3i9+wi9dR0GpANNSZIY4mQkoFVwvfYmuoGrtvMZwBL656SLjCfen8YbWyWBbc08U/iOl5qgsjyiw7K/lwPduE7/plywDMK9TBZGvLurosrUwrjbyNm+KJoEGUyOVFhQQ49lgSeNebT+XZT6UaO/P3Om609hSta6fIDJ7z03oaH6C6KEQFFBgSx4wJtL0zxzfN6+yIhgg1qfNtR/oKJtzREMd8ZXTiXVKJsrEMpTGs58WuIld7+hpkkp0rLTVMDadhFn9bBp78aa47Nnf73hPuPk88aKAWu0OGimxg3F7wKenoAO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0wchx/XsLtH++40lNexZrdqMiS85xuF3er8lm1nf4/wa+wFNt84gVkAjzcJ5UI8Npwj19QsLNpYxlGSSIQ2LFdFVF/WKV0G4mVi/8gDNLf+ByNhqJDhmnQyBYgTTBgW1XFb9kQm2535oX8J2G8ewvpXYmEA==; 5:L/HSVBgzvo9+sexO5C0mnJkuHHw5ZwkVKcJHcQa8xoeGwnNzjYEo5AwvpAequSYgjDhHgnQshYY4mw5dmnyW6eNjEIvSBZGa5fxpfyhToiBaR6S1g/ODJ5CPjeiQAAUx1XxCkpFSFXFHcxEaF3OweAKUHeqr1kNXiHLrTWHIC4M=; 7:1tm5AZcG7M3OyFleTr9mAQIXSdcd7vemtTs7J54pFILVwv9fYhU+OOyQL2OvL6jK79gpsMNd9jIxVAWFkPbeM0/+NthpfWKUudvCziS2xRWimJsgURd4IveBQp2vVEtBfQudS8sRsNiP3KxQi4N5x6d09wR1S+nQ9jec9JEcmHc+CR0Ig1EeuDBBbPocr0go08AwiDK7CAMnxmaMEJXcCbKUyZhOnPe7Tek79DD8xoRmAxMsEV7UPmYrlJJYwZeh SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: janustech.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Jul 2018 12:18:23.5362 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: ca422d9f-8c0a-4b21-72a7-08d5f15f8e3a X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 34eb020e-3cf3-43a1-afeb-f5cf1310628e X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO2PR07MB2614 X-detected-operating-system: by eggs.gnu.org: Windows 7 or 8 [fuzzy] X-Received-From: 40.107.69.95 X-Mailman-Approved-At: Tue, 24 Jul 2018 09:40:43 -0400 Subject: [Qemu-devel] [PATCH 0/4] Introduction of l2-cache-full option for qcow2 images X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <http://lists.nongnu.org/archive/html/qemu-devel/> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Cc: Kevin Wolf <kwolf@redhat.com>, qemu-block@nongnu.org, Max Reitz <mreitz@redhat.com> Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org> X-Virus-Scanned: ClamAV using ClamSMTP |
Series |
Introduction of l2-cache-full option for qcow2 images
|
expand
|
On 07/24/2018 07:17 AM, Leonid Bloch wrote: > This series introduces an option to calculate and allocate > automatically enough qcow2 L2 cache to cover the entire image. > Using cache that covers the entire image can benefit performance, > while having only a small memory overhead (just 1 MB for every 8 GB > of virtual image size with the default cluster size). Is this still needed after Berto's work on commit 603790e and related, that maximizes the l2 cache by minimizing the refcount cache?
On 07/24/2018 05:49 PM, Eric Blake wrote: On 07/24/2018 07:17 AM, Leonid Bloch wrote: This series introduces an option to calculate and allocate automatically enough qcow2 L2 cache to cover the entire image. Using cache that covers the entire image can benefit performance, while having only a small memory overhead (just 1 MB for every 8 GB of virtual image size with the default cluster size). Is this still needed after Berto's work on commit 603790e and related, that maximizes the l2 cache by minimizing the refcount cache? Yes. In the commits you refer to, the L2 cache was set to cover all the image size only in the case that the combined cache size is set, and is larger than max_l2_cache+min_refcount_cache. This series adds an option to set the L2 cache to cover the entire image without the need to calculate the required size externally, and without dependency on the combined cache size setting.