Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp483641img; Mon, 18 Mar 2019 07:31:22 -0700 (PDT) X-Google-Smtp-Source: APXvYqzfdGTSzAdxQ+NL2enrtJp6zNTPBtm89S3BEW1pYQuKleoToBHFEG86IIqYhP0rTjJEJ4a+ X-Received: by 2002:a17:902:7784:: with SMTP id o4mr20542409pll.152.1552919482015; Mon, 18 Mar 2019 07:31:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1552919482; cv=none; d=google.com; s=arc-20160816; b=ABsyUE12ka9CfnFb+GgExGmW4xWuKzFMQ3bfJseE6/L5PCYHN8UGlJqjWIteCV/Y2B kbV1m9AUn6iA2VZTSXVVeM190elpX0yy4SafYxQ9ImsWYjX4XWmFvHC5eqXbSobztlpL 1yq44p/aX+xn2zTnlXTbWSABQzbcT76bMvemdrSga6G8jj+lEcFD+ZCRc2Bq7Sw7Xu0P 7FSd1i+2biHxY4JKTac1WIFaODV9ClnpaugjlKP0u+R3fvt+XvlPl0scnS80hHclq02n hrk3oO0M6aQVnciAAKHWCIToagKN2MBTRtJiNENNo6xqA2gOnnXXQaJK916TDo4R3Pi8 4hMw== 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=MVtYnd4dn5ajxYSbLicJB7zk2YmGKH1F75DdfqHKHyc=; b=fuu8OZrrfUc6htH1gh4zpSx/7OuwrcgQw77xkUasA5m4qSCjoIR/Nc5UrbZi26H+Ka 0e+zF/Mv5YXVrISOXG0MJibWgmw54salHohPJPZk4IyZzt8Thlx7mwuXnX2D9KkMwIzj jqgNxzZvy+nrhBPlbuafAKO2y3zAVxUBEC5hDnJn3p1iLbky26gLMdhTbbY34xO6dUYe 3TuvAfO1wXMcBEDylR4a2H52V1+b0bO5q9s7JeyIamk73VP0cXPz1bABDcb6efwIyFVw jaeVSdAEW9x1Itq91V5K8s4VAJ2u/D+dWRsTFd0paALm5X+1p+6a6hiMy6NaX2Jcgu5f jqew== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 73si9758668pld.156.2019.03.18.07.31.06; Mon, 18 Mar 2019 07:31:22 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727779AbfCRO3S (ORCPT + 99 others); Mon, 18 Mar 2019 10:29:18 -0400 Received: from mx2.suse.de ([195.135.220.15]:54354 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727183AbfCRO3R (ORCPT ); Mon, 18 Mar 2019 10:29:17 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id A70D1ACC5; Mon, 18 Mar 2019 14:29:16 +0000 (UTC) Date: Mon, 18 Mar 2019 15:29:16 +0100 From: Michal Hocko To: Pankaj Suryawanshi Cc: "linux-mm@kvack.org" , "linux-kernel@vger.kernel.org" , "minchan@kernel.org" , Kirill Tkhai Subject: Re: [External] Re: mm/cma.c: High latency for cma allocation Message-ID: <20190318142916.GK8924@dhcp22.suse.cz> References: <20190318130757.GG8924@dhcp22.suse.cz> <20190318134242.GI8924@dhcp22.suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon 18-03-19 14:02:09, Pankaj Suryawanshi wrote: >> > I have the system(vanilla kernel) with 2GB of RAM, reserved 1GB for CMA. No swap or zram. >> > Sorry, I don't have information where the time is spent. >> > time is calculated in between cma_alloc call. >> > I have just cma_alloc trace information/function graph. > >> Then please collect that data because it is really hard to judge >> anything from the numbers you have provided. > > Any pointers from which i can get this details ? I would start by enabling built in tracepoints for the migration or use a system wide perf monitoring with call graph data. -- Michal Hocko SUSE Labs