Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp782313imm; Wed, 22 Aug 2018 12:30:06 -0700 (PDT) X-Google-Smtp-Source: ANB0VdbV7UqPzTeM6m0mNAeq/5+wjBAFQfUOGou2crj5CYJKTAsYP/ieMb8vQbz3LPgcBqcFWSTz X-Received: by 2002:a63:5d1c:: with SMTP id r28-v6mr1532134pgb.445.1534966206227; Wed, 22 Aug 2018 12:30:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534966206; cv=none; d=google.com; s=arc-20160816; b=rYiVb6E5KYJE6kWIRDO1959t0L2F+XkmAG7mH1bqioirxCfXjDDmXer3CqW8/FkLLG /UfaOOE66b80MSTS61doJtDGp8gSlxieMxPGntHAIX5fUTMAKbr4PLZmg0X4nzSo0YDt rmliqCZEtOArtPYHXqmPVBJuSOisTLm2KD7zEZo+pChvrMz2N1J4Ix66maRcnVmL0y4D 2jhHEyJ7NDMxuJpP4bopD/aZ8GaxmYHCKKJQ0imTb3VSciTlF34kUxXD9m6naC93O7J3 IR6hGzPPCTMgcOkxMErMp2mF505NTNAbALzPfpj3TfLVg+uT1xbiLuQD19PG9VaQzGfM rYqg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature :arc-authentication-results; bh=Va8rQ0O2lOpquPX7X/RHnelm/ieZaNkrPKr2NNwybRM=; b=A9Jnq/rGSk001UZOBANS1puVC21cDkzdqwvrqIZYrGORZQgMnRDzt0WU/K4L7JjnCJ J42Q8TCquZdv7xpYwuTFQn4OwRwffKm4ETsZ1hbOUtI3mIHgKnoKcI5UHwdJp7OiWpec bLH6BTMcKc0Z3SKnBCNeAnsVRzyni6cfJuZcqbAXOoYDT5i6kx8jFkWLP+l0bAHTpGah Yu6GADIBck9zdEedlt3w6CzBij/3yHqiQgBbst9w2DRXbmN2XhkrOuhQL8RlGPL2ybw7 uhaRh2qvgAFSqasxMq+QxSUBTi9BQ1wMDgBJhI6lULMx3bxr/bO4ZMnDO/zT7wFxrXr4 TI9Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=p88KXs0R; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r69-v6si2336002pgr.634.2018.08.22.12.29.50; Wed, 22 Aug 2018 12:30:06 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=p88KXs0R; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728168AbeHVWyX (ORCPT + 99 others); Wed, 22 Aug 2018 18:54:23 -0400 Received: from mail-pg1-f194.google.com ([209.85.215.194]:46420 "EHLO mail-pg1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727687AbeHVWyX (ORCPT ); Wed, 22 Aug 2018 18:54:23 -0400 Received: by mail-pg1-f194.google.com with SMTP id b129-v6so1351933pga.13; Wed, 22 Aug 2018 12:28:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=Va8rQ0O2lOpquPX7X/RHnelm/ieZaNkrPKr2NNwybRM=; b=p88KXs0RelXcPO9xPrXs6mWAr5tiF1bS6JL4Zn6hhHUxOvcUnOsbCBNIY8WMVCB1Wf Nzw418Z/unGCL6iHdnjXGHJBarcMT7aIm7ld2Y4W/q7k5gwf9dpCKaigGtkzyvkuw/PS ydP4z1yGNfBYh0gjT4lwlJ3KVUFWWxcaTcnRmrcv2sD6tCYrfP0ns8yRUagtOdm7YhI2 ccPXHobel03icBV62Aqb4OjIm5TxF1IvtXMghTvexKOO/DX44p6mUKV9OMCfl/tRfVLD CdnT+hdsEto2sso9QsgYpyCfcsxe6gMNCp52YnUlYk5xmFzO4CiMLZzpQIwXTlugxwbZ DnDg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=Va8rQ0O2lOpquPX7X/RHnelm/ieZaNkrPKr2NNwybRM=; b=cJruF1QP8YiOLgf+zg7YSLvBj1Rb4u/QjI2p8gfHTdp9Y3MiPJW0Ch9Sf/jVNb8UXI F+1wmDZJsva60P7hQLEu2x4xy0EvBA0C8huZFkl4hfjXJgFVL+0K3EWhYS50YctbYoP3 fLXPxJObrIdt3dwk7dJZ9X4ryn9R5f2Urq2LPcWl0s3cnIHDfPOMa3pgkod8qJD+Fi6W 7ZHeQ8D9E5851gjljS+yTYlKWK0bKbhliZqtkGWjq75esy/GR7gypfMeK2Uqg+nzIMPe AN3C3ApVXC4xpT5I+39pPO8w3ziY509oc6S9O0hl3yYlsMeKlqJIkq42Inww7X7ohOhb TwMw== X-Gm-Message-State: AOUpUlG5lpDkxEK6y3wsLajZ1CA1LyhugNz5FxXTqFtzgLABfc1dBbIS JtI0WVhEKBTVs6Rhfgo8kcTzGczBSFCvms59ELZClg== X-Received: by 2002:a65:52cc:: with SMTP id z12-v6mr52817127pgp.69.1534966093184; Wed, 22 Aug 2018 12:28:13 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Steve French Date: Wed, 22 Aug 2018 14:28:01 -0500 Message-ID: Subject: Re: Overview of performance improvements of recent SMB3 compounding patches To: CIFS , samba-technical , LKML , linux-fsdevel , ronnie sahlberg Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Continuing the experiments with Ronnie's patches show additional promising performance results from other common scenarios: Very good news that the number of roundtrips (request/response pairs to the server) has dropped so substantially. Reducing latency, and allowing the server to more efficiently process the requests leads to much better performance for these common operations: - rename goes from 9 request/response pairs to 5 ("mv /mnt/file /mnt/file1") - hardlink goes from 8 to only 3 (!) ("ln /mnt/file1 /mnt/file2") - symlink (with mfsymlinks enabled) goes from 11 to 9 ("ln -s /mnt/file1 /mnt/file3") - touch (existing file) 6 down to 4 In current kernel we benefit from compounding now on stafs ("stat -f /mnt"), and in the earlier note I described the improvements in create, unlink, mkdir and rmdir which were also awesome. This is very exciting. On Tue, Aug 21, 2018 at 1:24 PM Steve French wrote: > > In experiments today with Ronnie's most recent compounding patches I > see the expected significant improvements in create/mkdir/unlink/rmdir > operations over SMB3 mounts (tests were to Samba but would be similar > to all modern servers). See below: > > "touch /mnt/file" goes from 6 request/response pairs to 4 with > Ronnie's compounding patches > "rm /mnt/file" from 5 to 2 request/response pairs > "mkdir /mnt/newdir" 6 pairs to 3 pairs > "rmdir /mnt/newdir" 6 pairs down to 2 pairs > > Good job Ronnie! > -- > Thanks, > > Steve -- Thanks, Steve