From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.1 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E6881ECDE47 for ; Thu, 8 Nov 2018 18:14:39 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id B12C520825 for ; Thu, 8 Nov 2018 18:14:39 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="QMrocpIy" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B12C520825 Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=ti.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727124AbeKIDvU (ORCPT ); Thu, 8 Nov 2018 22:51:20 -0500 Received: from lelv0143.ext.ti.com ([198.47.23.248]:54318 "EHLO lelv0143.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726751AbeKIDvU (ORCPT ); Thu, 8 Nov 2018 22:51:20 -0500 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id wA8IECMB049814; Thu, 8 Nov 2018 12:14:12 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1541700852; bh=OkXviCVgaWEUgqXKL14EiwioW/fsUk9S161nucAIdnc=; h=Subject:To:CC:References:From:Date:In-Reply-To; b=QMrocpIyUEs3VZBn5GJemJ+6FswjTbV7c5NZZYCl6SJJz0vRwc1REBbhQbrV/Ufwx W2BEqU0itTdQfTXEvndQ1sSz6FVQRn/OTqmS41YpLnH8l4/gI/t/Lg3/cKW3hviTtC BVCXQxsQIvc8u4yZ4v4KFTZ+zTBTEI5NKbFKM/aQ= Received: from DLEE109.ent.ti.com (dlee109.ent.ti.com [157.170.170.41]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id wA8IECWK028080 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 8 Nov 2018 12:14:12 -0600 Received: from DLEE110.ent.ti.com (157.170.170.21) by DLEE109.ent.ti.com (157.170.170.41) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Thu, 8 Nov 2018 12:14:11 -0600 Received: from dflp33.itg.ti.com (10.64.6.16) by DLEE110.ent.ti.com (157.170.170.21) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1466.3 via Frontend Transport; Thu, 8 Nov 2018 12:14:11 -0600 Received: from [128.247.59.147] (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp33.itg.ti.com (8.14.3/8.13.8) with ESMTP id wA8IEBSA030286; Thu, 8 Nov 2018 12:14:11 -0600 Subject: Re: arm64 + ARM64_64K_PAGES=y To: Sebastian Andrzej Siewior CC: , , Linux ARM Mailing List References: <1ab7ee03-64fe-384a-c88f-f6d519b965db@ti.com> <20181108120040.pzupzyqnsxeuv5ne@linutronix.de> From: Grygorii Strashko Message-ID: <99e0b883-cf9f-2ab9-5003-d4506bfa461d@ti.com> Date: Thu, 8 Nov 2018 12:14:11 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 In-Reply-To: <20181108120040.pzupzyqnsxeuv5ne@linutronix.de> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/8/18 6:00 AM, Sebastian Andrzej Siewior wrote: > On 2018-11-06 15:34:55 [-0600], Grygorii Strashko wrote: >> Hi All, > Hi, > >> Do anybody tried to use ARM64 RT with 76K pages enabled? > > 75 would be an off by one but this :) Ops 8-). at least subj is correct. > >> My attempt shows that enabling CONFIG_ARM64_64K_PAGES=y increases latencies by ~30% >> >> cyclictest -n -m -Sp98 -q -D2m with CONFIG_ARM64_64K_PAGES=y >> >> >> T: 0 ( 772) P:98 I:1000 C: 120000 Min: 7 Act: 13 Avg: 10 Max: 85 >> T: 1 ( 773) P:98 I:1500 C: 79998 Min: 7 Act: 13 Avg: 10 Max: 71 >> T: 2 ( 774) P:98 I:2000 C: 59997 Min: 7 Act: 11 Avg: 11 Max: 64 >> T: 3 ( 775) P:98 I:2500 C: 47996 Min: 7 Act: 14 Avg: 12 Max: 66 >> >> >> cyclictest -n -m -Sp98 -q -D2m with CONFIG_ARM64_64K_PAGES=n >> >> >> T: 0 ( 697) P:98 I:1000 C: 120000 Min: 7 Act: 10 Avg: 9 Max: 38 >> T: 1 ( 698) P:98 I:1500 C: 79987 Min: 7 Act: 10 Avg: 10 Max: 32 >> T: 2 ( 699) P:98 I:2000 C: 59981 Min: 7 Act: 14 Avg: 11 Max: 46 >> T: 3 ( 700) P:98 I:2500 C: 47977 Min: 6 Act: 11 Avg: 10 Max: 45 > > So this is an idle system? Yes (in general) - it's collected with systemd, so some daemons are active. > The Kconfig help says "faster TLB lookup". Interesting. > Are the 16k pages in between (latency wise) by any chance? I'll try it. -- regards, -grygorii