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=-5.5 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_NONE,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 424DBC433E0 for ; Sun, 31 May 2020 06:29:40 +0000 (UTC) Received: from shelob.surriel.com (shelob.surriel.com [96.67.55.147]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id D4B9A207BC for ; Sun, 31 May 2020 06:29:39 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=kroah.com header.i=@kroah.com header.b="oyrYs+5M"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="xrNyx+sq" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D4B9A207BC Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kroah.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=kernelnewbies-bounces@kernelnewbies.org Received: from localhost ([::1] helo=shelob.surriel.com) by shelob.surriel.com with esmtp (Exim 4.93) (envelope-from ) id 1jfHTC-0002Ql-Tt; Sun, 31 May 2020 02:29:18 -0400 Received: from out3-smtp.messagingengine.com ([66.111.4.27]) by shelob.surriel.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1jfHTA-0002Qf-CT for kernelnewbies@kernelnewbies.org; Sun, 31 May 2020 02:29:17 -0400 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id BEFDC5C00BD; Sun, 31 May 2020 02:29:13 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Sun, 31 May 2020 02:29:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kroah.com; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm3; bh=gE70FFKmHqdre6MIjeSQ6wVw3lk TiprUpVxjeMmNEqI=; b=oyrYs+5Miz2Qf2UUryb7OhfOemqfu0F3I2F9hSVVQHN SlUqlfWRMUlTskylp0IQUbKMTJTxVoru70ODnn+mA4yD4AQWxXGnXbT+Bzme3dwf EHtjwlXS0dgY9RAMlLAzdbdOhV0uOVoCsgpppU/rZw4/LXBzU79VoYySjTgH1uh3 gviuw8Ei2GLeV9EnJa7zr/9sPtrpb/XyXSJX/O4rz9c1iyktyMTkAbDGOilp+V4i nS1M3RqsKjzBu+npU9NO2MNulWuRd39z3zvJCIoQpZwKM4LctCLeLpLpTYGm3aZb yIjO6kWGk6bHs/5FUQTcslj7wOoKKEhHzVbSJjCAmRA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=gE70FF KmHqdre6MIjeSQ6wVw3lkTiprUpVxjeMmNEqI=; b=xrNyx+sqeXhN8itnzZaB7b /Kep8cyT9bNDJsnmfCWuN7SVmH+Ho9vtGynPxE1XUMIpDQtY9Q9AHcQOY+NIDf1i 9WUtK50Y+IbF7JrYqQrA7iDb2mNyS6HiP0Xbg1VRZE6371qHPNI1/Ohz5B3txdxX c6gCehF2lbMt9bKIhhVgV+UT5ntTDVWcbvovyb1Z1ceie1jCzShWPP8/0pJdR57p uLi8w1kDqeEPS8Wjlu7zkIj4pM6i3qxUBHMFtZGURN3+a9eZ9t6xvUBnly7h+hSW 9SNVCrdWeDv6XdumhcQSQbdJyVPb4yT798sEJmQBDggH/QE2URGnFqT4ZEwp5kwA == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrudefvddgudduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvffukfhfgggtuggjsehttdertddttddvnecuhfhrohhmpefirhgvghcu mffjuceoghhrvghgsehkrhhorghhrdgtohhmqeenucggtffrrghtthgvrhhnpeeluedvvd ejhedthefhudehgfdvvefhgfdtieegleeiudehgeeftdekteekudevgeenucffohhmrghi nhepghhithhlrggsrdgtohhmnecukfhppeekfedrkeeirdekledruddtjeenucevlhhush htvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehgrhgvgheskhhrohgr hhdrtghomh X-ME-Proxy: Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) by mail.messagingengine.com (Postfix) with ESMTPA id C4A9F3280060; Sun, 31 May 2020 02:29:12 -0400 (EDT) Date: Sun, 31 May 2020 08:29:08 +0200 From: Greg KH To: Harsh chopra Subject: Re: Computing resources required for kernel development Message-ID: <20200531062908.GA1082896@kroah.com> References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: Cc: Suraj Upadhyay , kernelnewbies@kernelnewbies.org X-BeenThere: kernelnewbies@kernelnewbies.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Learn about the Linux kernel List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: kernelnewbies-bounces@kernelnewbies.org On Sun, May 31, 2020 at 11:42:16AM +0530, Harsh chopra wrote: > I used > make -j2 all The number for -j should be at least the number of cores/cpus in your system, and usually double works well. I use -j10 for my tiny laptop and that runs quite nicely. I suggest running the kcbench tool to get a sense of how fast your machine is, and what the best -j number is for your system: https://gitlab.com/knurd42/kcbench.git Also, don't build the "full" kernel, only build what you need for your hardware + whatever driver/code you are working on. Read up on the 'make localmodconfig' kernel build option to have it create a configuration file that is _MUCH_ smaller than all options, which will make the build times very quick. Good luck! greg k-h _______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies