|
||||
Re: ?? PagePool ??
"The Page Pool
Applications use RAM in two ways. There is code that runs, and there is data that is created while it is running. On a NOR device, the code can run directly from the ROM and not be loaded into RAM first. This process is called XIP (eXecute In Place). NAND devices can't XIP, so their code is loaded into RAM and executed from there. If you don't have a Page Pool, this code is loaded into normal RAM. The Page Pool is a mechanism to limit how much code is loaded into normal RAM. With a Page Pool, we can unload code that hasn't been used in a while and reload it later if we need to. We can't do that without a Page Pool. On a typical NAND-based WM5 device, the Page Pool is 4.5M." this quote was taken from: http://blogs.msdn.com/windowsmobile/...17/494177.aspx i thought it was a pretty good explanation. if you're curious the article gets into the dma buffer, radio stack etc., and how they affect device memory. i've always thought of the page pool in wm to be comparable to the swap partition on a linux system, or virtual memory in windows. please set me straight if i'm crooked. hope it helps. Last edited by cheesegrater; 02-26-2008 at 10:58 PM. |
|
||||
Re: ?? PagePool ??
Quote:
There's always a price to pay, too. The larger the pagepool, the more storage space you consume (obviously, cause that's where it's stored), and you lose a small amount of RAM to track what's in the pagepool and where it is. And, of course, if you actually have to page something in, that's not nearly as fast as it already being in RAM. So, if you find yourself running out of RAM, can increasing pagepool help? Definitely maybe. If you have lots of code sections, increasing pagepool might help. Once you've increased pagepool to a certain point, it won't help at all and will only hurt. That point is dependent on the nature of the software you run, and therefore will vary from user to user. Will increasing/decreasing pagepool speed up your device? Definitely maybe. It all depends on why it's slow in the first place. Generally, you will only notice pagepool effects when swapping tasks. How often that occurs and whether you think it's better/worse depends on the nature of the software you run, and therefor will vary from user to user. Will increasing/decreasing pagepool make my device more stable? Increasing pagepool should make your device feel more stable (mainly because programs are being swapped instead of forcibly closed). The only time decreasing pagepool helps stability is when you have really piss poor drivers (which, since we're stealing bits and pieces from other devices, may in fact be the case with any give kitchen/ROM). Last edited by gguruusa; 02-27-2008 at 10:41 AM. |
This post has been thanked 3 times. |
|
||||
Re: ?? PagePool ??
Again, gguruusa, brilliant analysis. Thank you for the explanation. Now I know I want a new phone with more program memory
__________________
Now with VGA support on all software!
Projects: (PeraStats 1.7) (PeraCount with Clock 1.3) (PeraCount 1.3) (PeraProfiler 1.2) (S2U2Lock 1.1) |
|
||||
Re: ?? PagePool ??
gogo gguruusa!!
__________________
"Life is but a beach chair"
~Jay-z if u got a flip phone.... get yo money up! previous owned phones - Apache 6700, HTC Diamond, HTC Touch Pro, HTC Touch Pro 2, Palm Pre, Nexus One - current phone in use : Nexus One |
|
||||
Re: ?? PagePool ??
OK, so I have tried 7, 4, and 8 on a new 6.1 ROM and I am having horrible problems, so I guess I have other issues....
Freezing/locking and very slooooooow response times, very erratic battery consumption figures etc. Back to the kitchen - I need a new mixer!
__________________
I just know messing with this is going to get me in trouble!
VZW 6700, Rom - WM 6.1 latest, all the frills I could jam in Radio - 1.43 |
|
||||
Re: ?? PagePool ??
Quote:
Cheers
__________________
---
Pressure is something you feel only if you don't know what you're doing. - Chuck Noll |
|
||||
Re: ?? PagePool ??
Quote:
|
|
|
|