PPCGeeks

PPCGeeks (http://forum.ppcgeeks.com/index.php)
-   HTC Apache (http://forum.ppcgeeks.com/forumdisplay.php?f=14)
-   -   AKU 3.3 - Additional programs, hacks, add-ons, fixes, mods (http://forum.ppcgeeks.com/showthread.php?t=2190)

Sogarth 02-11-2007 03:10 AM

Quote:

Originally Posted by helmi_c
hmm... I dont think using ramdisk is necessary and also finding the address for ramdisk for apache is a bit hard, maybe U better use Extended_ROM as disk on first boot, this can be easily made by some change to boot part from ROM xip that will make ur extended_rom as a disk. but this will hv side effect, it'll make messaging attachment to Storage (extended_rom not SD) a little bit mesh if u hv more then 10mb attachment... and also u lost the ability to automatically install aplication from extended_rom after first boot (hard reaset) but this can be solved if we set/move/modify the rom to locate the extended_rom/autoconfig.txt/autorun.exe to SD card...

You'd be correct in that attempting to get the persistent RamDisk would be very difficult. However, the non-persistent RamDisk can be set up pretty easily. The problem is that it uses the same 32 MB that the rest of the operating system, Today DLLs, SIP DLLs, etc. use, so it's difficult to have a RamDisk of any appreciable size if you have other things running. I was trying to have the RamDisk allocate memory outside of that 32 MB by attempting to use VirtualAlloc() instead of LocalAlloc(), but I probably missed something, since when I tried it out, it didn't work for me... :(

If anybody around here knows more about Windows Mobile programming than I do, I'd be happy to try and help get it to work (I'm more of a Unix programmer than a Windows programmer!), since I'd love to have all of my caching on a RamDisk than this slow flash memory stuff. :wink:

helmi_c 02-11-2007 03:24 AM

Quote:

Originally Posted by Sogarth
You'd be correct in that attempting to get the persistent RamDisk would be very difficult. However, the non-persistent RamDisk can be set up pretty easily. The problem is that it uses the same 32 MB that the rest of the operating system, Today DLLs, SIP DLLs, etc. use, so it's difficult to have a RamDisk of any appreciable size if you have other things running. I was trying to have the RamDisk allocate memory outside of that 32 MB by attempting to use VirtualAlloc() instead of LocalAlloc(), but I probably missed something, since when I tried it out, it didn't work for me... :(

If anybody around here knows more about Windows Mobile programming than I do, I'd be happy to try and help get it to work (I'm more of a Unix programmer than a Windows programmer!), since I'd love to have all of my caching on a RamDisk than this slow flash memory stuff. :wink:

I think ramdisk is great for a big memory device (128mb or so) for system with 64mb? that will eat some precious memory for other/better purpose, and all of that for none persistance memory?, thats why I dont think its worted to convert to ramdisk... well just me...

Sogarth 02-11-2007 04:26 AM

Quote:

Originally Posted by helmi_c
I think ramdisk is great for a big memory device (128mb or so) for system with 64mb? that will eat some precious memory for other/better purpose, and all of that for none persistance memory?, thats why I dont think its worted to convert to ramdisk... well just me...

For heavy use, you'd be right. All I'm looking for is a small 4 MB RamDisk - that much, I can spare, and it'd make Internet Explorer and Opera a lot faster. Me, I think it's worth it for dramatically faster browsing, even though other folks might think I'm insane. :lol:

jeffme 02-11-2007 01:31 PM

Thanks, gents - that's awesome information.

Now, if I could push my luck - what are the tradeoffs in paging pool sizing - same as for the RAM Disk, or is this a different issue?

Thanks!


All times are GMT -4. The time now is 02:10 PM.

Powered by vBulletin® ©2000 - 2025, Jelsoft Enterprises Ltd.
©2012 - PPCGeeks.com


Content Relevant URLs by vBSEO 3.6.0