PPCGeeks Forums HTC Arrive HTC HD2 HTC Thunderbolt HTC Touch Pro 2 HTC Evo 4G HTC Evo 3D Samsung Galaxy S II Motorola Droid X Apple iPhone Blackberry
Go Back   PPCGeeks > Windows Mobile > WM HTC Devices > HTC Touch Pro > CDMA TP Development
Register Community Search

Notices


 
 
LinkBack Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #12 (permalink)  
Old 01-16-2009, 02:22 AM
FormerPalmOS's Avatar
Regular 'Geeker
Offline
Pocket PC: HTC Touch Pro
Carrier: Verizon
Location: Far far away...
 
Join Date: Nov 2008
Posts: 359
Reputation: 1355
FormerPalmOS is halfway to VIP status based on repFormerPalmOS is halfway to VIP status based on repFormerPalmOS is halfway to VIP status based on repFormerPalmOS is halfway to VIP status based on repFormerPalmOS is halfway to VIP status based on repFormerPalmOS is halfway to VIP status based on repFormerPalmOS is halfway to VIP status based on repFormerPalmOS is halfway to VIP status based on repFormerPalmOS is halfway to VIP status based on repFormerPalmOS is halfway to VIP status based on rep
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Guide to changing your pagepool

Quote:
Originally Posted by keaolyen View Post
i can only think of 1 or 2 other possibilities...

1) static keeps data in page pool on reset where static doesn't; normally this would be called volatile memory though...
2) static is always in the same physical location while dynamic moves around...

If a dynamic page pool doesn't mean that it changes in size as needed then I would think option 1 would be the most likely definition. But, as I pointed out there's already a term for that...
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.
Reply With Quote
This post has been thanked 2 times.
 

  PPCGeeks > Windows Mobile > WM HTC Devices > HTC Touch Pro > CDMA TP Development


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -4. The time now is 07:00 AM.


Powered by vBulletin® ©2000 - 2025, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.6.0
©2012 - PPCGeeks.com