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 Apache
Register Community Search

Notices


Reply
 
LinkBack Thread Tools Display Modes
  #11 (permalink)  
Old 02-11-2007, 03:10 AM
Sogarth's Avatar
PPCGeeks Regular
Offline
 
Join Date: Jan 2007
Posts: 129
Reputation: 0
Sogarth is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
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.
Reply With Quote
  #12 (permalink)  
Old 02-11-2007, 03:24 AM
helmi_c's Avatar
Retired Staff
Offline
Pocket PC: Android
Carrier: Telkomsel
 
Join Date: Jan 2007
Posts: 128
Reputation: 769
helmi_c knows their stuffhelmi_c knows their stuffhelmi_c knows their stuffhelmi_c knows their stuffhelmi_c knows their stuffhelmi_c knows their stuffhelmi_c knows their stuff
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
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.
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...
Reply With Quote
  #13 (permalink)  
Old 02-11-2007, 04:26 AM
Sogarth's Avatar
PPCGeeks Regular
Offline
 
Join Date: Jan 2007
Posts: 129
Reputation: 0
Sogarth is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
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.
Reply With Quote
  #14 (permalink)  
Old 02-11-2007, 01:31 PM
jeffme's Avatar
N00b
Offline
 
Join Date: Feb 2007
Posts: 25
Reputation: 0
jeffme is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
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!
Reply With Quote
Reply

  PPCGeeks > Windows Mobile > WM HTC Devices > HTC Apache


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 02:17 AM.


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