Storage to program memory - Touch Diamond, MDA Compact IV ROM Development

I question:
I always have about 70 megs of free storage memory. I don't use it, since I install on the 4gig flash (it's faster I feel, read/write speeds are faster too).
Anyway, is it technically possible to get 50 Mb of storage to be used as program memory.
Like in magician, one could move the slider.

I think that WM 6.1 automatically adjusts the memory, maybe this is why there is no slider. Maybe a registry edit is needed?

No further idea on this?

Related

How do you speed up WM6

Hi, I have a smartphone woth WM6 on it.
Its great but obviouly slow. What can i take off the phone to freeup more of the devices internal memory.
I have a 1gb card installed, is there anyway to set up memory paging onto the card?
Thanks,
Michael.
yes i have this same issue.
it depends on which device you have. depending on the processor you can overclock. You can also change the page pool size which frees up more memory.
You also disable a lot of the junk that the carriers place on them.
Which phone do you have?

Any way to increase RAM using Storage Card

Will this work?
nopz there is no way to increase RAM through Memory Card, but it gives me an idea of Virtual Memory.
Any thoughts?
Virtual memory is where I was leaning too. A picture edit program I seen uses this to edit large files. Memory cards are getting faster and faster. Now I'm looking for some virtual mem for my Hermes.
Chris
Gotta remember the flash memory used in memory cards does have a read/write lifetime......virtual memory is used repeatedly many many times and would probably lessen the lifetime of your flash memory.
I dunno what the bandwidth is on hardwired ROM/RAM in the Hermes but id take a guess its alot higher than that used on microSD????
Would be interesting to see if a virtual memory driver would be any good?!
dont believe that a driver would be enough
the core of the os would have to support it
another thing to take into acount is that sd are getting faster
but the sd interface of the pda cant keep up
and writes are much slower then reads with flash
That's true with interface speed. I guess if it were possible we'd have a program that uses the Ext Rom 10mb for Virtual. Would be interesting though.
In Task Manager supplied with Schaps 4.30 ROM, there is a mention of Virtual Memory.... What's that?
nallyvaico said:
In Task Manager supplied with Schaps 4.30 ROM, there is a mention of Virtual Memory.... What's that?
Click to expand...
Click to collapse
That's just the Virtual Ram from the built in RAM. I'm looking for a way to utilize the 10mb Ext Rom or even the Storage card for this. The 10mb Ext Rom would be the best thing if you could use it, since the communication between the chipset and the Ext Rom would be quicker than that of the Storage Card. I'm starting to think it isn't going to happen though.
Chris

Ram availability and Wm 6.1

So I am seeing all these wm 6.1 with very low amounts or ram in them. Is low ram the norm with 6.1? How do people get their ppc's to run properly with only 20 mb's of ram to start?
bartybet said:
So I am seeing all these wm 6.1 with very low amounts or ram in them. Is low ram the norm with 6.1? How do people get their ppc's to run properly with only 20 mb's of ram to start?
Click to expand...
Click to collapse
I'll follow with a really ignorant question.. is there any way to shift the memory to program RAM vs storage? ie. I've got a 6G SDHC card.. I don't care about "bigstorage".. I'd rather see "bigRAM" builds.. but since I've never seen a single one, I'm guessing that isn't possible.. I suppose the flash ROM wouldn't have the write cycles to act as a RAM...
zim2dive said:
is there any way to shift the memory to program RAM vs storage? ...
Click to expand...
Click to collapse
Not that i know of past 2003 ppc's. But i find it odd that the cooked 6.0 roms all have close to 30 mb's of storage and these new ones cant crack 22 mb's. Odd.
bartybet said:
Not that i know of past 2003 ppc's. But i find it odd that the cooked 6.0 roms all have close to 30 mb's of storage and these new ones cant crack 22 mb's. Odd.
Click to expand...
Click to collapse
I thought I remembered such a function from my X50v days..
For an in-depth discussion on this topic, you can start out with this thread. Don't be afraid to click on the links within for a very complete understanding of why Program Memory and Storage Space cannot be resized (unfortunately).
-pvs
Don't get it.
I really don't understand at all the drive for larger and larger storage. So what if you have 58MB of "Big Storage" on the device. With SDHC cards growing ever larger at lower costs, the issue, it seems to me, is not device storage as much as Free Program Memory.
I have looked with interest at the new 6.1 ROMs until I search through the posts and find that, at startup, the more desirable ones (with the features I would like), have Free Program Memory in the very low 20MB range. Just load PIE and another memory hog like an audio player and watch your memory drop to less than 4MB and your PIE freeze.
Sorry, I am running a 6.0 ROM with everything I like on it and have about 24MB at startup. I use FreeUp RAM a couple times a day to recover Program Memory and everything is fine. I don't like running this lean and am considering upgrading to a Tytn II (AT&T 8925) with roughly double the memory of the Hermes so I don't have to worry about memory any longer. For me, the 6.1 ROMS with anything worth running and the current memory on the Hermes just doesn't make it. And I love the 8525.
zim2dive said:
I don't care about "bigstorage".. I'd rather see "bigRAM" builds..
Click to expand...
Click to collapse
You are damn right!! Thats my opinion too!
JamesAllen said:
I really don't understand at all the drive for larger and larger storage. [...] With SDHC cards growing ever larger at lower costs, the issue, it seems to me, is not device storage as much as Free Program Memory.
[...] Just load PIE and another memory hog like an audio player and watch your memory drop to less than 4MB and your PIE freeze.
Sorry, I am running a 6.0 ROM with everything I like on it and have about 24MB at startup. I use FreeUp RAM [SkTools!] [...] to recover Program Memory and everything is fine.
Click to expand...
Click to collapse
I've the same setting like you, I am running a clean WM6 with my costum apps and I am also about 25 mb Ram (only with Sk Tools Ram tuning).
So, our future cooking motto is: " We Love SuperBigRam-Builds "
This might help you guys out,
http://www.freewareppc.com/utilities/upx4ppc.shtml
"Absolutely essential program for PPCs with limited space (my 64MB model has only a 20MB ramdisk). I have been able to install twice as many programs thanks to UPX4PPC. Tips: (1) Make sure you untick "compress icons" (ticked by default). (2) Use maximum compression: it doesn't take long and occasionally makes a significant difference. (3) Compressing TCPMP: if you rename all the .plg files to .dll you can upx them (then rename them back!) I reduced the install from 1600KB to 923KB this way!"
Pumpiron579 said:
This might help you guys out,
http://www.freewareppc.com/utilities/upx4ppc.shtml
"Absolutely essential program for PPCs with limited space (my 64MB model has only a 20MB ramdisk). I have been able to install twice as many programs thanks to UPX4PPC. Tips: (1) Make sure you untick "compress icons" (ticked by default). (2) Use maximum compression: it doesn't take long and occasionally makes a significant difference. (3) Compressing TCPMP: if you rename all the .plg files to .dll you can upx them (then rename them back!) I reduced the install from 1600KB to 923KB this way!"
Click to expand...
Click to collapse
Keep in mind that if you do this, the DLL files etc cannot be loaded in shared memory - so your applications have to load their own instance of compressed DLLs. This can make things VERY RAM hungry on your devices...
I run Pays 6.1 rom and i get about 25 megs at start up with Activesync connected to my exchange server.
I notice some roms have a total program memory of 50 megs and some only 48 megs. Does this mean that the rom can be tweaked to get more than 50 megs of Program memory?
Pumpiron579 said:
This might help you guys out,
http://www.freewareppc.com/utilities/upx4ppc.shtml
"Absolutely essential program for PPCs with limited space (my 64MB model has only a 20MB ramdisk). I have been able to install twice as many programs thanks to UPX4PPC. Tips: (1) Make sure you untick "compress icons" (ticked by default). (2) Use maximum compression: it doesn't take long and occasionally makes a significant difference. (3) Compressing TCPMP: if you rename all the .plg files to .dll you can upx them (then rename them back!) I reduced the install from 1600KB to 923KB this way!"
Click to expand...
Click to collapse
Does this save Program RAM? Or Storage space?
pvs said:
For an in-depth discussion on this topic, you can start out with this thread. Don't be afraid to click on the links within for a very complete understanding of why Program Memory and Storage Space cannot be resized (unfortunately).
-pvs
Click to expand...
Click to collapse
Thanks. Informative, tho not the answers I was hoping to hear
Free Program Memory
I understand the preoccupation with maximizing Storage Memory. It is the only memory that apparently can be manipulated. But, the exercise seems rather academic to me with the advent of SDHC cards. It isn't storage memory that has ever been a problem for me, it is Program Memory. And Program Memory cannot be expanded (my understanding) so the only solution is to execute fewer or smaller programs if you want to maximize free Program Memory.
Unless we can get someone to develop a "virtual memory" feature that uses an allocated portion of SDHC memory as Program Memory, the only way we can maximize free program memory is by loading fewer applications, normally through a clean and lean ROM. If it could be accomplished, it would still pose speed issues in that the pipe to the SDHC card has to be far slower than the internal memory pipeline.
My 2 cents worth.
JamesAllen said:
I really don't understand at all the drive for larger and larger storage. So what if you have 58MB of "Big Storage" on the device. With SDHC cards growing ever larger at lower costs, the issue, it seems to me, is not device storage as much as Free Program Memory.
.
Click to expand...
Click to collapse
Don't understand it either. Do the base 6.1 roms come with that little ram built in? Maybe that's why there isnt an official version released yet. They cant get it to run more then 3 things at a time.
The only other answer is Get a kaiser
Kaiser is powered by an Samsung SC32442 400Mhz processor, 256MB ROM and 128MB RAM
friends,,, set file cache (pagepool) to auto mode, zero! when I used schaps wm6 4.31 my hermes had 32mb of free program (ram)..
sebastianmc said:
friends,,, set file cache (pagepool) to auto mode, zero! when I used schaps wm6 4.31 my hermes had 32mb of free program (ram)..
Click to expand...
Click to collapse
Yeah but slow as hell! Pagepool is made exactly to speed up the PDA by caching some data.
The problem is:
- 26-30Mb of RAM are far from enough for a web browser with flash content
- SD card bus is so slow on latency that can hardly be used as a virtual memory for active programs
- No pagepool or no cache is not an option
Perhaps someone could build ASAP an application that would transfer non-active drivers/apps or less demanding apps to a virtual RAM on the SD and keep the active ones (HTC Home, phone app, Web browsers/games) on the real RAM
One of the best apps for a mobile is OXIO stuff that will free RAM but perhaps the best option is an app that *in case of very low memory* would free non-used ram and would compress the demanding app data on RAM (usually I only run out of memory if I surf on the web with opera or netfront). Of course it would slow down a bit the PDA at that point but at least the app wouldn´t stop and would run until nothing could be really done.
Does anyone knows an app that does this on-the-fly? (auto-free and compress RAM)
mmick, I dont realize difference between with 4mb ppoll or without ppool.. I made benchs with and without ppool.. and to me, it doesnt make difference in performance... and sometimes I use msn, i.e, e mail, coreplayer. word... without pagepool or file cache, and my device is fast!! I dont believe pagepool.. lol
sorry for my english
regards
sebastianmc said:
mmick, I dont realize difference between with 4mb ppoll or without ppool.. I made benchs with and without ppool.. and to me, it doesnt make difference in performance... and sometimes I use msn, i.e, e mail, coreplayer. word... without pagepool or file cache, and my device is fast!! I dont believe pagepool.. lol
sorry for my english
regards
Click to expand...
Click to collapse
Curious ... did you ever test a ROM with a 6 or 8MB PP? That is where the difference is supposed to be notable.
I've toyed with these settings. These ROMs seemed faster at first, but I'm not so sure if there's a significant difference in the long run. As these were my own home-cooked ROMs I was experimenting with, I never kept them for any length of time.
I'd like to know your experiences with large PagePools, rather than the 4MB default.
Thanks!
-pvs
Pumpiron579 said:
The only other answer is Get a kaiser
Kaiser is powered by an Samsung SC32442 400Mhz processor, 256MB ROM and 128MB RAM
Click to expand...
Click to collapse
I tried the Kaiser and found it slower than the Hermes even though it had more memory. The thing was laggy. They need to put more powerful processors into these things.

How to allocate memory (files/programs)

Hi to all, a question, in older Windows Mobile you could decide how much memory allocate to files or programs, now it's exactly half for one and half for other. I mean, I've a Diamond and use Igo8, but 'vent enough memory to make it work well, cause in program memory, after killing all, I reach almost 40 Mb free. But I've 120 Mb free of main storage memory. Or there's a way to command Storage memory (Internal) to work as Ram memory? ope to be clear, thank-you
Allocating memory is a thing of the past (WM 5.0). Although this fun fact is a thing of the past, the good news is, History tends to repeat itself!
The odds are in our favour that we might see this option return .......

Why total program memory changes

I understand the difference between program and storage memory. If the program memory is finite, why does the total Program memory chage when I load a new ROM? I thought flashing a new ROM loaded it into storage since the other is volitile.
I saw this post, but it doesn't tell me how the cooks can tweak program memory. Thanks.
http://forum.xda-developers.com/showthread.php?t=401640
Well it's a bit complicated why, but I'll try to summarize it. There's something called the Pagepool, which can vary greatly in size (in megabytes), but its job is equivalent to a cache in a hard drive. The pagepool constantly sits in RAM, and the device will ignore the pagepool when detecting total RAM, as it can't be used at all. The size of the pagepool can be anywhere from dynamic (as much as it needs) to a huge unnecessary number (like 64).
For example, the pagepool on EnergyROM is ~26 megabytes, but the pagepool on Twopumpchump's ROM is ~15MB (I made that # up for this example). If you go to the memory applet, you'll find that EnergyROM should have less RAM then Twopumpchump's even though it could be faster. There might be a few other reasons that RAM could be different between ROMs, but that would probably be the biggest one.
You might also want to check out this article if you're still curious about this stuff.

Categories

Resources