Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp4581540ybe; Mon, 9 Sep 2019 11:15:44 -0700 (PDT) X-Google-Smtp-Source: APXvYqxtCykOrHoUKyKub+VNfyUsRNB1ZtiWv5adXlN5gQJzajy0hK2BaTwdMQt6UIGRpdfPpm7/ X-Received: by 2002:a17:906:82da:: with SMTP id a26mr21031256ejy.20.1568052944405; Mon, 09 Sep 2019 11:15:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568052944; cv=none; d=google.com; s=arc-20160816; b=DJM/46vcIguEwLuHOb72OK79aWlpVJ9Jk98UwwbrZfTLqnCrKCOvIvUSE5Qr74ICMj do3PodIj4ZugdccyVj9UcqSS3e68gW/EkptC4bEcJ1bqIPzqR70sreOmb0lpj+SERNj6 HICQk4db8gi8FGwpRiVlNYJ1+Z6xlNuTwFZUdtsIl/LGIQmS2CGFifh6zTOy6L/4SQdm wMY/Sxx4h4E6zzG5DSfTRa3jgEahlI4meCBrHtFvDzsKTdMaBdBfH7s86UkYQTuzR3z6 bQXasCw95/A0CEAMaNb0tZmWGxb/iIf+5WPnONbl+6vx9i4i0h88VN3Ktui1Jzvwjbyr S29g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=IMWp6KXXR8IQ4LrcMn8CoBvVZiQM6PcLKpDKY+ZEjB4=; b=gYeSEdn3mWwv6yuRQoH/53rNoBTZTt9KdTZ2kosrJkxG9BruwdCnarWayQquCwh6G7 Qm6lon60VmySiAme1nsYWYAE1JNNTo5kpQFFcJSo5pVLRmREo2Po5j37vPBJS5sZCsJy WnGOenZDA1wkbdes0FQFV09wpbdDUJteSAPoD8X7vkjjsG0+ZuO/5NRlnwF0F1wczNhB BowAWKXHgWKxLJYzIuxzFJS8Six2RkGFZduhOnBmpG0ubVbXkukwN7OmNf+75FB4lZs7 omiEVRcB34BgnO2ou1O3kfnmNBhqpJ6Lp9hbKGwzpV+r1Mq+BMRjcw/e7kW5QvRi9pi8 Q2+A== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y8si9430769edd.355.2019.09.09.11.15.20; Mon, 09 Sep 2019 11:15:44 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731467AbfIHXra (ORCPT + 99 others); Sun, 8 Sep 2019 19:47:30 -0400 Received: from zeniv.linux.org.uk ([195.92.253.2]:47728 "EHLO ZenIV.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731201AbfIHXr3 (ORCPT ); Sun, 8 Sep 2019 19:47:29 -0400 Received: from viro by ZenIV.linux.org.uk with local (Exim 4.92.2 #3 (Red Hat Linux)) id 1i76tu-0005f5-1o; Sun, 08 Sep 2019 23:47:22 +0000 Date: Mon, 9 Sep 2019 00:47:22 +0100 From: Al Viro To: kernel test robot Cc: David Howells , Hugh Dickins , LKML , linux-fsdevel@vger.kernel.org, lkp@01.org Subject: Re: [vfs] 8bb3c61baf: vm-scalability.median -23.7% regression Message-ID: <20190908234722.GE1131@ZenIV.linux.org.uk> References: <20190903084122.GH15734@shao2-debian> <20190908214601.GC1131@ZenIV.linux.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190908214601.GC1131@ZenIV.linux.org.uk> User-Agent: Mutt/1.12.0 (2019-05-25) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Sep 08, 2019 at 10:46:01PM +0100, Al Viro wrote: > On Tue, Sep 03, 2019 at 04:41:22PM +0800, kernel test robot wrote: > > Greeting, > > > > FYI, we noticed a -23.7% regression of vm-scalability.median due to commit: > > > > > > commit: 8bb3c61bafa8c1cd222ada602bb94ff23119e738 ("vfs: Convert ramfs, shmem, tmpfs, devtmpfs, rootfs to use the new mount API") > > https://kernel.googlesource.com/pub/scm/linux/kernel/git/viro/vfs.git work.mount > > > > in testcase: vm-scalability > > on test machine: 88 threads Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz with 128G memory > > with following parameters: > > > > runtime: 300s > > size: 16G > > test: shm-pread-rand > > cpufreq_governor: performance > > ucode: 0xb000036 > > That thing loses size=... option. Both size= and nr_blocks= affect the > same thing (->max_blocks), but the parser keeps track of the options > it has seen and applying the parsed data to superblock checks only > whether nr_blocks= had been there. IOW, size= gets parsed, but the > result goes nowhere. > > I'm not sure whether it's better to fix the patch up or redo it from > scratch - it needs to be carved up anyway and it's highly non-transparent, > so I'm probably going to replace the damn thing entirely with something > that would be easier to follow. ... and this + { Opt_huge, "deny", SHMEM_HUGE_DENY }, + { Opt_huge, "force", SHMEM_HUGE_FORCE }, had been wrong - huge=deny and huge=force should not be accepted _and_ fs_parameter_enum is not suitable for negative constants right now anyway.