Re: [External] Re: mm/cma.c: High latency for cma allocation

2019-03-21 Thread Michal Hocko
Can you please fix your email client? The broken quoting is just irritating. On Tue 19-03-19 11:45:03, Pankaj Suryawanshi wrote: [...] > I have tried for latency count for 385MB: > > reclaim- reclaim_clean_pages_from_list() > migrate- migrate_pages() > migrateranges- isolate_migratepages_range()

Re: [External] Re: mm/cma.c: High latency for cma allocation

2019-03-19 Thread Pankaj Suryawanshi
From: Pankaj Suryawanshi Sent: 19 March 2019 15:59 To: Michal Hocko Cc: linux...@kvack.org; linux-kernel@vger.kernel.org; minc...@kernel.org; Kirill Tkhai Subject: Re: [External] Re: mm/cma.c: High latency for cma allocation

Re: [External] Re: mm/cma.c: High latency for cma allocation

2019-03-19 Thread Pankaj Suryawanshi
From: Michal Hocko Sent: 18 March 2019 19:59 To: Pankaj Suryawanshi Cc: linux...@kvack.org; linux-kernel@vger.kernel.org; minc...@kernel.org; Kirill Tkhai Subject: Re: [External] Re: mm/cma.c: High latency for cma allocation On Mon 18-03-19 14:02:09

Re: [External] Re: mm/cma.c: High latency for cma allocation

2019-03-18 Thread Michal Hocko
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

Re: [External] Re: mm/cma.c: High latency for cma allocation

2019-03-18 Thread Pankaj Suryawanshi
From: Michal Hocko Sent: 18 March 2019 19:12 To: Pankaj Suryawanshi Cc: linux...@kvack.org; linux-kernel@vger.kernel.org; minc...@kernel.org; Kirill Tkhai Subject: Re: [External] Re: mm/cma.c: High latency for cma allocation [Please do not use html

Re: [External] Re: mm/cma.c: High latency for cma allocation

2019-03-18 Thread Michal Hocko
[Please do not use html emails to the mailing list and try to fix your email client to not break quoating. Fixed for this email] On Mon 18-03-19 13:28:50, Pankaj Suryawanshi wrote: > On Mon 18-03-19 12:58:28, Pankaj Suryawanshi wrote: > > > Hello, > > > > > > I am facing issue of high latency in C

Re: [External] Re: mm/cma.c: High latency for cma allocation

2019-03-18 Thread Pankaj Suryawanshi
From: Michal Hocko Sent: 18 March 2019 18:37:57 To: Pankaj Suryawanshi Cc: linux...@kvack.org; linux-kernel@vger.kernel.org; minc...@kernel.org; Kirill Tkhai Subject: [External] Re: mm/cma.c: High latency for cma allocation CAUTION: This email originated from outside of the

Re: mm/cma.c: High latency for cma allocation

2019-03-18 Thread Michal Hocko
On Mon 18-03-19 12:58:28, Pankaj Suryawanshi wrote: > Hello, > > I am facing issue of high latency in CMA allocation of large size buffer. > > I am frequently allocating/deallocation CMA memory, latency of allocation is > very high. > > Below are the stat for allocation/deallocation latency iss

mm/cma.c: High latency for cma allocation

2019-03-18 Thread Pankaj Suryawanshi
Hello, I am facing issue of high latency in CMA allocation of large size buffer. I am frequently allocating/deallocation CMA memory, latency of allocation is very high. Below are the stat for allocation/deallocation latency issue. (390100 kB), latency 29997 us (390100 kB), latency 22957 us (