View Single Post
  #341 (permalink)  
Old 03-31-2012, 06:58 PM
auburnham's Avatar
auburnham
N00b
Offline
 
Join Date: Sep 2008
Posts: 48
Reputation: 10
auburnham is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: [TESTING] XDAndroid GBX0B 2.3.7 Build

Quote:
Originally Posted by auburnham View Post
I'd still like to understand why I've seen little effect of changing minfrees after the 9/30/11 rootfs.img. If anyone has a suggested way to investigate, I would be interested in hearing it. Perhaps I could compare every file in this rootfs.img to the 9/20/11 rootfs.img for changes? Also, what are others' typical free memory just after boot and after a reasonable uptime?
I had an opportunity to investigate this further. I compared all files changed from the 9/20/11 rootfs.img to the 9/30/11 rootfs.img, and identified the change made by mweirauch labeled "fixup /dev/block/ramzswap0 creation" to be in /bin/userinit.sh, line 317. Originally, it was the following:
Code:
mknod -m 0666 /dev/block/ramzswap0 b 254 0
And it was updated to be the following:
Code:
mknod /dev/block/ramzswap0 b 253 0
When I revert back to the original line, (i.e. ... -m 0666 ... 254 0) my free memory is consistently higher and my performance is better without any obvious side effects. Can anyone explain what this line is doing, and why I might see the effects I'm seeing? Also, just to be clear, I am not recommending that anyone make this change, I am just trying to investigate potential performance improvements.
Reply With Quote