linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: PINTU KUMAR <pintu.k@samsung.com>
To: linux-kernel@vger.kernel.org, linux-mm@kvack.org
Cc: jaejoon.seo@samsung.com, jy0.jeon@samsung.com,
	vishnu.ps@samsung.com, pintu.k@samsung.com
Subject: [linux-mm] Drastic increase in application memory usage with Kernel version upgrade
Date: Fri, 05 Aug 2016 10:26:37 +0530	[thread overview]
Message-ID: <01a001d1eed5$c50726c0$4f157440$@samsung.com> (raw)
In-Reply-To: <CGME20160805045709epcas3p1dc6f12f2fa3031112c4da5379e33b5e9@epcas3p1.samsung.com>

Hi All,

For one of our ARM embedded product, we recently updated the Kernel version from
3.4 to 3.18 and we noticed that the same application memory usage (PSS value)
gone up by ~10% and for some cases it even crossed ~50%.
There is no change in platform part. All platform component was built with ARM
32-bit toolchain.
However, the Kernel is changed from 32-bit to 64-bit.

Is upgrading Kernel version and moving from 32-bit to 64-bit is such a risk ?
After the upgrade, what can we do further to reduce the application memory usage
?
Is there any other factor that will help us to improve without major
modifications in platform ?

As a proof, we did a small experiment on our Ubuntu-32 bit machine.
We upgraded Ubuntu Kernel version from 3.13 to 4.01 and we observed the
following:
--------------------------------------------------------------------------------
-------------
|UBUNTU-32 bit		|Kernel 3.13	|Kernel 4.03	|DIFF	|
|CALCULATOR PSS	|6057 KB	|6466 KB	|409 KB	|
--------------------------------------------------------------------------------
-------------
So, just by upgrading the Kernel version: PSS value for calculator is increased
by 409KB.

If anybody knows any in-sight about it please point out more details about the
root cause.

Thank You!

Regards,
Pintu

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

       reply	other threads:[~2016-08-05  4:57 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CGME20160805045709epcas3p1dc6f12f2fa3031112c4da5379e33b5e9@epcas3p1.samsung.com>
2016-08-05  4:56 ` PINTU KUMAR [this message]
2016-08-05  8:20   ` Minchan Kim
2016-08-05 14:47     ` PINTU KUMAR
2016-08-05 20:50       ` Pavel Machek
2016-08-10 13:26         ` PINTU KUMAR
2016-08-11  4:53           ` vinayak menon
2016-08-11  5:45             ` PINTU KUMAR

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='01a001d1eed5$c50726c0$4f157440$@samsung.com' \
    --to=pintu.k@samsung.com \
    --cc=jaejoon.seo@samsung.com \
    --cc=jy0.jeon@samsung.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=vishnu.ps@samsung.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox