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=-7.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,UNPARSEABLE_RELAY autolearn=no 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 6EB87C4361A for ; Fri, 4 Dec 2020 19:50:41 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id F240722582 for ; Fri, 4 Dec 2020 19:50:40 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org F240722582 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=oracle.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 870386B0036; Fri, 4 Dec 2020 14:50:40 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 7D0AB6B005C; Fri, 4 Dec 2020 14:50:40 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 6C0036B005D; Fri, 4 Dec 2020 14:50:40 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0208.hostedemail.com [216.40.44.208]) by kanga.kvack.org (Postfix) with ESMTP id 5130C6B0036 for ; Fri, 4 Dec 2020 14:50:40 -0500 (EST) Received: from smtpin25.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay05.hostedemail.com (Postfix) with ESMTP id 1A979181AEF1E for ; Fri, 4 Dec 2020 19:50:40 +0000 (UTC) X-FDA: 77556642240.25.humor47_270f94d273c7 Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin25.hostedemail.com (Postfix) with ESMTP id E84AD1804E3A0 for ; Fri, 4 Dec 2020 19:50:39 +0000 (UTC) X-HE-Tag: humor47_270f94d273c7 X-Filterd-Recvd-Size: 4351 Received: from userp2130.oracle.com (userp2130.oracle.com [156.151.31.86]) by imf06.hostedemail.com (Postfix) with ESMTP for ; Fri, 4 Dec 2020 19:50:39 +0000 (UTC) Received: from pps.filterd (userp2130.oracle.com [127.0.0.1]) by userp2130.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 0B4JoXhN088504; Fri, 4 Dec 2020 19:50:37 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : in-reply-to : references : date : message-id : mime-version : content-type : content-transfer-encoding; s=corp-2020-01-29; bh=ayA4yxRTiz2zVJoqQMtyCh1nlp7J7q7+RnupXk91l1s=; b=qg5yldH8V/e+0hm5fehqOhL7LdnHXkMrxRMxv6vR9vgDDBRu24dbNJYPyIJeG8WTXjMT C009t15/YuQywa56l+KXrH6uFm25Hv/+G3EIIjiho9a4s4Z3Alp3PP1Sol1XOUFiKMrI Fpu3Hvjp2sukN7DiC0lIOEC1t5w+D0JR0OEfzHmfTdlwQmE3aUvMuJWpp/97TrABpdIj Oh3GwREfnZIyEOmo95Sc4Dc3AW72jgU/Esght+UfvZ3IzMMtIaDrlHRCzi9/uqLJLL0X 7HJMOtUPGlTpLPzKyucX2mXRmjL6GzJcEMzmcPTk+pyDTym1IYNs/WMj9+gFpHqlHS2p VQ== Received: from aserp3030.oracle.com (aserp3030.oracle.com [141.146.126.71]) by userp2130.oracle.com with ESMTP id 353dyr4xev-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 04 Dec 2020 19:50:37 +0000 Received: from pps.filterd (aserp3030.oracle.com [127.0.0.1]) by aserp3030.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 0B4JoaNK050008; Fri, 4 Dec 2020 19:50:36 GMT Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by aserp3030.oracle.com with ESMTP id 35404sqf6b-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 04 Dec 2020 19:50:36 +0000 Received: from abhmp0015.oracle.com (abhmp0015.oracle.com [141.146.116.21]) by aserv0121.oracle.com (8.14.4/8.13.8) with ESMTP id 0B4JoXlE028004; Fri, 4 Dec 2020 19:50:33 GMT Received: from parnassus (/98.229.125.203) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Fri, 04 Dec 2020 11:50:33 -0800 From: Daniel Jordan To: Paul Menzel , David Hildenbrand Cc: linux-mm@kvack.org, Arjan van de Ven , Feng Tang Subject: Re: Deferred Memory Init: How to bring rest of memory online after limiting it with `mem=XG`? In-Reply-To: <75c699e1-0f2f-dd83-5f1f-ebc0753ad762@molgen.mpg.de> References: <808e493f-18a2-fe82-46b3-e44fe87e989c@redhat.com> <8a395c1a-764b-9d82-0a12-b1a9254f8d53@molgen.mpg.de> <7692e410-886e-a1bb-4158-e02305fcd013@redhat.com> <87v9disj2s.fsf@oracle.com> <75c699e1-0f2f-dd83-5f1f-ebc0753ad762@molgen.mpg.de> Date: Fri, 04 Dec 2020 14:50:29 -0500 Message-ID: <87r1o5s64a.fsf@oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9825 signatures=668682 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=1 bulkscore=0 malwarescore=0 mlxscore=0 mlxlogscore=999 phishscore=0 spamscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2012040114 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9825 signatures=668682 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 malwarescore=0 bulkscore=0 clxscore=1015 mlxscore=0 spamscore=0 priorityscore=1501 mlxlogscore=999 suspectscore=1 lowpriorityscore=0 phishscore=0 adultscore=0 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2012040114 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: Paul Menzel writes: > If you have ideas how to reduce the boot time of the full 32 GB, that=E2= =80=99d=20 > be great. The kernel source has scripts/show_delta to see the relative times between lines of dmesg. That combined with the initcall_debug arg you're already using should go some way toward helping you find where the boot is slow. Then there are a variety of tools you can use to drill down further if necessary, with the simplest being some extra printk's in the kernel paths that the output points you to if you're willing to do that. You might also do some more runs to see if your numbers are stable. thanks, Daniel