Re: KSM not working in 4.9 Kernel

2018-09-21 Thread Mike Rapoport
On Thu, Sep 20, 2018 at 05:21:20PM +0530, Pintu Kumar wrote: > Hi, > > Thank you so much for all your reply so far. > I have few more doubts to understand the output from ksm sysfs. > Device: Hikey620 - ARM64 - Linux 4.9.20 > With HUGE page enabled: > CONFIG_TRANSPARENT_HUGEPAGE=y >

Re: KSM not working in 4.9 Kernel

2018-09-21 Thread Mike Rapoport
On Thu, Sep 20, 2018 at 05:21:20PM +0530, Pintu Kumar wrote: > Hi, > > Thank you so much for all your reply so far. > I have few more doubts to understand the output from ksm sysfs. > Device: Hikey620 - ARM64 - Linux 4.9.20 > With HUGE page enabled: > CONFIG_TRANSPARENT_HUGEPAGE=y >

Re: KSM not working in 4.9 Kernel

2018-09-20 Thread Pintu Kumar
Hi, Thank you so much for all your reply so far. I have few more doubts to understand the output from ksm sysfs. Device: Hikey620 - ARM64 - Linux 4.9.20 With HUGE page enabled: CONFIG_TRANSPARENT_HUGEPAGE=y CONFIG_TRANSPARENT_HUGEPAGE_ALWAYS=y # CONFIG_TRANSPARENT_HUGEPAGE_MADVISE is not set

Re: KSM not working in 4.9 Kernel

2018-09-20 Thread Pintu Kumar
Hi, Thank you so much for all your reply so far. I have few more doubts to understand the output from ksm sysfs. Device: Hikey620 - ARM64 - Linux 4.9.20 With HUGE page enabled: CONFIG_TRANSPARENT_HUGEPAGE=y CONFIG_TRANSPARENT_HUGEPAGE_ALWAYS=y # CONFIG_TRANSPARENT_HUGEPAGE_MADVISE is not set

Re: KSM not working in 4.9 Kernel

2018-09-17 Thread Mike Rapoport
On Mon, Sep 17, 2018 at 05:25:27PM +0530, Pintu Kumar wrote: > On Mon, Sep 17, 2018 at 11:46 AM Pintu Kumar wrote: > > > > But still no effect. > > > > And I checked LTP test cases. It almost doing the same thing. > > > > > > > > I observed that [ksmd] thread is not waking up at all. > > > > I

Re: KSM not working in 4.9 Kernel

2018-09-17 Thread Mike Rapoport
On Mon, Sep 17, 2018 at 05:25:27PM +0530, Pintu Kumar wrote: > On Mon, Sep 17, 2018 at 11:46 AM Pintu Kumar wrote: > > > > But still no effect. > > > > And I checked LTP test cases. It almost doing the same thing. > > > > > > > > I observed that [ksmd] thread is not waking up at all. > > > > I

Re: KSM not working in 4.9 Kernel

2018-09-17 Thread Pintu Kumar
On Mon, Sep 17, 2018 at 11:46 AM Pintu Kumar wrote: > > > But still no effect. > > > And I checked LTP test cases. It almost doing the same thing. > > > > > > I observed that [ksmd] thread is not waking up at all. > > > I gave some print inside it, but I could never saw that prints coming. > > >

Re: KSM not working in 4.9 Kernel

2018-09-17 Thread Pintu Kumar
On Mon, Sep 17, 2018 at 11:46 AM Pintu Kumar wrote: > > > But still no effect. > > > And I checked LTP test cases. It almost doing the same thing. > > > > > > I observed that [ksmd] thread is not waking up at all. > > > I gave some print inside it, but I could never saw that prints coming. > > >

Re: KSM not working in 4.9 Kernel

2018-09-17 Thread Pintu Kumar
On Mon, Sep 17, 2018 at 10:07 AM Mike Rapoport wrote: > > On Sun, Sep 16, 2018 at 10:35:17PM +0530, Pintu Kumar wrote: > > On Sun, Sep 16, 2018 at 9:02 PM Mike Rapoport > > wrote: > > > > > > On Fri, Sep 14, 2018 at 07:58:01PM +0530, Pintu Kumar wrote: > > > > Hi All, > > > > > > > > Board:

Re: KSM not working in 4.9 Kernel

2018-09-17 Thread Pintu Kumar
On Mon, Sep 17, 2018 at 10:07 AM Mike Rapoport wrote: > > On Sun, Sep 16, 2018 at 10:35:17PM +0530, Pintu Kumar wrote: > > On Sun, Sep 16, 2018 at 9:02 PM Mike Rapoport > > wrote: > > > > > > On Fri, Sep 14, 2018 at 07:58:01PM +0530, Pintu Kumar wrote: > > > > Hi All, > > > > > > > > Board:

Re: KSM not working in 4.9 Kernel

2018-09-16 Thread Mike Rapoport
On Sun, Sep 16, 2018 at 10:35:17PM +0530, Pintu Kumar wrote: > On Sun, Sep 16, 2018 at 9:02 PM Mike Rapoport wrote: > > > > On Fri, Sep 14, 2018 at 07:58:01PM +0530, Pintu Kumar wrote: > > > Hi All, > > > > > > Board: Hikey620 ARM64 > > > Kernel: 4.9.20 > > > > > > I am trying to verify KSM

Re: KSM not working in 4.9 Kernel

2018-09-16 Thread Mike Rapoport
On Sun, Sep 16, 2018 at 10:35:17PM +0530, Pintu Kumar wrote: > On Sun, Sep 16, 2018 at 9:02 PM Mike Rapoport wrote: > > > > On Fri, Sep 14, 2018 at 07:58:01PM +0530, Pintu Kumar wrote: > > > Hi All, > > > > > > Board: Hikey620 ARM64 > > > Kernel: 4.9.20 > > > > > > I am trying to verify KSM

Re: KSM not working in 4.9 Kernel

2018-09-16 Thread Pintu Kumar
On Sun, Sep 16, 2018 at 9:02 PM Mike Rapoport wrote: > > On Fri, Sep 14, 2018 at 07:58:01PM +0530, Pintu Kumar wrote: > > Hi All, > > > > Board: Hikey620 ARM64 > > Kernel: 4.9.20 > > > > I am trying to verify KSM (Kernel Same Page Merging) functionality on > > 4.9 Kernel using "mmap" and madvise

Re: KSM not working in 4.9 Kernel

2018-09-16 Thread Pintu Kumar
On Sun, Sep 16, 2018 at 9:02 PM Mike Rapoport wrote: > > On Fri, Sep 14, 2018 at 07:58:01PM +0530, Pintu Kumar wrote: > > Hi All, > > > > Board: Hikey620 ARM64 > > Kernel: 4.9.20 > > > > I am trying to verify KSM (Kernel Same Page Merging) functionality on > > 4.9 Kernel using "mmap" and madvise

Re: KSM not working in 4.9 Kernel

2018-09-16 Thread Mike Rapoport
On Fri, Sep 14, 2018 at 07:58:01PM +0530, Pintu Kumar wrote: > Hi All, > > Board: Hikey620 ARM64 > Kernel: 4.9.20 > > I am trying to verify KSM (Kernel Same Page Merging) functionality on > 4.9 Kernel using "mmap" and madvise user space test utility. > But to my observation, it seems KSM is not

Re: KSM not working in 4.9 Kernel

2018-09-16 Thread Mike Rapoport
On Fri, Sep 14, 2018 at 07:58:01PM +0530, Pintu Kumar wrote: > Hi All, > > Board: Hikey620 ARM64 > Kernel: 4.9.20 > > I am trying to verify KSM (Kernel Same Page Merging) functionality on > 4.9 Kernel using "mmap" and madvise user space test utility. > But to my observation, it seems KSM is not

Re: KSM not working in 4.9 Kernel

2018-09-14 Thread Pintu Kumar
On Fri, 14 Sep 2018, 10:42 pm Yang Shi, wrote: > > Hi Pintu, > > I recall there are some ksm test cases in LTP. Did you try them out? No. I haven't seen the LTP test. I will check out now. But I wonder what is the problem with my test? > On Fri, Sep 14, 2018 at 7:28 AM Pintu Kumar wrote: > >

Re: KSM not working in 4.9 Kernel

2018-09-14 Thread Pintu Kumar
On Fri, 14 Sep 2018, 10:42 pm Yang Shi, wrote: > > Hi Pintu, > > I recall there are some ksm test cases in LTP. Did you try them out? No. I haven't seen the LTP test. I will check out now. But I wonder what is the problem with my test? > On Fri, Sep 14, 2018 at 7:28 AM Pintu Kumar wrote: > >

Re: KSM not working in 4.9 Kernel

2018-09-14 Thread Yang Shi
Hi Pintu, I recall there are some ksm test cases in LTP. Did you try them out? On Fri, Sep 14, 2018 at 7:28 AM Pintu Kumar wrote: > > Hi All, > > Board: Hikey620 ARM64 > Kernel: 4.9.20 > > I am trying to verify KSM (Kernel Same Page Merging) functionality on > 4.9 Kernel using "mmap" and madvise

Re: KSM not working in 4.9 Kernel

2018-09-14 Thread Yang Shi
Hi Pintu, I recall there are some ksm test cases in LTP. Did you try them out? On Fri, Sep 14, 2018 at 7:28 AM Pintu Kumar wrote: > > Hi All, > > Board: Hikey620 ARM64 > Kernel: 4.9.20 > > I am trying to verify KSM (Kernel Same Page Merging) functionality on > 4.9 Kernel using "mmap" and madvise