* android-kernel memory reclaim x20 boost?
@ 2010-08-18 15:18 Minchan Kim
2010-08-18 15:26 ` Alejandro Riveira Fernández
0 siblings, 1 reply; 6+ messages in thread
From: Minchan Kim @ 2010-08-18 15:18 UTC (permalink / raw)
To: Arve Hjønnevåg, swetland; +Cc: linux-kernel, linux-mm
Hello Android forks,
I could have a question in android kernel mailing list.
But I think many mm guys in linux-mm also might have a interest in it.
So I send a question in linux-mm mailing list.
I saw the advertisement phrase in this[1].
"Kernel Memory Management Boost: Improved memory reclaim by up to 20x,
which results in faster app switching and smoother performance
on memory-constrained devices."
But I can't find any code for it in android kernel git tree.
If it's your private patch, could you explan what kinds of feature can enhance
it by up to 20x?
If it is really good, we can merge it to mainline.
[1] http://developer.android.com/sdk/android-2.2-highlights.html
--
Kind regards,
Minchan Kim
--
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>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: android-kernel memory reclaim x20 boost?
2010-08-18 15:18 android-kernel memory reclaim x20 boost? Minchan Kim
@ 2010-08-18 15:26 ` Alejandro Riveira Fernández
2010-08-19 0:54 ` Minchan Kim
0 siblings, 1 reply; 6+ messages in thread
From: Alejandro Riveira Fernández @ 2010-08-18 15:26 UTC (permalink / raw)
To: Minchan Kim; +Cc: Arve Hjønnevåg, swetland, linux-kernel, linux-mm
El Thu, 19 Aug 2010 00:18:57 +0900
Minchan Kim <minchan.kim@gmail.com> escribió:
> Hello Android forks,
[ ... ]
>
> I saw the advertisement phrase in this[1].
>
> "Kernel Memory Management Boost: Improved memory reclaim by up to 20x,
> which results in faster app switching and smoother performance
> on memory-constrained devices."
>
> But I can't find any code for it in android kernel git tree.
Maybe the enhancements are on the Dalvik VM (shooting in the dark here)
> If it's your private patch, could you explan what kinds of feature can enhance
> it by up to 20x?
>
> If it is really good, we can merge it to mainline.
>
> [1] http://developer.android.com/sdk/android-2.2-highlights.html
>
--
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>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: android-kernel memory reclaim x20 boost?
2010-08-18 15:26 ` Alejandro Riveira Fernández
@ 2010-08-19 0:54 ` Minchan Kim
2010-08-19 1:01 ` Arve Hjønnevåg
0 siblings, 1 reply; 6+ messages in thread
From: Minchan Kim @ 2010-08-19 0:54 UTC (permalink / raw)
To: Alejandro Riveira Fernández
Cc: Arve Hjønnevåg, swetland, linux-kernel, linux-mm
On Thu, Aug 19, 2010 at 12:26 AM, Alejandro Riveira Fernández
<ariveira@gmail.com> wrote:
> El Thu, 19 Aug 2010 00:18:57 +0900
> Minchan Kim <minchan.kim@gmail.com> escribió:
>
>> Hello Android forks,
> [ ... ]
>>
>> I saw the advertisement phrase in this[1].
>>
>> "Kernel Memory Management Boost: Improved memory reclaim by up to 20x,
>> which results in faster app switching and smoother performance
>> on memory-constrained devices."
>>
>> But I can't find any code for it in android kernel git tree.
>
> Maybe the enhancements are on the Dalvik VM (shooting in the dark here)
Thanks.
Android guys! Could you confirm this?
--
Kind regards,
Minchan Kim
--
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>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: android-kernel memory reclaim x20 boost?
2010-08-19 0:54 ` Minchan Kim
@ 2010-08-19 1:01 ` Arve Hjønnevåg
2010-08-19 1:04 ` San Mehat
0 siblings, 1 reply; 6+ messages in thread
From: Arve Hjønnevåg @ 2010-08-19 1:01 UTC (permalink / raw)
To: Minchan Kim
Cc: Alejandro Riveira Fernández, swetland, linux-kernel,
linux-mm, San Mehat
On Wed, Aug 18, 2010 at 5:54 PM, Minchan Kim <minchan.kim@gmail.com> wrote:
> On Thu, Aug 19, 2010 at 12:26 AM, Alejandro Riveira Fernández
> <ariveira@gmail.com> wrote:
>> El Thu, 19 Aug 2010 00:18:57 +0900
>> Minchan Kim <minchan.kim@gmail.com> escribió:
>>
>>> Hello Android forks,
>> [ ... ]
>>>
>>> I saw the advertisement phrase in this[1].
>>>
>>> "Kernel Memory Management Boost: Improved memory reclaim by up to 20x,
>>> which results in faster app switching and smoother performance
>>> on memory-constrained devices."
>>>
>>> But I can't find any code for it in android kernel git tree.
>>
>> Maybe the enhancements are on the Dalvik VM (shooting in the dark here)
>
> Thanks.
> Android guys! Could you confirm this?
>
It is more likely referring to this change:
Author: San Mehat <san@google.com>
Date: Wed May 5 11:38:42 2010 -0700
staging: android: lowmemkiller: Substantially reduce overhead during reclaim
This patch optimizes lowmemkiller to not do any work when it has
an outstanding
kill-request. This greatly reduces the pressure on the task_list lock
(improving interactivity), as well as improving the vmscan performance
when under heavy memory pressure (by up to 20x in tests).
Note: For this enhancement to work, you need CONFIG_PROFILING
Signed-off-by: San Mehat <san@google.com>
--
Arve Hjønnevåg
--
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>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: android-kernel memory reclaim x20 boost?
2010-08-19 1:01 ` Arve Hjønnevåg
@ 2010-08-19 1:04 ` San Mehat
2010-08-19 1:53 ` Minchan Kim
0 siblings, 1 reply; 6+ messages in thread
From: San Mehat @ 2010-08-19 1:04 UTC (permalink / raw)
To: Arve Hjønnevåg
Cc: Minchan Kim, Alejandro Riveira Fernández, swetland,
linux-kernel, linux-mm
On Wed, Aug 18, 2010 at 6:01 PM, Arve Hjønnevåg <arve@android.com> wrote:
> On Wed, Aug 18, 2010 at 5:54 PM, Minchan Kim <minchan.kim@gmail.com> wrote:
>> On Thu, Aug 19, 2010 at 12:26 AM, Alejandro Riveira Fernández
>> <ariveira@gmail.com> wrote:
>>> El Thu, 19 Aug 2010 00:18:57 +0900
>>> Minchan Kim <minchan.kim@gmail.com> escribió:
>>>
>>>> Hello Android forks,
>>> [ ... ]
>>>>
>>>> I saw the advertisement phrase in this[1].
>>>>
>>>> "Kernel Memory Management Boost: Improved memory reclaim by up to 20x,
>>>> which results in faster app switching and smoother performance
>>>> on memory-constrained devices."
>>>>
>>>> But I can't find any code for it in android kernel git tree.
>>>
>>> Maybe the enhancements are on the Dalvik VM (shooting in the dark here)
>>
>> Thanks.
>> Android guys! Could you confirm this?
>>
>
> It is more likely referring to this change:
>
There are other changes after the one mentioned that remove the
requirement for CONFIG_PROFILING
(and the subsequent task_struct leak that was caused by it)
-san
> Author: San Mehat <san@google.com>
> Date: Wed May 5 11:38:42 2010 -0700
>
> staging: android: lowmemkiller: Substantially reduce overhead during reclaim
>
> This patch optimizes lowmemkiller to not do any work when it has
> an outstanding
> kill-request. This greatly reduces the pressure on the task_list lock
> (improving interactivity), as well as improving the vmscan performance
> when under heavy memory pressure (by up to 20x in tests).
>
> Note: For this enhancement to work, you need CONFIG_PROFILING
>
> Signed-off-by: San Mehat <san@google.com>
>
>
> --
> Arve Hjønnevåg
>
--
San Mehat | Staff Software Engineer | Infrastructure | Google Inc.
415.366.6172 (san@google.com)
--
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>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: android-kernel memory reclaim x20 boost?
2010-08-19 1:04 ` San Mehat
@ 2010-08-19 1:53 ` Minchan Kim
0 siblings, 0 replies; 6+ messages in thread
From: Minchan Kim @ 2010-08-19 1:53 UTC (permalink / raw)
To: San Mehat
Cc: Arve Hjønnevåg, Alejandro Riveira Fernández,
swetland, linux-kernel, linux-mm
On Thu, Aug 19, 2010 at 10:04 AM, San Mehat <san@google.com> wrote:
> On Wed, Aug 18, 2010 at 6:01 PM, Arve Hjønnevåg <arve@android.com> wrote:
>> On Wed, Aug 18, 2010 at 5:54 PM, Minchan Kim <minchan.kim@gmail.com> wrote:
>>> On Thu, Aug 19, 2010 at 12:26 AM, Alejandro Riveira Fernández
>>> <ariveira@gmail.com> wrote:
>>>> El Thu, 19 Aug 2010 00:18:57 +0900
>>>> Minchan Kim <minchan.kim@gmail.com> escribió:
>>>>
>>>>> Hello Android forks,
>>>> [ ... ]
>>>>>
>>>>> I saw the advertisement phrase in this[1].
>>>>>
>>>>> "Kernel Memory Management Boost: Improved memory reclaim by up to 20x,
>>>>> which results in faster app switching and smoother performance
>>>>> on memory-constrained devices."
>>>>>
>>>>> But I can't find any code for it in android kernel git tree.
>>>>
>>>> Maybe the enhancements are on the Dalvik VM (shooting in the dark here)
>>>
>>> Thanks.
>>> Android guys! Could you confirm this?
>>>
>>
>> It is more likely referring to this change:
>>
>
> There are other changes after the one mentioned that remove the
> requirement for CONFIG_PROFILING
> (and the subsequent task_struct leak that was caused by it)
>
> -san
It seems to be not a issue of mainline but only one of android lowmemkiller.
Thanks for the information, Android forks.
--
Kind regards,
Minchan Kim
--
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>
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2010-08-19 1:53 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-18 15:18 android-kernel memory reclaim x20 boost? Minchan Kim
2010-08-18 15:26 ` Alejandro Riveira Fernández
2010-08-19 0:54 ` Minchan Kim
2010-08-19 1:01 ` Arve Hjønnevåg
2010-08-19 1:04 ` San Mehat
2010-08-19 1:53 ` Minchan Kim
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).