Received: by 2002:ac0:aed5:0:0:0:0:0 with SMTP id t21csp782054imb; Fri, 1 Mar 2019 13:56:18 -0800 (PST) X-Google-Smtp-Source: APXvYqwrt9K8aKm7dBAMugx3ZWSplQ2HE2LpCoGX2P42+b1mdnSR4sdpFNssM20AggeELc62PBVd X-Received: by 2002:a63:d25:: with SMTP id c37mr6574295pgl.230.1551477378479; Fri, 01 Mar 2019 13:56:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551477378; cv=none; d=google.com; s=arc-20160816; b=fpGHTmOdW0s6zJZdctAoMU1L/ACEkihYKaGHXP6PRSfNLVGadVu86G9twP3tXR9LxC RMorOpCbmY2xygKas4oeWqbs8rysA8YyYOLx+7IKYjJR5MrA4ynZKNkzTvxCOo9oXzLD 7Akv/5la4aN0Na1eMWmqVgJW9a4laBV1V+qXraoQZirBmokuLAjhw4tUZObn4Af4n57p ZdNPqciw/g5GDjLytfbjucydofDdiroj9QqdY+tw5jTyNmgCgxMpH7OnmQFgiONw0FpN Gg8mnztJ1mlqRn76Z/RdMpIXqEZHQC85BCkN7YAvwCIqWBBoyAnzOSWDlYoX3z1LicZ1 P4pw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:feedback-id:mime-version:user-agent :references:message-id:in-reply-to:subject:cc:to:from:date :dkim-signature; bh=1/SCKjedgviGSOGhfvN8pAKbwrTC/SUBYWtHbJIYNNs=; b=Ptwrpez7+9g/mtKff3mSR3EG/VGMYi8NGfrlIHqCVuGbnwOhSQcjLU/sUh/bbBs87U 0cpx0WaDnC8tEakLaBDId+/JjXTTLw3i2AHMqel+izBQSU/HBUGkNG4ScNkTeUxRWUF2 JHi98Bx9wFRIscvF/pRkGnXaI/YN+VdXz3rrvsYQHdQM3uOLcGURWC014LcNHLMyV480 fovFMd034Ka6Nbkb7iSPktAWNTjXdiVbuDvsnTNh41nW2cJ0M0YPViZRxeW+bqsKA9rY ne8nx6rftROrPUsuQJemT1AfMoc6V1mndxsk0PmqltE/xE83TgaGjq9kP6UTAs1ciNqs 0rUA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazonses.com header.s=ug7nbtf4gccmlpwj322ax3p6ow6yfsug header.b=SHpQY77t; 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 v38si20686521pgn.47.2019.03.01.13.56.02; Fri, 01 Mar 2019 13:56:18 -0800 (PST) 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=@amazonses.com header.s=ug7nbtf4gccmlpwj322ax3p6ow6yfsug header.b=SHpQY77t; 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 S1726693AbfCAVyX (ORCPT + 99 others); Fri, 1 Mar 2019 16:54:23 -0500 Received: from a9-33.smtp-out.amazonses.com ([54.240.9.33]:57644 "EHLO a9-33.smtp-out.amazonses.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725905AbfCAVyW (ORCPT ); Fri, 1 Mar 2019 16:54:22 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=ug7nbtf4gccmlpwj322ax3p6ow6yfsug; d=amazonses.com; t=1551477261; h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References:MIME-Version:Content-Type:Feedback-ID; bh=2Jc/tSP1ABqcl4cd1GgSVzoA/Kx4tApyrDVy0ryamn0=; b=SHpQY77tA+lD6XMnqdJMJV2eABN9q78u3jxFx8zlSpURu5PzKWQkLAKYg2oR3TlS 2+Le5kDQ6R7EjTXF6uzU5wFV0NPHkTDB65mY6Guv1rzbv38DSqJIOE4vpWvUTQAMOhZ t3Tm8NNMilcK5L/+qtZZJOcGBANEB088JCtpAnOI= Date: Fri, 1 Mar 2019 21:54:21 +0000 From: Christopher Lameter X-X-Sender: cl@nuc-kabylake To: Barret Rhoden cc: Dennis Zhou , Eial Czerwacki , tj@kernel.org, linux-kernel@vger.kernel.org, Shai Fultheim , Oren Twaig , "Paul E. McKenney" Subject: Re: [PATCH] percpu/module resevation: change resevation size iff X86_VSMP is set In-Reply-To: Message-ID: <010001693b404440-248fa987-624c-4587-940b-56e2ed4226d9-000000@email.amazonses.com> References: <1548071251-1849-1-git-send-email-eial@scalemp.com> <20190301203455.GA97188@dennisz-mbp.dhcp.thefacebook.com> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-SES-Outgoing: 2019.03.01-54.240.9.33 Feedback-ID: 1.us-east-1.fQZZZ0Xtj2+TD7V5apTT/NrT6QKuPgzCT/IC7XYgDKI=:AmazonSES Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 1 Mar 2019, Barret Rhoden wrote: > I'm not familiar with VSMP - how bad is it to use L1 cache alignment instead > of 4K page alignment? Maybe some structures can use the smaller alignment? > Or maybe have VSMP require SRCU-using modules to be built-in? It is very expensive. VMSP exchanges 4K segments via RDMA between servers to build a large address space and run a kernel in the large address space. Using smaller segments can cause a lot of "cacheline" bouncing (meaning transfers of 4K segments back and forth between servers).