PPCGeeks

PPCGeeks (http://forum.ppcgeeks.com/index.php)
-   Windows Mobile Hacks/Tweaks (http://forum.ppcgeeks.com/forumdisplay.php?f=27)
-   -   Why does this help my Titan Memory? (http://forum.ppcgeeks.com/showthread.php?t=30876)

sc00b4s7eve 07-02-2008 04:06 AM

Why does this help my Titan Memory?
 
I'm running the No2Chem 5067 kitchen w/ a 5MB pagepool. I've been really testing the memory management over the past few weeks only really using Schap's Advance Config: FScache, FS filter cache and glyph cache combos.
I ran across these and thought Looks close to what I'm using, why the hell not. I can always reflash.
Basically... They help... A LOT and it seems it's at the expense of a little battery life. What I'm wondering is why. What are these extra strings doing and are all of them necessary or even functional?

[HKEY_LOCAL_MACHINE\System\StorageManager\FATFS]
"CacheSize"=dword:00001fa0
"EnableCache"=dword:00000001
"BufferSize"=dword:00000100
"DataCacheSize"=dword:00000800
"EnableCacheWarm"=dword:00000001
"EnableDataCacheWarm"=dword:00000001
"EnableFatCacheWarm"=dword:00000001
"EnableWriteBack"=dword:00000001
"Flags"=dword:00010046


[HKEY_LOCAL_MACHINE\System\StorageManager\Filters\f sreplxfilt]
"ReplStoreCacheSize"=dword:00001fa0

rainfreak 07-02-2008 11:46 AM

Re: Why does this help my Titan Memory?
 
I don't know but I would be interested in knowing as well. Since I have the 2100mAh battery, I could live with a more speedy and happy Titan for a little battery loss... I only charge every two to three days anyway :)

sc00b4s7eve 07-02-2008 01:50 PM

Re: Why does this help my Titan Memory?
 
The impressive thing is that it manages the cache so tightly.
It actually reclaims almost all the memory it used when I close programs. The only time I see unexplained lost memory (leak) is when I wake up in the morning. Before it seemed to leak all day long.
I only really need to use Oxios for the non-Titan programs like HTC Album.

sc00b4s7eve 07-02-2008 01:55 PM

2 or 3 days! That's awesome/ kinda jealous. Gonna have to look into that battery finally.

You think I should ask this in the No2 5067 thread? Seems like not a lot of people get out here to the rest of the site hehe.

rainfreak 07-02-2008 03:05 PM

Re: Why does this help my Titan Memory?
 
Two of us do. I am running the same kitchen...

I'll try these hacks tonight and let you know.

nuguy 07-02-2008 05:12 PM

Re: Why does this help my Titan Memory?
 
Just to put it out in more conventional values, the OPs values are in hexadecimal, these are the same exact values - just in decimal...

The following are dwords in [HKEY_LOCAL_MACHINE\System\StorageManager\FATFS]
"CacheSize"=8096
"EnableCache"=1
"BufferSize"=256
"DataCacheSize"=2048
"EnableCacheWarm"=1
"EnableDataCacheWarm"=1
"EnableFatCacheWarm"=1
"EnableWriteBack"=1
"Flags"=65602


[HKEY_LOCAL_MACHINE\System\StorageManager\Filters\f sreplxfilt]
"ReplStoreCacheSize"=8096

I had only:
The following are dwords in [HKEY_LOCAL_MACHINE\System\StorageManager\FATFS]
"CacheSize"=0
"EnableCache"=1
"Flags"=68

And nothing else in a (i think) stock config in no2 5067 kitch w/ the perf tweaks, I'm gonna try these for a day or so and see what I think before I try out the latest and greastest from no2chem. I'm curious what these are set at in his pre-release2 that just went up?

sc00b4s7eve 07-03-2008 04:17 PM

Re: Why does this help my Titan Memory?
 
Update:
Better performance and speed when I changed these values.

[HKEY_LOCAL_MACHINE\System\StorageManager\Filters\f sreplxfilt]
"ReplStoreCacheSize"=16194
and
Glyph cache to 64k
I just used Schap's Advanced config to change the glyph cache.

Iguana775 07-03-2008 04:54 PM

Re: Why does this help my Titan Memory?
 
interesting. I'll give these a whirl and see what happens. :D

nuguy 07-03-2008 05:11 PM

Re: Why does this help my Titan Memory?
 
I am also going to have to report better performance overall.

However, I am having one issue.
I cannot download a 44meg file (no2chems new preview) to my storage card.
A popup appears saying "not enough memory" (over a gig free) it seems that is is caching it in system memory (aprox 20 meg free) so it won't finish and then transfer to the card....

Wonder if I would have to disable all of these to restore that functionality?

sc00b4s7eve 07-03-2008 07:36 PM

Re: Why does this help my Titan Memory?
 
I found the site that I pulled the registry settings off of. I thought I had lost it.
I have only really tried the storage edits and I can't read the rest of the page. I think you want the MSFlash edit.
http://www.pocketpt.net/forum/index....r&f=21&t=18576

Thundaar2000 07-06-2008 10:21 AM

Re: Why does this help my Titan Memory?
 
Quote:

Originally Posted by sc00b4s7eve (Post 335858)
Update:
Better performance and speed when I changed these values.

[HKEY_LOCAL_MACHINE\System\StorageManager\Filters\f sreplxfilt]
"ReplStoreCacheSize"=16194
and
Glyph cache to 64k
I just used Schap's Advanced config to change the glyph cache.

Hey!
What does the glyph cache do or what is it for?
No one seems to know... I even asked on schap's thread!

sc00b4s7eve 07-06-2008 09:36 PM

Re: Why does this help my Titan Memory?
 
I believe the glyph cache is a cache for various visual elements as opposed to data and files.
I don't know exactly what it is but I do know a couple things about it as others have described it:
-Some refer to it helping fonts, or simply change the name to font cache.
-The highest setting that is recommended for this device is 32K. (Mine performs optimally at 128K, even though it often will slow down pocketIE with BIG pages)

sc00b4s7eve 07-07-2008 11:13 AM

Re: Why does this help my Titan Memory?
 
Found aa bunch of partial answers here on MSDN - hey what-do-you-know?...free MS Help! I didn't haave to borrow the freakin library of congress after all.

http://msdn.microsoft.com/en-us/library/ms885403.aspx
Well I'm interested and kindaa getting into this.
Anyone want to start a generalized "Developers 101" thread? (aka: you might want to be fluent in ____ programming language, Have this MS building program, and these kits, etc.)

rainfreak 07-08-2008 11:38 AM

Re: Why does this help my Titan Memory?
 
Well I have been runing these reg hacks for a few days now and see a difference in how fast apps open/close and in general screen changes. But I also see that my memory utilization, which I always kept hovering around 65-68% is now steadily going up to around 74-77%, with nothing else running (even after a quick Oxios fix).

I don't remember installing anything new, but it has been a long week...

sc00b4s7eve 07-10-2008 02:18 AM

Re: Why does this help my Titan Memory?
 
Interesting. Are you talking about your active "program memory," or your overall "Storage Memory?" I supose that the increase in Glyph cache and filter cache could be taking up more space while, effectively, indexing what its filtering and caching...
But I hope it's an improvement overall.

I've found mine creeping right back up to about 20MB when nothing is running.

rainfreak 07-10-2008 11:53 AM

Re: Why does this help my Titan Memory?
 
Quote:

Originally Posted by sc00b4s7eve (Post 342333)
Interesting. Are you talking about your active "program memory," or your overall "Storage Memory?" I supose that the increase in Glyph cache and filter cache could be taking up more space while, effectively, indexing what its filtering and caching...
But I hope it's an improvement overall.

I've found mine creeping right back up to about 20MB when nothing is running.

Nope, I am talking about Active Program Memory. Though at this point it is moot for me, as I have hard reset my Titan at least 4 times in the past two days, as well as load 2 different roms. My green send button stopped working so first I wanted to make sure that it was not rom related, then tried a different CDMA dialer that had a send button in the skin, which FUBAR'd my phone all up. Even after uninstalling the dialer S2U2 was locking up on every incoming call.

I'll try these again in a few days, when my replacement Titan gets here, and let you know how it is doing then.

sc00b4s7eve 07-16-2008 02:33 PM

Re: Why does this help my Titan Memory?
 
So... Here's the latest:
I ended up tweaking around the HKLM-System-Storage Manager settings WAAY too much and my phone hard reset itself! haha.
I should have just left it with the settings I originally posted cause they made it wicked fast.
Now I decided to go for the newer 19588 Kitchen on my Titan and it's alright. I mean these settings increased how responsive my phone is with this kitchen too but we all know No2Chem adds his own tweaks and edits to his builds. Frankly, No2's build is way better.

nmhusa 07-16-2008 08:29 PM

Re: Why does this help my Titan Memory?
 
Quote:

Originally Posted by nuguy (Post 334662)
Just to put it out in more conventional values, the OPs values are in hexadecimal, these are the same exact values - just in decimal...

The following are dwords in [HKEY_LOCAL_MACHINE\System\StorageManager\FATFS]
"CacheSize"=8096
"EnableCache"=1
"BufferSize"=256
"DataCacheSize"=2048
"EnableCacheWarm"=1
"EnableDataCacheWarm"=1
"EnableFatCacheWarm"=1
"EnableWriteBack"=1
"Flags"=65602


[HKEY_LOCAL_MACHINE\System\StorageManager\Filters\f sreplxfilt]
"ReplStoreCacheSize"=8096

I had only:
The following are dwords in [HKEY_LOCAL_MACHINE\System\StorageManager\FATFS]
"CacheSize"=0
"EnableCache"=1
"Flags"=68

And nothing else in a (i think) stock config in no2 5067 kitch w/ the perf tweaks, I'm gonna try these for a day or so and see what I think before I try out the latest and greastest from no2chem. I'm curious what these are set at in his pre-release2 that just went up?

Alright then. I was skeptical at first. Most memory management tweaks do nothing or just use more memory and make the device speed up, but do not provide any improvement in out of memory errors. The tweaks above (mainly the "CacheSize"=8096 and "ReplStoreCacheSize"=8096" provided a pretty good speed bump (on my Sampsons WM5 Rom with GPS/BT based on No2chems 5067). I turned the "ReplStoreCacheSize"=4096 and saw a decent maintanence of speed with less memory used up. Dropped from 17 megs to about 14-15 megs after running the device for a couple of hours.

But here is where things get interesting. Skyfire, Picsel, opera 9.5... all my memory hog programs (with out of memory errors on No2chem Roms at 15megs) run fine. Memory drops to 4-5 megs on high image intense website, but no out of memory errors yet. These are the first speed tweaks that seem to improve memory handling as reported. WOW the device seems almost perfectly stable. Will continue to test the abilities, but in the single day of testing, works great !!! Highly recommended.

sc00b4s7eve 07-19-2008 12:22 PM

Re: Why does this help my Titan Memory?
 
Great News!
I was waiting to hear that!

Did you use all of them? or just the ones you wanted?

nmhusa 07-23-2008 07:28 AM

Re: Why does this help my Titan Memory?
 
Quote:

Originally Posted by sc00b4s7eve (Post 353206)
Great News!
I was waiting to hear that!

Did you use all of them? or just the ones you wanted?

At first I used only the cache settings (i.e the ones with existing Dwords in the registry). I am now testing the complete set. Playing with the numbers to see what changes occur. The speed increase so far is more apparent than with an increase in pagefile from 4 to 8 megs.

sc00b4s7eve 07-24-2008 09:01 AM

Re: Why does this help my Titan Memory?
 
I found some new information on MSDN:
http://msdn.microsoft.com/en-us/library/aa914334.aspx
It says that the "Dword:Cachesize" is obsolete for Windows Mobile 6.x and/or Windows CE 6.0.
Although it was having an affect on my memory management, I have now removed the values and now have this working well.

edit: It seems that the "EnableCache" entry just assumes that the cache is automatic when no "CacheSize" value is found. In other words, This is just not as helpful as I expected. Testing on these settings are done. Autosizing of the cache is not helpful in my experience.

[HKEY_LOCAL_MACHINE\System\StorageManager\FATFS]
"FatCacheSize"=dword:2048
"DataCacheSize"=dword:8192
"EnableFatCacheWarm"=dword:1
"EnableWriteBack"=dword:1
"Flags"=dword:65606
"EnableDataCacheWarm"=dword:1
"EnableCache"=dword:1
"FriendlyName"="FAT FileSystem"
"Dll"="fatfsd.dll"
"Paging"=dword:00000001
"Util"="fatutil.dll"
"CacheDll"="diskcache.dll"

Plus my filter cache is down to 8196 and my glyph cache is down to 32K.
At this moment I have text messaging and IE open and I still have 20MB free. Enjoy!

bast525 07-27-2008 08:39 PM

Re: Why does this help my Titan Memory?
 
so does this mean we should reenable the cachesize key? or delete the enablecache key? kinda confused...

I will say that overall I dont notice a speed increase but I do notice my RAM holding out much better and that when I use Quickmenu or Oxios t reclaim ram I usually get most of it back. Third party apps usually recover all of it, MS apps usually keep a little.

sc00b4s7eve 08-03-2008 03:26 PM

Re: Why does this help my Titan Memory?
 
I would say re-enable the cache size.
I've moved on to the 20270 Kitchen w/ a 5MB PagePool and did not add all of the FATFS entries that I OP'd. Just the CacheSize(8096),DataCacheSize(2048),EnableCacheWar m(1), and EnableDataCacheWarm(1).
It is interesting to see that the builder(s) have added paging for a few of the StoreManager sections. I thought it would slow my Titan down but it seems to help.
Anyway, cheers to happy hacking.


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

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


Content Relevant URLs by vBSEO 3.6.0