View Single Post
  #32 (permalink)  
Old 01-16-2009, 02:37 AM
scrosler's Avatar
scrosler
VIP Member
Offline
Location: Fargo ND
 
Join Date: Aug 2007
Posts: 5,114
Reputation: 20875
scrosler can't get a higher reputation levelscrosler can't get a higher reputation levelscrosler can't get a higher reputation levelscrosler can't get a higher reputation levelscrosler can't get a higher reputation levelscrosler can't get a higher reputation levelscrosler can't get a higher reputation levelscrosler can't get a higher reputation levelscrosler can't get a higher reputation levelscrosler can't get a higher reputation levelscrosler can't get a higher reputation level
Mentioned: 8 Post(s)
Tagged: 0 Thread(s)
Re: Guide to changing your pagepool

Quote:
Originally Posted by FormerPalmOS View Post
The pagepool is stored in RAM - the whole reason it exists is that you can't run code out of NAND flash storage - you have to copy it to RAM then execute it. If there ain't no room, you have to flush something out to make room. You can always copy it back in later. The amount of flushing and the corresponding performance hit while waiting to re-load something you need is why a bigger pagepool gives you better performance. Of course with a gimped VZW phone, if you have too big of a pagepool you don't have enough room to store the volitale data for whatever application you are running and it crashes. So it's a trade-off.

The physical location of the pagepool in memory doesn't matter - though I have no idea if it does or doesn't move.

Whatever is in the pagepool is lost at power-off. But it doesn't matter - everything in the pagepool got there by being copied from the flash anyway. The pagepool has a one way door. Stuff can be copied from NAND to the PP, but it is never written back - just scrapped.

The volitale data in the program memory (total RAM size minus pagepool size) must be written back to the NAND flash before power-off if it is to be saved.
Wow! Great job explaining that!
__________________


Donations always accepted but never expected!
Reply With Quote