Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp493280imw; Wed, 13 Jul 2022 02:25:16 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sK5YJrKhaOaY267vVI7nqXkKPsTvwjzIybU/FlrQrWvLeGnoxRH6X6BLVU1rwMAZoI6d5y X-Received: by 2002:a17:902:c405:b0:16c:3cd:db84 with SMTP id k5-20020a170902c40500b0016c03cddb84mr2328265plk.6.1657704315992; Wed, 13 Jul 2022 02:25:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657704315; cv=none; d=google.com; s=arc-20160816; b=0Zon60cX+JVEbY8JJhh6hui80Ol7YjB/nlFsh91Xi9MHklGFzJIhJ0uQECWAKJ2J5X bn/kIW1JphJQfuSSszWRLO+7s73M+xoCTTRctqPEZjMJPa0yVi9GITJAgemGCY2ADYjl fcL/Zp7/wheP8dwPJ3pN6WULL420ncRBW1kdS21JkhX4MEun0dzxCeHVf3oAUJJQOqDS ZZi7OsiPhzNf7cFczaGfz9kXJAzT4PHhBjLPJuf9kH5dGL3Dbc/6dWcta2ij22ESI1i0 NUqmJzzrYrLFVPxWMEZxkAX5BpcWe6N1A5hielLUFiLO/V1rAe+57frZkbvAyVkcA5Iy bOTg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=Nu1POy7YkuNyZuJHgCV5LHCqiHV9ZZ729P8AmcVEC4E=; b=sJShVrBlmmlb/5Dje8j/MtMH+tfyrSqdOgbk6M3ujhoFripSkghKWvKJYi+yrCZ4e7 6Kp3ckZQ/2IzAx7s8G81yXX2hEhQcxOTcgqwIW8XcVrzPZeNmZBS6W1/rYtKdFnbRPFl Nf1/bAR/N0QOnzqx35Qxnp7DHHDZM80YUWa7lWX4h2Svt0f7VMExnWpE6w88ko5JPq7F 31lRGiWJ5t4fJLjbdQXO8lwzULgchXKtmeRafkCHO41no1lEJKYw0Wk+FvxQsIJKOqfV rScr7uexub25Pl2vMLnE+XYyqdOIe0CDTCtJlBpQSbPtHCP4MYPIjI/CWspxYkUbMteP zVLg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@crudebyte.com header.s=kylie header.b=muDkd3U1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=crudebyte.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x22-20020a056a00189600b0052ad02461f0si10146503pfh.88.2022.07.13.02.24.40; Wed, 13 Jul 2022 02:25:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@crudebyte.com header.s=kylie header.b=muDkd3U1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=crudebyte.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235830AbiGMI5E (ORCPT + 99 others); Wed, 13 Jul 2022 04:57:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38186 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235804AbiGMI47 (ORCPT ); Wed, 13 Jul 2022 04:56:59 -0400 Received: from kylie.crudebyte.com (kylie.crudebyte.com [5.189.157.229]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BC240EA149; Wed, 13 Jul 2022 01:56:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=crudebyte.com; s=kylie; h=Content-Type:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: Content-ID:Content-Description; bh=Nu1POy7YkuNyZuJHgCV5LHCqiHV9ZZ729P8AmcVEC4E=; b=muDkd3U1IcxZQCX+U/CQIBkpxt ZU+gG6hyVSQXeQI8qgawE6oaFo3/0+Yf09PRRHlTBuTr3WDJrpc41F1R3S5fsfpl3CUyBW+mtKdur f8BqCWCkPs5vWnF1ffZ+zv/iCehxrjyyGk5SbzQD/J1BgTRXVwb8QsuIK09DO9qM+K1wrmlY/8TJr mo9Pb/LKje7h2TpmjXXJhPdRd10jf6xB7KxTqe2TL0wDvDwfzXX+aKHNMkiXQevS2C9vLRHMl/X5U RufnnNoz2I/kVQtw3aYlQeHmKWbBm8DypgMi3WvHN9A5cQqnhjEB26ekFuramQJadpXZdAFwkjQRR Y2yRtupuX2IN3yDJgk4iwZ8Kmk9PlbBFaqBI+sVFazLWGBYVyBo9GXdA9E6vCkzgCLK7/6xqM3hsF jRKP8EAt2QwXVjcaqdxmujWBvdCQ/XG63ZQ1U2DYzx+NkpCV830tKiwC48Uq0+w/G/rA/XsbQiw+q cdtKFjRalgmH2DqPo4lUGFBAcP8m69KAZR2NNwm3Jd4nQHLhrSEjkB+S2L7rC+EOCqTWAr7FprKQb 4RHcmhGXOyYGtKNcmC9DbJ7n2gnTjFdy4pN9uE4xUyhi2GmeRC5QrJyNSdS0uupIArgXayiRGvuUj bEdoQt08cq7VRGsTM19JZemXVMpmvxnFiup4glWLE=; From: Christian Schoenebeck To: Dominique Martinet Cc: v9fs-developer@lists.sourceforge.net, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, Eric Van Hensbergen , Latchesar Ionkov , Nikolay Kichukov Subject: Re: [PATCH v5 00/11] remove msize limit in virtio transport Date: Wed, 13 Jul 2022 10:54:47 +0200 Message-ID: <7468612.NupLhYsxyy@silver> In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Dienstag, 12. Juli 2022 23:13:16 CEST Dominique Martinet wrote: > Alright; anything I didn't reply to looks good to me. > > Christian Schoenebeck wrote on Tue, Jul 12, 2022 at 04:35:54PM +0200: > > OVERVIEW OF PATCHES: > > > > * Patches 1..6 remove the msize limitation from the 'virtio' transport > > > > (i.e. the 9p 'virtio' transport itself actually supports >4MB now, > > tested > > successfully with an experimental QEMU version and some dirty 9p Linux > > client hacks up to msize=128MB). > > I have no problem with this except for the small nitpicks I gave, but > would be tempted to delay this part for one more cycle as it's really > independant -- what do you think? Yes, I would also postpone the virtio patches towards subsequent release cycle. > > * Patch 7 limits msize for all transports to 4 MB for now as >4MB would > > need> > > more work on 9p client level (see commit log of patch 7 for details). > > > > * Patches 8..11 tremendously reduce unnecessarily huge 9p message sizes > > and > > > > therefore provide performance gain as well. So far, almost all 9p > > messages > > simply allocated message buffers exactly msize large, even for messages > > that actually just needed few bytes. So these patches make sense by > > themselves, independent of this overall series, however for this series > > even more, because the larger msize, the more this issue would have hurt > > otherwise. > > time-wise we're getting close to the merge window already (probably in 2 > weeks), how confident are you in this? > I can take patches 8..11 in -next now and probably find some time to > test over next weekend, are we good? Well, I have tested them thoroughly, but nevertheless IMO someone else than me should review patch 10 as well, and review whether the calculations for the individual message types are correct. That's a bit of spec dictionary lookup. Best regards, Christian Schoenebeck