android-kernel memory reclaim x20 boost?
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
Signature · 8 lines
Kind regards, Minchan Kim -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Quoted 1 line · El Thu, 19 Aug 2010 00:18:57 +0900 Minchan Kim <[email protected]> escribió:
Hello Android forks,
[ ... ]
Quoted 8 lines
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)
Quoted 7 lines
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 [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Quoted 8 lines · Alejandro Riveira Fernández
Quoted 1 line · El Thu, 19 Aug 2010 00:18:57 +0900 Minchan Kim <[email protected]> escribió:
Hello Android forks,
[ ... ]
Quoted 3 lines
I saw the advertisement phrase in this[1].
Quoted 7 lines
Quoted 5 lines
"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?
Signature · 8 lines
Kind regards, Minchan Kim -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Quoted 14 lines · Minchan Kim
Quoted 12 lines · Alejandro Riveira Fernández
Quoted 1 line · El Thu, 19 Aug 2010 00:18:57 +0900 Minchan Kim <[email protected]> escribió:
Hello Android forks,
[ ... ]
Quoted 7 lines
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."
Quoted 7 lines
Quoted 3 lines
Quoted 1 line
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 <[email protected]> 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
Signature · 7 lines
Arve Hjønnevåg -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Quoted 17 lines · Arve Hjønnevåg
Quoted 16 lines · Minchan Kim
Quoted 14 lines · Alejandro Riveira Fernández
Quoted 1 line · El Thu, 19 Aug 2010 00:18:57 +0900 Minchan Kim <[email protected]> escribió:
Hello Android forks,
[ ... ]
Quoted 8 lines
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.
Quoted 8 lines
Quoted 5 lines
Quoted 1 line
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
Quoted 19 lines
Author: San Mehat <[email protected]>
Date: Wed May 5 11:38:42 2010 -0700staging: 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 thetask_listlock (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_PROFILINGSigned-off-by San Mehat <[email protected]>--
Arve Hjønnevåg
Signature · 2 lines
San Mehat | Staff Software Engineer | Infrastructure | Google Inc. 415.366.6172 ([email protected])
Quoted 24 lines · San Mehat
Quoted 23 lines · Arve Hjønnevåg
Quoted 21 lines · Minchan Kim
Quoted 8 lines · Alejandro Riveira Fernández
Quoted 1 line · El Thu, 19 Aug 2010 00:18:57 +0900 Minchan Kim <[email protected]> escribió:
Hello Android forks,
[ ... ]
Quoted 3 lines
I saw the advertisement phrase in this[1].
Quoted 7 lines
Quoted 5 lines
"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?
Quoted 8 lines
Quoted 2 lines
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 subsequenttask_structleak 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.
Signature · 8 lines
Kind regards, Minchan Kim -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"[email protected]"> [email protected] </a>