Re: [ARM64] Printing IRQ stack usage information

2018-11-15 Thread Pintu Agarwal
On Thu, 15 Nov 2018, 10:19 pm > On Thu, 15 Nov 2018 18:52:39 +0530, Pintu Agarwal said: > > > Currently, when I tested this (as a proc interface), I got the below output: > > CPUUNUSED-STACKACTUAL-STACK > > 0 16368 16384 > > > 3) How should I test it to get the

Re: High IO load cause kswapd hang and unresponsive system

2018-11-15 Thread Mulyadi Santosa
On Thu, Nov 15, 2018 at 11:57 PM Naruto Nguyen wrote: > Hi everyone, > > Recently when I upgrade my kernel from 3.12.61 to kernel 4.4.74, I > Hi. You need to upgrade, either using 4.19.2, 4.18.2, or 4.4.163 (if you prefer to stay with 4.4.x) and see if it still happens find my system sometimes

Re: a question on mapping from PTE to swap entry

2018-11-15 Thread valdis . kletnieks
On Thu, 15 Nov 2018 23:53:56 +0800, "Larry" said: > I'm curious when multiple process has the same PTE which points to the > samepage, > how can kernel differenciate which page from swap space should be swappedin? The PTE tells where in /dev/swap to find the page. If it's a shared page, the ref

High IO load cause kswapd hang and unresponsive system

2018-11-15 Thread Naruto Nguyen
Hi everyone, Recently when I upgrade my kernel from 3.12.61 to kernel 4.4.74, I find my system sometimes is very slow and unresponsive When my system is under a heavy IO load, I see the node start to respond very slow, the IO wait time keeps very high, and the node starts unresponsive. I try to d

Re: [ARM64] Printing IRQ stack usage information

2018-11-15 Thread valdis . kletnieks
On Thu, 15 Nov 2018 18:52:39 +0530, Pintu Agarwal said: > Currently, when I tested this (as a proc interface), I got the below output: > CPUUNUSED-STACKACTUAL-STACK > 0 16368 16384 > 3) How should I test it to get the different usage values for unused stack ?

a question on mapping from PTE to swap entry

2018-11-15 Thread Larry
Hi all, It's quoted that "When a page is swapped out, Linux uses the correspondingPTE to store enough information to locate the page on disk again". I'm curious when multiple process has the same PTE which points to the samepage, how can kernel differenciate which page from swap space should

[ARM64] Printing IRQ stack usage information

2018-11-15 Thread Pintu Agarwal
Hi All, I have a requirement in printing irq stack usage information for each cpu. I am using the following: Linux Kernel: 4.9.x Board: hikey620 (arm64, armv8 with 8 cores) Platform: Ubuntu 14 debian As a vague idea, I tried to implement like this: