![]() |
?? PagePool ??
i want to further my understanding of what exactly it is that the page pool does when cooking your own rom. how high, how low, those sort of things. ive been hunting around and cant seem to pull anything explaining exactly what it does. can anyone help break this down for me.
|
7 is the default for the current kitchen.
Pagepool is a cache for executing programs (the ones that are actually running). Think of it as additional memory for your running programs. The larger pagepool is, the more crap you can have actively running. The smaller pagepool is, the more storage memory you have (storage is the area where programs are installed). The general idea is to make it as small as you can without having any problems (slowness or crashing), because too big is a waste of valuable storage memory. Unfortunately, that magic sweet spot is dependent on how you use your PPC. If you have tons of storage space, feel free to use some of it as pagepool. |
holy crap thank you for explaining it in english i have seen some art. on this and i had no idea what in the world they were talking about.
|
Quote:
Quote:
|
Maybe I'm just missing something, but I wanted to know how to chage the pagepool in the AKU 3.5 kitchen from helmi_c. Can anyone tell me how to do that?
|
If you're using the old BuildOS (AKU 3.5 1.04 kitchen and earlier), you have to use a hex editor to change the page pool in the ROM.
|
So I need to edit the nk.fat file then right?
Where do I make this edit? |
Re: ?? PagePool ??
I just wanted to bump this great explanation back to the top. I keep finding myself running low on memory and since almost everything I use is built into my ROM, I can afford to lose some storage space. Just so I'm understanding correctly, if I increase my pagepool when creating my ROM, that basically moves space from my storage memory to my program memory (RAM), right? And is it possible to change the page pool without re-flashing a ROM? My phone is SO PERFECT right now, but I could definitely use more memory.
|
Re: ?? PagePool ??
id like to chime in on this as well..are you suggestin that adjusting the page pool is allocating storage memory to program memory?? that doesnt seem right, if we could do that, our RAM worries would be non-existent..and thats definately NOT how it currently is..
|
Re: ?? PagePool ??
oh naw... it definitely worked for me lol but i lost space to install programs in the process tho. i think the lower i made it, the more ram i had to run my programs so that my ppc would run a whole lot more stable. i might have to double check tho.
|
Re: ?? PagePool ??
no, it's not RAM you gain (RAM is program memory). Swapfile space is not nearly as usefull as actual RAM is, but it does let you run more processes than you could if you didn't have it. Think of it as a cache for memory occupied by the executable portions of programs.
|
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. |
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). |
Re: ?? PagePool ??
Again, gguruusa, brilliant analysis. Thank you for the explanation. Now I know I want a new phone with more program memory :D
|
Re: ?? PagePool ??
gguruusa, awesome. you put it best. appreciate the time you took to type that mess up. it's extremely helpful.
|
Re: ?? PagePool ??
Great explanation, very helpful!
|
Re: ?? PagePool ??
gogo gguruusa!! :)
|
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! |
Re: ?? PagePool ??
Quote:
Cheers |
Re: ?? PagePool ??
Quote:
|
Re: ?? PagePool ??
Great explanation guys. Thanks for clearing things up for me.
|
| All times are GMT -4. The time now is 11:16 AM. |
Powered by vBulletin® ©2000 - 2025, Jelsoft Enterprises Ltd.
©2012 - PPCGeeks.com