[Q] How to speed up memory acess on RA2? - XPERIA X1 General

I've waited for a while to see how everything would develop, but RA2 just remains slow as hell.
I'm getting main memory write of ~1700 and read of ~6100.
Storage card gets stuck at ~650 write and ~ 2600 read.
It's drama. Did anyone find a way to improve this, or must we start PM'ing tnyynt?

All I did was reflash back to the R1 firmware. I didn't see anything in the R2 that was better. So unless I missed something, I just went back to the R1 with the tweaks and it seems to be a lot smoother and quicker than the R2. Just my .02

I think and maybe wrong here, but the r2a roms are using a different memory model, that caches a lot more.
I've found that letting wm control the cache works best.
16mb pagepool is also good
despite the benchmarks I definitely find r2a faster than 1, inclduing sdcard access.
have you tried spb benchmarks "real world" tests, using word etc?

fards said:
I think and maybe wrong here, but the r2a roms are using a different memory model, that caches a lot more.
I've found that letting wm control the cache works best.
16mb pagepool is also good
despite the benchmarks I definitely find r2a faster than 1, inclduing sdcard access.
have you tried spb benchmarks "real world" tests, using word etc?
Click to expand...
Click to collapse
So what exactly did you change?
I haven't tried a SPB benchmark. I know SKtools isn't the most reliable test, but I think that the numbers I gave you tell us enough; it's not good.

Angelusz said:
I've waited for a while to see how everything would develop, but RA2 just remains slow as hell.
I'm getting main memory write of ~1700 and read of ~6100.
Storage card gets stuck at ~650 write and ~ 2600 read.
It's drama. Did anyone find a way to improve this, or must we start PM'ing tnyynt?
Click to expand...
Click to collapse
Can you verify that the registry entries from the cab have been indeed written to the registry?
If yes, use a tweaking program to verify File System Cache is enabled and set according to SD TuneUp.
Write operations should not be cached by default, so that result I seem fair but the SD read result I find low. What was your result on the previous ROM?

I checked and I think I found the issue. The settings are not applied indeed.
Funny thing is, I can't change them. I've tried with SOTI Pocket controller, as well as with SKtools' regeditor. The registry keys cannot be modified! Will try in another way, will post results.
EDIT: After some more thorough inspection, I found something is wrong.
The registry does show the correct HEX keys. In decimal however, it shows completely the wrong thing!
For instance the DWORD CardDetectControlMask:
In tnyynt SDtuneup.cab
Hexidecimal: fffff3ff
Decimal: -3073
In my registry:
Hexidecimal: fffff3ff
Decimal: 4294964223
How can this be explained? I've never seen HEX differ from decimal before..
Edit2
Third inspection shows me that the registry doesn't like a "-". In your CAB, - values are used. I can now modify positive values (took the SD card out), but can't enter minus.

Angelusz said:
EDIT: After some more thorough inspection, I found something is wrong.
In tnyynt SDtuneup.cab
Hexidecimal: fffff3ff
Decimal: -3073
In my registry:
Hexidecimal: fffff3ff
Decimal: 4294964223
How can this be explained? I've never seen HEX differ from decimal before..
Click to expand...
Click to collapse
i can explain this one. (i will use h for hexadecimal numbers and d for decimal numbers and b for binary numbers)
normally FFFFF3FFh =4294964223d in 32bits
but in binary you can not enter "-" in a cpu registry only 0 and 1
and you can only do addition. So to do 5d-2d they must do 5d+(-2d).
but (-2d ) can not be express in ordinary binary.
the example is only on 4bits
5d=0101b
2d=0010b
3d=0011b
the result must be 3d=011b
0101b
+xxxxb
_____
0011b
we find that xxxxb=1110b=(-2d) but 1110b also = 14d !!!
it works because of a registry overflow. on 4 bits you can only count up to 15 normally 0101b+1110b = 10011b -> 5 bits but only 4 bits can be stored so the one on the left is not in memory. so the result of the operation is 0011b.
the shortest way to find the representation of (-2d) is
take the biggest number on the number of bits you use. remove the absolute value of the negative number you are are looking for and add 1.
(computer can not do binary subtraction but human can )
on 4 bits
1111b - 0010b +0001b =
1101b +0001b=1110b
or 15d-2d+1d =14d
now on 32bits.
3073d=00000C01h
so
-3073d=FFFFFFFFh - 00000C01h +00000001h
-3073d=FFFFFFFFh- 00000C00h
-3073d= FFFFF3FFh !!!!!
all that to say that the value in the registry are the same....LOL
all depend if you consider it or not has a negative number.
normally we use the first bit on the left to know if its a positive or negative value.

Alright. So it actually is the same. Thanks for your elaborate explanation, it's never a bad time to learn something.
So it's all in the way it's displayed. I gues WinCE cab manager does allow showing -xxxx in registry entries, where the winmo registry does not.
This does mean that the values should indeed be applied correctly. Tnyynt?

After updating my firmware I've notice, faster boot up times, and TF3D is a lot smoother. A lot. Before the update TF3D would crash my phone. It hasn't crashed yet. I wondering why you guys are experiencing a sluggish update.

yogibear2009 said:
After updating my firmware I've notice, faster boot up times, and TF3D is a lot smoother. A lot. Before the update TF3D would crash my phone. It hasn't crashed yet. I wondering why you guys are experiencing a sluggish update.
Click to expand...
Click to collapse
This thread is not about it being sluggish, I'm pointing at the raw numbers. File transfer btw, is much slower.

Angelusz said:
This thread is not about it being sluggish, I'm pointing at the raw numbers. File transfer btw, is much slower.
Click to expand...
Click to collapse
My apologies. I didn't mean to highjack the thread.

tnyynt said:
What was your result on the previous ROM?
Click to expand...
Click to collapse
i got around 3000 on R2A
on R1A i use to have 12000 on my 16g sd card.
so it's significantly lower on R2A

Angelusz said:
Alright. So it actually is the same. Thanks for your elaborate explanation, it's never a bad time to learn something.
So it's all in the way it's displayed. I gues WinCE cab manager does allow showing -xxxx in registry entries, where the winmo registry does not.
This does mean that the values should indeed be applied correctly. Tnyynt?
Click to expand...
Click to collapse
it depends if Tnyynt have used decimal or hexadecimal to enter the values. registry are always imported in hexadecimal
if Tnyynt has entered the initial value in hexadecimal so the values are good but if Tnyynt entered the initial value in decimal there is a problem, but this one can be easily solved. it will just mean that R1A and R2A may not use the same code for numbers so in this case we will just have to recode the value to have the good numbers.
but i logicaly for a mask you use hexadecimal...
Has somebody tried to contact se about this problem?

Tylwith said:
i got around 3000 on R2A
on R1A i use to have 12000 on my 16g sd card.
so it's significantly lower on R2A
Click to expand...
Click to collapse
yeah same here. This is why I was wondering if it was worth staying on the R1A since most programs are installed onto the mem card, the R1A firmware should be quicker at loading programs correct?

Ok, why are you people so keen about the benchmarks? Copy a file on your SD and compare the result. This is a lot more realistic test and there you can see if there is any real difference for your programs. Everything else is just for bragging, sorry.

Dandie said:
Ok, why are you people so keen about the benchmarks? Copy a file on your SD and compare the result. This is a lot more realistic test and there you can see if there is any real difference for your programs. Everything else is just for bragging, sorry.
Click to expand...
Click to collapse
it's not that simple because of the file system and how machine handles access to them. depending of the size of file you are copying the result can be very different. Some fs are better with tiny files some other with bigger files. there is also the access speed of the file that you can not really tell even if it has a big importance. it's a bit like internet speed . you can have a fast non responsive internet connection(will take long time to access a server but will download very fast for example). Or a responsive but very slow internet connection(remember of the days people were playing counterstrike on rtc modem because the rtc modem gave them a better ping than adsl or cable)
benchmarks try to copy different kind of file size and try to make an average score they also test multiple simultaneous access and thing like that which is important for multitasking. Futhermore it's not easy to try launch a copy a several tiny files by hand.
if your system is faster reading bigger file it doesn't mean that program that use smaller files will be faster.

Very true. tnyynt, what does all this tell you?

Sorry to be so late, time is not on my side nowadays.
I find it really strange that the TuneUp would work on any device sporting a Card but on the Xperia with the latest firmware. I think we can easily rule out registry and import incompatibilities since it's the same operating system.
Nothing clever comes to my mind but this:
try exporting the regustry entries from my CAB with WinCE CAB Manager and apply them as a registry patch on your device. See how that goes.

Related

UPX - Compression app to free up space

I found this thread on aximsite, a forum I still visit from when I had a Dell Axim and it looked interesting. I didn't find the app in a search here, so I thought I'd post it for anyone who might be interested.
UPX is apparently an app that lets you compress .exe and .dll files without really impacting perfomance in any noticeable way (per the postings in the thread.) I haven't tried it yet, but might give it a shot. It seems the app is not resident on the pocket PC, but needs have files moved to the pc, compressed, then moved back. It's a little bit of work, but it only needs to be done once, so after the set up, it sounds like you're good to go.
Anyway, just thought I'd pass it on as an FYI for anyone who might be interested.
Oh yeah, and it's free too.
Finally UPX is available for WinCE. You should have posted in "General" in the first place.
This program makes your programs even start faster (less to read from usually slow SD card, storage, ...).
For a non-technical person, I am a bit confused... Reading thru the thread, it seems that more ram are required to run the compressed apps.
What exactly do we gain if the apps are stored on a storage card where storage space is not really the issue? Need help.
Wow, thank God. UPX is old skool genius.
Can someone give it a go on the enormous Skype executable? I'm not near my phone for a while and can't check it.
V
vijay, I tested it on the big MobileNavigator.exe which is around 3,7 MB originally. UPX'd only 1,1 MB or so. And it runs! Even Voice Command (300KB down to 100KB). Since I have it installed in Storage it starts faster (Storage is soo slow).
Thank goodness. This is a God send, when reversing PPC binaries you can see that they're full of so much slack.
I had a look at UPX quite a while ago - I use it to compress all my PC VB and C++ stuff, but was disappointed to find it didn't work on PPC. I'm now.
Decompressing presumably incurrs some overhead, but it'll help us out when we've got limited storage.
V
vijay555 said:
Decompressing presumably incurrs some overhead, but it'll help us out when we've got limited storage.
Click to expand...
Click to collapse
I can't agree with that. You can read on the authors page, that
http://upx.sf.net/ said:
Your executables suffer no memory overhead or other drawbacks because of in-place decompression.
Click to expand...
Click to collapse
Although decompression takes some time it is still faster, because it is read into RAM a few times faster than it normally would. This saves more time than it takes.
Good point Chatty. My concern was CPU overhead on slower processors (OMAP), but as you say, since you're using RAM or faster storage, it'll probably compensate.
V
i tried it with opera and tomtom which are both on my main memory
results:
original opera startup 14 sec
upx opera startup 9 sec
original tomtom startup 15 sec
upx tomtom startup 14 sec
i also tried it with tcpmp which is on my SD card
original tcpmp startup 3 sec
upx tcpmp startup 2,5 sec
so it seems to speed things up a little
HOWEVER... in opera the the '-' buttons dont work anymore.. they do work when you use them through the touch screen though..
and the text ('Stop'/'Go to' and 'Menu') is aligned to the left of the screen instead of the normal at 1/3rd and 2/3rd of the screen.
--------------------------------------------
[edit] extra information
original opera 4,86mb
upx opera 1,63mb
original tomtom 2,62mb
upx tomtom 1,67mb
original tcpmp 1,21mb
upx tcpmp 1,21mb
not only a speed gain but it also saves room
OPERA
after a few tests i found out the opera.dll is responsible for the movement of the ´-´ buttons and the not functioning with the keyboard
the opera.exe, xmlparse.dll and zip.dll have nothing to do with it..
with the upx´ed above three and the standard opera.dll startup takes 12 sec so its still some faster then all original files
however the original opera.dll is 4,74mb and the upx opera.dll is 1,57mb, so it doesnt save much room :!:
im just glad ill receive a 4gb SD card today which will give me some extra breathing room compared to my 512mb
Re: OPERA
Bartjan said:
however the original opera.dll is 4,74mb and the upx opera.dll is 1,57mb, so it doesnt save much room :!:
Click to expand...
Click to collapse
1/3! What do/did you expect? I find this rather great!
i meant:
when you use the original opera.dll so the ´-´ buttons still work right, you dont save much room compared to the all original opera :roll:
I went through last night and UPX'd every DLL and EXE that I could, including WisBar (and Desktop), Resco, Opera, PocketInformant and other stuff.
PocketInformant won't start if one of the DLLs is UPX'd, but I don't remember which one. The rest of them and all the EXEs are fine.
Opera - as above. Screw the soft keys, 3MB is a lot of slack to be rid of.
Resco was interesting. The Today plugin messed up at one point, and the Explorer went completely scatty with fonts. Even after uncompressing all the Resco files again the Encrypt/Decrypt context menu items were blank but functioning.
WisBar (compressed) can now live in the 10MB Ext_ROM along with Opera and Resco.
All in all it is something to use carefully, but can save a LOT of space.
Hmm.. so far the responses from the trial seems good. I'll give it a try too later this weekend
--- UPDATE (12 May 06) ---
My results, using UPX -9 (e.g. max compression)
All programs are working so far, but performance are negligible (e.g. less than 2 seconds improvements)
from \Windows
PITools.dll 1.18M -> 504K (save 700K)
from \Program Files
Mobibook.exe : 1.61M -> 619K (save 1.0M)
Tom tom navigator : 1.59 -> 692 (save 900K)
WorldMate.exe : 747K -> 207K (540K)
So, that is a saving of 3M of space! Anyway, for those of you that are adventurous, there are various 500K size dll files in \Windows folder, which I doubt can save much (e.g. the effort/space ratio isn't that attractive).
Anyway, I've found the following files on \Windows that seems to be compressable.
ppt.exe (powerpoint)
gwes.exe (???) <-- DO NOT RUN. It will hang your unit.
gdiplus.dll (???)
msxml3.dll (???)
However, I'm not sure if it is a good idea to compress the ppt that is in ROM, and others are unknown programs (e.g. not sure how to test it after compression)
I've also looked around my SD card and found the Tennis.exe game that I have, that is 2.4M in size which were then compressed downed to 2.17M, which is a bit disappointing. I didn't test if it runs on my unit or not.
hanmin said:
Hmm.. so far the responses from the trial seems good. I'll give it a try too later this weekend
Click to expand...
Click to collapse
An pages anywhere with a list of what NOT to compress?
This is an excellent app! I have compressed all of my apps and have not had any problems.
The big ones for me are PlanMaker and TextMaker - both have compressed to a fraction of their original size. Infact I was running a little tight on space I hadn't even installed TextMaker. But now I have compressed both it isn't a problem.
The only strange one so far is ListPro which works fine but loses it's icon.
I haven't tried to compress everything possible, just the apps and may be the main dll.
I have now got about 5mb more storage space than when I started with TextMaker installed.
Excellent!
hanmin said:
Anyway, I've found the following files on \Windows that seems to be compressable.
ppt.exe (powerpoint)
gwes.exe (???) <-- DO NOT RUN. It will hang your unit.
gdiplus.dll (???)
msxml3.dll (???)
However, I'm not sure if it is a good idea to compress the ppt that is in ROM, and others are unknown programs (e.g. not sure how to test it after compression)
Click to expand...
Click to collapse
You're right that compressing something that is in ROM isn't a good idea, that takes up space!
If you have a file in ROM like \windows\PPT.EXE and it is 1MB in size, then compress it to 500KB, copy it back to \windows, you actually USE 500KB of Program Storage rather than saving it.
Your ROM is Read Only, you can't delete files from it or overwrite them.
What actually happens is that you create another file with the same name and the OS ignores the one in ROM.
I do this with ClearStorage.exe.
I created a .TXT file and in it put
Code:
Clear Storage is dangerous.
then renamed it to ClearStorage.exe. I put it in the \windows folder to stop anyone erasing my device by accident(!).
If I need to clear my device I can delete the file and the original ClearStorage.exe is still there.
Try it yourself.
There is no easy way to save space.
If you want to load your apps to ROM and delete the crap ones that come with the OS this will work, but you will have to decode the ROM, edit the hive files, re-encode the ROM and flash it.
This is no small task, but it can be done (I plan on doing it myself actually).
Wow - This is fantastic. In just a short amount of time I have saved several meg of space, and some programs (such as TomTom) run significantly faster.
Superb!
Cheers
Rowan
Amazing. My Big Storage now BIGGER
Some results (on a Wizard)
MS Communicator Mobile - Compressed the exe and one dll down to 33% (1.3mb). The app would not run with one dll (lclang-res96.dll) compressed.
GoodLink - Compressed GoodApp.exe (the biggest file) from 3.5mb to 1.2mb successfully, however by compressing the largest dll (GoodLinkRes_EN.dll) I lost the soft key labels (and probably some other stuff).
TomTom Navigator - 41%
MS VoiceCommand - Compressed from 1.6mb to .6mb
Those were my big files on my device. Using UPX gained me an extra 6mb storage memory - which was a 50% increase (I went from 12 to 18 ). Off to try it now on my Storage Card apps.
Also, .NET files are not currently supported.

New reg-hack: MemHack. Pre-Alpha.

I fiddled around with my wm6'd hx4700 (thanks kuzuhara!) and a registry editor and found a way to make it regard SD as ram and xip from it.
This renders my device to achieve usage smooth enough i allow myself to reffer to the device as a mini-umpc^_^
For SD only atm, miniSD may or may not work depending on your devices driver. No MMC for the time being.
I sooooo hope this isn't old news
Here's to me not ****ing any of your devices up, it worked wonders for me.
P.S
IMPORTANT!
Delete the Program Files folder and reset again once you see the SD's been renamed to Program Files2.
On the next boot it'll mount as Program Files and everything will load from it.
Excuse me, my brains are stuck in google translator mode
4.11.2007
It seems i was rather in the wrong and am taking a whole new direction.
One which involves reading more carefully before i charge head into the guts of windows embedded.
Will take me a while until next post, and it might become hx4700 exclusive, but i promise you some cool stuff to come yet.
Anybody wanting to make their SD into Program Files to save space,
just start resco reg editor and change hklm\System\StorageManager\Profiles\SDMemory\Folder: Program Files.
(Originally is SD Card).
You can also try messing with it, making it into diffenent sys folders, just be careful
Mine is currently application cache (Volatile) and [email protected] Files.
(Running sweet with what i got to with the enablement of complete graphics accelaration, except for a minor hang up when returning from sleep).
Sooooooooooo...
ONLY DOWNLOAD AND APPLY THE CURRENT PATCH IF YOU KNOW WHAT YOUR'E DOING AND WANT TO GIVE BEATING ME TO IT A SHOT!
I'm hoping for a next release in a day, but not necessarily of this project but of an off-chute.
BTW, is it just me or is WM real *nix like?^^
anyone tried this ?
ranasrule said:
anyone tried this ?
Click to expand...
Click to collapse
Downloaded, but waiting to see what others think.
Want to know what it does to the SD card and device as the readme does say to move the devices contents of its program files folder to the sd card?????
downloaded it too. but i notice its his forst post.
Lol... it's my first post, sorry..
All it does is make the device call the card drive "Program Files" and set a swap file that's used as most device memory (don't worry, it's faster than most none-nand flash). i had to leave a small buffer in device memory though.
The memory file is unallocated, so just don't forget to leave 528MB free at all times.
Re-read the original post
It is and will be updated with periodic updates should they come.
I've been using it for 72 hours now.
It takes the odd reset to free up memory, but nothing worst than what we had before.
well if all thing got wrong.. anyway to revert it back?.. well ofcourse hard reset is one of it. uhmm.. lets put hardreset aside first..
well.. cant wait to test this.. i made a whole backup of my registry so if thing went wrong.. ill just restore the registry backup..
Good point doube_ofour.
Just export the StorageManager registry key before applying the changes, and if worst comes to worst restore your backed up original.
So, anybody else installed and can connect to tell the tale?
DuperMan said:
So, anybody else installed and can connect to tell the tale?
Click to expand...
Click to collapse
I made a cab with the regs and installed it But I'm still experimenting .. Nothing bad happened so far how do i know the device is faster ?!! how did you measured your device's speed ?
So let me get this straight -- it will use the microSD in my TyTN as RAM -- the icky sticky stuff I run out of because internet explorer, pocket player, and spb mobile shell grab it all for themselves?
Is there any way to specify how much of the SD card is used as RAM -- since I don't really need 1 GB of RAM on my device.
I saw your post about 558 MB free but didn't quite understand it. You also said you need the odd softreset to free memory? but why would you need to free up a few MB when you have access to hundreds?
But thanks for sharing with the community -- if this really does work out well for us, that's pretty freaking amazing.
@DuperMan
Does this hack simply make our "Storage Card" transform into "Program Files"?.. Thats it?.. cant see any speed improvement.. besides my memory usage increased by that means my device will perform slow..
My "Program Memory and Storage Memory" Stays the same as 47mb total on both memory..
Exactly Ragart!
Only it's set to use miniSD, i think you'd have to mess with it a little to make it work on miniSD... if response is good i'll make a mini version.
Remember - It's only been tested on wm6 hx4700!
double_ofour said:
@DuperMan
Does this hack simply make our "Storage Card" transform into "Program Files"?.. Thats it?.. cant see any speed improvement.. besides my memory usage increased by that means my device will perform slow..
My "Program Memory and Storage Memory" Stays the same as 47mb total on both memory..
Click to expand...
Click to collapse
in my case my program memory decreased by something around 10mb ! and I can't see any improvement in speed too ...
miniSD, hmm? Well that's the slightly-larger brother of my 1GB MicroSD. So I guess I'll just watch the thread and see others' reactions before I try anything (though I do have fullbackups)
Thanks for the quick response. So how much RAM does your hx4700 'have' now? and did you set it to 558 extra for a reason? Just curious questions from a person who doesn't understand the intricacies of reg editing
@doube_ofour:
Use it for a while, constant usage should be smoother. Did you free the space up by deleting the old Program Files as well?
Use it to surf for a while, multiple windows style, and you'll notice the difference.
Also, don't be mean to my hack Don't load it to spite, wait for each app to load and keep on starting apps without (majorly) worrying about a system crash.
@hma4:
The age old method of feel
It doesn't boost anything per say, but your device shouldn't be as compaction ridden as it was, so less mem degradation over time=more time between resets under heavy work loads. and i mean heavy. also, multi-tasking is MUCH more usable.
@ragart:
I set it to have a 512Mb paging area on the SD, plus 512kb in main for caching and another 16Mb for caching on SD, so that's a total of 528.5Mb overall mem, 16.5Mb cache and half a gig paging (good for them internet chaches etc..
i check on the registry that u have made in ur reg hack. seems like all the folders etc is the same even for a miniSD card ... so do u think it will work on miniSD too?

Speed

I normally don't have any complaint with my "snappy" snap, but sometimes the keyboard slows down and it doesnt register some letters, is there anything that can be done to speed up the keyboard?
And are there tweaks to speed up the device in general? I know that with my prvious winmo phone (omnia) there where some registry tweaks etc to gain some speed
I noticed the same, and sadly also on my Excalibur. (The two issues might be unrelated though...)
Interestingly, it's usually the A key that does't register.
JcNeji said:
I normally don't have any complaint with my "snappy" snap, but sometimes the keyboard slows down and it doesnt register some letters, is there anything that can be done to speed up the keyboard?
And are there tweaks to speed up the device in general? I know that with my prvious winmo phone (omnia) there where some registry tweaks etc to gain some speed
Click to expand...
Click to collapse
There are a few reg edits:
Improve graphic layer cache performance
HKEY_LOCAL_MACHINE\System\GDI\GLYPHCACHE\Change the value of ‘limit’ from 8192 to 16384, 32768 or 65536 can be used as well but thats an overkill.
Increase Font Cache
HKEY_LOCAL_MACHINE\System\GDI\SYSFNT\CS=16384
Values same as glyph but currently this doesn’t show any gains so leave 0.
Enable file cache
HKEY_LOCAL_MACHINE\System\StorageManager\FATFS\CacheSize=0×1000(4096)
HKEY_LOCAL_MACHINE\System\StorageManager\FATFS\EnableCache=0×1(1)
HKEY_LOCAL_MACHINE\System\StorageManager\Filters\fsreplxfilt\ReplStoreCacheSize=0×1000(4096)
Speed up SD Card Transfer
HKEY_LOCAL_MACHINE\Drivers\SDCARD\ClientDrivers\Class\MMC_CLASS
HKEY_LOCAL_MACHINE\Drivers\SDCARD\ClientDrivers\Class\SDMEMORY_CLASS
HKEY_LOCAL_MACHINE\Drivers\SDCARD\ClientDrivers\Class\SDMEMORY_CLASS\High_Capacity
Change ‘BlockTransferSize’ from 64 to 16. This makes SD much more responsive with 4x faster read times!
Enable IE faster caching
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\AggressiveCache=1
Thx man, but the IE update was unnecassary caus i use skyfire, but thx for the rest
Bupahs said:
Speed up SD Card Transfer
HKEY_LOCAL_MACHINE\Drivers\SDCARD\ClientDrivers\Class\MMC_CLASS
HKEY_LOCAL_MACHINE\Drivers\SDCARD\ClientDrivers\Class\SDMEMORY_CLASS
HKEY_LOCAL_MACHINE\Drivers\SDCARD\ClientDrivers\Class\SDMEMORY_CLASS\High_Capacity
Change ‘BlockTransferSize’ from 64 to 16. This makes SD much more responsive with 4x faster read times!
Click to expand...
Click to collapse
i dont have a maple but when i look at these on my blackjack the BlockTransferSize is at 256 it seems to be fast but if i change it to 16 can i expect the same results?
Aitrus said:
i dont have a maple but when i look at these on my blackjack the BlockTransferSize is at 256 it seems to be fast but if i change it to 16 can i expect the same results?
Click to expand...
Click to collapse
Try it and see, worst case it will do nothing and you can change it back
i got a question..
how come when i go to edit some of the registries i get a "access is denied" error msg?
SoCalSpecialist said:
i got a question..
how come when i go to edit some of the registries i get a "access is denied" error msg?
Click to expand...
Click to collapse
Snap or Dash 3G? The Snap may need to be app unlocked, the Dash 3G doesnt need to be. It also could be your editor.. I use SKTools or Total Commander since neither require a certificate to do reg edits.
Bupahs said:
Snap or Dash 3G? The Snap may need to be app unlocked, the Dash 3G doesnt need to be. It also could be your editor.. I use SKTools or Total Commander since neither require a certificate to do reg edits.
Click to expand...
Click to collapse
neither lol, i have a Ozone and i use "Mobile Registry Editor" from my desktop.
should i use that .cab "appunlock" and give it a go??
Bupahs said:
Snap or Dash 3G? The Snap may need to be app unlocked, the Dash 3G doesnt need to be. It also could be your editor.. I use SKTools or Total Commander since neither require a certificate to do reg edits.
Click to expand...
Click to collapse
I have the Ozone and get the same access denied message using Total Commander. Looks like Verizon locked editing the registry.
Any way to unlock this?
I have a Ozone as well and have had no problems using PHM regedit.
Perhaps try that instead of Total Commander.

sygic cant calculate routes above 250 km

hello fellow chefs
i have a problem that whas brought to my attention by a user of my blackstone rom
he uses sygic as navigation and he wanted to calculate a route from netherlands to france and it cant finish calculating as it says it runs out of memory:s
when i tap the taskmaanger it mostly says arround 60% so i gues there is enough also when i look at storage in taskmanager it says
total 191.05 mb
in use 93 mb
free 98.05 mb (these valeus are after a soft reset with 49%)
there is more free then in use so i guess there is enough
also he pointed me to a program where you could test ram wich isnt working on my rom but is working on multiple other roms he has used:S
i also tried it myself by downloading sygic and i came to the same conclusion:S
also the program tells me the same when i want to do a ram check
when i start the program it says at least 21.25 mb free space is needed on the storage device
when i look at taskmanger at the storage section it tells me i have 255 mb free:S
you guys can downlaod the program here: http://rapidshare.com/files/334876190/pocketmechanic.2.99.283.CBD.zip
its a free program so no warezlink
when you instal the program and open it you have the option card benchmark
there you can choose over wich memory you want to perform it
when i say ram it tells me 15% of my ram is used and
302.25mb, 84.68% free
by my calculation 84% of 302 is way more then then the 21 mb the cecker talks about:-o
hope some one can help me solve this strange ram problem as i think the calculation fails of the strange ram thing
edit: gonna put the memorymap from my buildlog here maybe you can see something there
as it says by ram 43 free:-o still its more then the 21 the ram chacker talks about:s
Code:
Memory Map...
SLOT 0: 0x02000000 - 0x018b0000 (END: 0x00060000, 0 MODULES)
0x02000000 - 0x01fc0000 - ROM 0
0x01f80000 - 0x018b0000 - ROM 1
SLOT 1: 0x04000000 - 0x02020000 (END: 0x02020000, 211 MODULES)
SLOT 60: 0x7a000000 - 0x78e40000 (END: 0x78020000, 52 MODULES)
SLOT 61: 0x7c000000 - 0x7a022000 (END: 0x7a020000, 239 MODULES)
RAM IMAGE: 0x80000000 - 0x803e6560
RAM: 0x803e7000 - 0x80475000 - Used for kernel modules
0x80475000 - 0x83000000 - 43 MB free
bumping my 1 post question and got another one
can someone share the htc in call recoreder package including certificates?
thanks in advance
It's probably running out of virtual memory in the slot used by sygic.
Farmer Ted said:
It's probably running out of virtual memory in the slot used by sygic.
Click to expand...
Click to collapse
and can this be changed cause he says he only has the problem with the rom i make:S
How big do you have the datacache (and others in boot.rgu) set? Maybe that's a problem, if it's too big. You should run virtualmemory.exe while the app is running to see if the problem is virtual memory management.
every setting i have is found here on xda so i gues everybody should have the problem then as all of them are in hd2 general section
also the bootrgu i have changed one thing there wich is
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\FLASHDRV\FATFS]
"DataCacheSize"=dword:00001000 ;4096 sectors(4096*2048=8MB)
normally this whas at 4 mb but found it in a pdf from da_g i believe that you could set it to 8 but on the default valeu and the 8 mb valeu does the same
so i dont thing its this setting thats interferring:-o
will try that program you mentioned
anything special i need to look at there
edit: any chance you can point in the direction where to download that program as i cant seem to find it only source code:S
edit2: never mind after some more googling i found you already posted it somewhere thanks
maybe bit of a noob question but where does the program puts the snapshot:-o
i made two but i cant seem to find them stored anywhere:-o
You need to take a screen-cap; it doesn't save the snapshots for you.
Farmer Ted said:
You need to take a screen-cap; it doesn't save the snapshots for you.
Click to expand...
Click to collapse
lol
i saw snapshot so i thought it whas to make a picture
here is a foto of the phone in idle after a day of use
i first did the snapshot as im not sure what it does
can you see something strange on the picture?
So, you don't have sygic running in that one? Slot 15 is pretty porky; what process is that? You need to scroll left and right to see the processes for each slot. You may need to run vol d-pad to do that on the HD, though. Slots 9 and 10 have low-lying dll's (or some other resource). I suspect that what happens is that sygic loads a resource that is even lower, and maybe it crunches into slot 2 (filesys.exe) or the process in 15. The other possibility is that sygic creates really large heaps when it's doing big calculations (>250 km), and then the memory grows up in that slot to the level where those lower lying dll's are in slots 9 and 10. Even though those dll's (if that's what they are, and not some type of static resource) may not load into the sygic slot, the memory manager still accounts for them in all of the VM slots, so they will limit how big the heaps can grow in any process.
If I were you, I'd run sygic and do a VM snapshot. Also, get devhealth.exe (search on it), run it, and see what those dll's are in slots 9 and 10. They may be the issue. Mainly, see if their shared or static (like a .plg file in tcpmp). Of course, I could be totallly wrong about this, lol.
Farmer Ted said:
So, you don't have sygic running in that one? Slot 15 is pretty porky; what process is that? You need to scroll left and right to see the processes for each slot. You may need to run vol d-pad to do that on the HD, though. Slots 9 and 10 have low-lying dll's (or some other resource). I suspect that what happens is that sygic loads a resource that is even lower, and maybe it crunches into slot 2 (filesys.exe) or the process in 15. The other possibility is that sygic creates really large heaps when it's doing big calculations (>250 km), and then the memory grows up in that slot to the level where those lower lying dll's are in slots 9 and 10. Even though those dll's (if that's what they are, and not some type of static resource) may not load into the sygic slot, the memory manager still accounts for them in all of the VM slots, so they will limit how big the heaps can grow in any process.
If I were you, I'd run sygic and do a VM snapshot. Also, get devhealth.exe (search on it), run it, and see what those dll's are in slots 9 and 10. They may be the issue. Mainly, see if their shared or static (like a .plg file in tcpmp). Of course, I could be totallly wrong about this, lol.
Click to expand...
Click to collapse
muchias gracias for youre help farmer ted
i opend up that virtual memory again and changed to different things
then i opend sygic and took a snapshot again
as you can see its going into slot 14 and every time i took a snapshot the bar went up showing more green(green means in use?)
i just looked up that slot without sygic and it tells me its the slot of tmail.exe
dont think tmail does much in that slot or its a big thing
also on the end i have all those empty slots cant it be reasignd to a new slot so it has a full bar(see the screenshot with sygic calculating a route)
will also try the program you mentioned when i get back from doing my things today as i have some appointments
edit: see you also asked what slot 15 is when i look it up it tells me its manilla.exe and im running sense2.5 from leo 3.04 so it could be heavy
Well, that's it, then. It sounds like sygic has a massive memory leak, if the heap size keeps growing. And this just confirms what I've known since the first day I got my Fuze: Manila sucks, lol.
I'm not sure why the slot 9 and 10 dll's are loaded so low. What processes are those? Maybe something in startup is causing it, and can be fixed.
Farmer Ted said:
Well, that's it, then. It sounds like sygic has a massive memory leak, if the heap size keeps growing. And this just confirms what I've known since the first day I got my Fuze: Manila sucks, lol.
I'm not sure why the slot 9 and 10 dll's are loaded so low. What processes are those? Maybe something in startup is causing it, and can be fixed.
Click to expand...
Click to collapse
thank god inever uused sygic then as it seems a stupid deep going problem
as for manilla sucks im not sure about it
the hd is my first htc device and i think the experience is nice(better then all samsungs i had
for the slots i will write them all down maybe thats easier then asking what is this and what is that(check code box below)
further when i look at windows/startup i have three things there
htc startup, pkg, and poutlook
the htcstartup also has a speaker infront of it with a x behind the speaker(hope you get what i mean)
Code:
slot1: rom dlls
slot2: filesys.exe
slot3: cprog.exe
slot4: backportrait.exe
slot5: device.exe
slot6: gwes.exe(this is a colorfull rom so i can imagine its a little high:p)
slot7: shell32.exe
slot8: virtualmemory.exe
slot9: fexplore.exe
slot10: services.exe
slot11: connmgr.exe
slot12: repllog.exe
slot13: empty
slot14: tmail.exe(sygic will be loaded in this one)
slot15: manilla.exe
slot16: jblenddaemon.exe(have read this can turned off from startup to save a little ram what do you think about that?)
slot17: commmanager.exe
slot18: empty
slot19: empty
slot20: sapsettings
the rest are all empty
I would say remove jblenddaemon.exe; it must be a java app? If you don't use java, there's no reason to have it running. You might sapsettings.exe from startup as well, if you're not using it at all. I removed it a long time ago, but I don't use bluetooth much, and when I do, it works fine without sapsettings. I think I read that it's for connecting to you car or something for hands free.
It's weird that you have the lower lying dll's (if I'm seeing what I think I'm seeing in slots 9 and 10). They definitely seem to be the wall that driver.exe is running into. I also don't know what's up with fexplore.exe. It's using a lot of VM. Is that the extended file explorer? Last time I used it, it would eat a lot of ram if you highlight pics and it showed the previews.
Farmer Ted said:
I would say remove jblenddaemon.exe; it must be a java app? If you don't use java, there's no reason to have it running. You might sapsettings.exe from startup as well, if you're not using it at all. I removed it a long time ago, but I don't use bluetooth much, and when I do, it works fine without sapsettings. I think I read that it's for connecting to you car or something for hands free.
It's weird that you have the lower lying dll's (if I'm seeing what I think I'm seeing in slots 9 and 10). They definitely seem to be the wall that driver.exe is running into. I also don't know what's up with fexplore.exe. It's using a lot of VM. Is that the extended file explorer? Last time I used it, it would eat a lot of ram if you highlight pics and it showed the previews.
Click to expand...
Click to collapse
thanks for the quick overview
the jblenddeamon is the java app
i personally never used it but there are some people using my rom who do use it:-o
guess it will be activated when they start up jblend
im gonna build a rom with jblend and the sapsettings taken out of the bootlauncher and gonna try it again to see what happens
also the file explorer is the normal fexplorer from the 21911 sys
it looks to me the verry same as every other file explorer i have seen on other roms so no preview of pictures you think i need a different fexlorer.exe?
and if so can you recommend one
I was just wondering if you were using the extended file explorer (2.06, I think; by Houming). It's pretty cool, but I personally use total commander and almost never use file explorer, so I don't use the extended on anymore, either. I was never able to make a package with it that worked, so I just did a cab install during customization. The cab is kind of weird, and I can't say I understand how it works. It actually loads up two file explorers (should have remembered that, and known yours wasn't the extended one). I attached the cab for 2.06-I packed this one, and it's compressed and doesn't have the uninstall crap loaded into it.
Sapsettings just doesn't seem to do anything. It doesn't use much memory, but you get quicker boot times when you take stuff like that out of the queue. If anyone really needs it to run, you can just give them a shortcut. You can always just remover the registry keys from your own device after a flash.
Farmer Ted said:
I was just wondering if you were using the extended file explorer (2.06, I think; by Houming). It's pretty cool, but I personally use total commander and almost never use file explorer, so I don't use the extended on anymore, either. I was never able to make a package with it that worked, so I just did a cab install during customization. The cab is kind of weird, and I can't say I understand how it works. It actually loads up two file explorers (should have remembered that, and known yours wasn't the extended one). I attached the cab for 2.06-I packed this one, and it's compressed and doesn't have the uninstall crap loaded into it.
Sapsettings just doesn't seem to do anything. It doesn't use much memory, but you get quicker boot times when you take stuff like that out of the queue. If anyone really needs it to run, you can just give them a shortcut. You can always just remover the registry keys from your own device after a flash.
Click to expand...
Click to collapse
just a quick update as im in a hurry
need to go away to arrange some things for my house in 15 min and i still need to shower:-o
i made a rom without those two thins and damn the rom has bacome faster
also the virtualmemory looks a lot emptier:-o
will post screenshot later today when im finished arranging things
also tried sygic and it managed to calculate alot further but still missing 200 km of the route i want it to be calculated:-o
do you know the differnece between poutlook and tmail.exe?
maybe i can take one of those two out
I'm not really sure what the difference is, to be honest. I don't run either at startup. I don't text much and almost never email, but regardless, you can still do it w/o any issues. I guess maybe outlook loads quicker with one or the other running. I run 11 processes at startup:
nk.exe
filesys.exe
device.exe
gwes.exe
services.exe
shell32.exe
connmgr.exe
cprog.exe
AEBPlus.exe (AE Button)
SpeedBmonitor.exe (Speed Booster; sort of helps, doesn't use much memory)
XHook.exe (XTask task manager)
I also have a shortcut that runs at startup to expand the file dialogue and another to activate resco keyboard, but those processes only run a few seconds each.
That's just 11 processes; the first 6 are mandatory, the next 2 are needed for most things (although you can kill them for maybe a little better performance gaming or something like that-you definitely don't need cprog on an airplane), and the latter 3 are just apps that I run/use all the time. I don't miss any of the other processes, and with fewer processes going, you get faster boot times. My fuze usually boots in 60-65 seconds, which is pretty nice.
well used the rom for a day now as i flashed it yesterday evening before i went to bed
the strangest thing is jblend has activated itself:-o
wonder what triggerd it to get activated as i havent opend java:S
i only used messenegr a little today but its windows its own messenger so i dont think its java related:S
you have any idea what could have opend the jblend?
also the order of what is where has changed but i dont think that does matter as i think all slots are equal of size or have they different sizes?
i will also post a screenshot of the new virtual memory but with jblend in it and sygic gets loaded in that one when i start it up:S
im totally starting to hate this program
you think the screenshots looks better now on how everything is managed?
also i read somewhere if i format my memorycard with bigger clusters it will become faster
what do you think about that?
could this speed up route calculating as the maps or on my sd card
also i will try to remove some more from the startup and hopefully this will give me better sygic calculating things
again thansk or helping em with this probblem as i think i cant solve this alone
Code:
slot1: rom dlls
slot2: filesys.exe
slot3: backportrait.exe
slot4: virtualmemory.exe
slot5: device.exe
slot6: gwes.exe
slot7: shell32
slot8: fexplore.exe
slot9: manila.exe
slot10: services.exe
slot11: connmgr.exe
slot12: cprog.exe
slot13: poutlook.exe
slot14: tmail.exe
slot15: commmanager.exe
slot16: jblendeamon.exe
the rest are all empty
I would check the jblend package and make sure there's not a reg key that's starting it up in the .reg file. The order of processes in the slots depends on the order that the processes are booted up. You can get some processes in an early slot just because there's some transient processes initiated during bootup that only run briefly, then close, which re-opens the slot for the next process in line. If you kill cprog, then start another app, it will go into cprog's slot, so then if you restart cprog, it will be in slot 13 or something like that.
Larger cluster sizes definitely speed up an sd card; I have a 16 g card, which normally had 32 kb clusters. I lowered it once to 4 kb clusters, which freed up maybe 100 mb of memory, but scanning the card became nearly impossible. Normally, if I run scandisk (I do it daily), it takes 5 min. But it would take 40 min or so with the smaller cluster size. Also, benchmarking showed that writing to the card was a lot slower (reading too, I think).
You still seem to have some low lying dll's in slots 9 and 10, which is weird.

[Q] Task Manager: How To Change The CPU Priorities?

Eg, when using Task Manager on PC, i go to the CPU prosess tab and now im able to change the CPU priority of any program to: very high/high/medium/low/very low.
Can we do this with WM?
Rn
You can set the priority level of a thread, not of a process.
The system scheduler works quite different from desktop Windows. A thread with a priority level above normal can lock the entire system. An application must be designed very well if it want to change the priority level of one of its threads.
...
id like to 'trial and error'.
i understand the risk of locking the system = my own fault if it does.
but id still like to know your info about the system scheduler and changing the priorties please.
even if i cant get it to do what i want, ill still learn something new
Rn
ps, thanks for your reply
raving_nanza said:
but id still like to know your info about the system scheduler and changing the priorties please.
Click to expand...
Click to collapse
Here you find to both subjects a very good answer.
Just install dotfred's task manager, and set the priorities with it. If you screw up, it doesn't matter. A soft reset restores them to the stock configuration.
...
cheers dude, ill download and try it now.
Rn
update
i tried dot fred TM, but didnt like it though :/
cant i just add a .reg for each specific program that i want to have a higher cpu priority?
eg, something like this:
Dword="priority256", Value="XXX"
("XXX" = eg: "255" is normal priority)
???
Rn
raving_nanza said:
i tried dot fred TM, but didnt like it though :/
cant i just add a .reg for each specific program that i want to have a higher cpu priority?
eg, something like this:
Dword="priority256", Value="XXX"
("XXX" = eg: "255" is normal priority)
???
Rn
Click to expand...
Click to collapse
Not that I'm aware of; this stuff isn't set in the registry, except for a few thread priorities for the file system that are in the boot.rgu, and aren't user accessible. You can get a program called Speedbooster that will automatically watch for specific processes opening, and will then adjust thread priorities to however you want them. Wait, I'll save you the time and money, because it sucks. It changes all thread priorities for a given process, and most of the time makes things worse instead of better. You're better off just doing it with a task manager manually for a while, and then giving up and realizing it's a waste of time. Lol.
...
Farmer Ted said:
Wait, I'll save you the time and money, because it sucks. It changes all thread priorities for a given process, and most of the time makes things worse instead of better.
Click to expand...
Click to collapse
Yeah i already found SpeedBooster on google but its not freeware, which cant be cooked into roms
I suppose it would be cool if someone develops an app dedicated to do this = no task manager, no nonsense, no nothing, just a simple small app which lets you select a program and set its priority.. Simples!
Farmer Ted said:
and then giving up and realizing it's a waste of time. Lol.
Click to expand...
Click to collapse
Basicly i wanted to increase the priority of Total Commander and Opera10 because their the main two programs i use. (probably the main two programs everyone uses.)
I think your right though dude, ill take your advice and give up now before i do waste my time, my precious ORD time! lol
Cheers dude!
Rn
I tried increasing the priorities of PIE and UCWEB with sppedbooster, and the problem is that it slows down finger-scrolling dramatically, to the point that the browsers were unusable. You can make a sppedbooster package, but just not distribute it. I cooked it in for a while, when I was determined to convince myself I hadn't blown twenty bucks on a piece of crap.
Why do you need to speed up total commander? I use it all the time, too, and it's pretty snappy. I'd suggest limiting the number of processes and not using manila to optimize speed.
...
Farmer Ted said:
I tried increasing the priorities of PIE and UCWEB with sppedbooster, and the problem is that it slows down finger-scrolling dramatically, to the point that the browsers were unusable. You can make a sppedbooster package, but just not distribute it. I cooked it in for a while, when I was determined to convince myself I hadn't blown twenty bucks on a piece of crap. Why do you need to speed up total commander? I use it all the time, too, and it's pretty snappy. I'd suggest limiting the number of processes and not using manila to optimize speed.
Click to expand...
Click to collapse
i wanted to speed up total commander because its slow at accessing some folders eg, accessing the windows folder, there is a lag i dont like waiting for and increasing the cpu priorities for TC would reduce this lag
ive deleted the manila package, it eats up way too much storage/ram, so iv made my own skin for a today screen, which is aprox 1mb.
obviously manila is eye candy but im prepared to loose it for the increase in storage/ram.
i also didnt want manila in my rom due to the fact i dont actually like it, ok some stuff is cool eg, album and audio manager the way they rotate and the slide effect but its so gdam popular so most roms look the same, i wanted my rom to be differant. (i didnt want to be a sheep )
you gave me an idea for increasing the touch velocity of the finger scrolling, could anyone tell me whats the highest velocity were able to use?
(both up and down velocities? )
is there one for left and right?
(obviously there must be, but do you know whats it called so i can find it?)
thanks again dude!
Rn
The easiest way to speed up access to the windows folder is just to select 'hide files in rom' in the settings. Then you can get into it quickly. Looking at rom files is pretty useless most of the time, anyway. The downside is that TC then doesn't show the plugins folder in the device root. You can also set shortcuts on the hotlist to folders you might want to access, like startup or the start menu. Finally, you can just limit the number of rom files during cooking to speed things up; the fewer the better, obviously.
...
Farmer Ted said:
The easiest way to speed up access to the windows folder is just to select 'hide files in rom' in the settings. Then you can get into it quickly. Looking at rom files is pretty useless most of the time, anyway.
The downside is that TC then doesn't show the plugins folder in the device root. You can also set shortcuts on the hotlist to folders you might want to access, like startup or the start menu. Finally, you can just limit the number of rom files during cooking to speed things up; the fewer the better, obviously.
Click to expand...
Click to collapse
id rather have everything viewable in the rom rather than to hide files, useless or not. im sure everyone else would probably do the same, that way you can see exactly what you have got.
i also like to have hidden files always viewable on my pc too. eg, in my kitchen nothing is hidden, ive went through every folder and almost every file has had its hidden properties removed, including the files that dont un-hide when using the hidden files toggle on pc, which was weird
the plugin folder is one of the main functions i use TC for as i dont use regedit.exe or any other registry viewer other than TC. so i wouldnt want to be dissabling that function, if i dissable it i may as well add fexplore.exe back into the rom and use that instead
yeah, thats one of the good things about TC = the ability to create shortcuts with the >>>, however i always make them myself with a good old .txt file with the link wrote inside
agreed, the less files the better, obviously lol
at the moment my rom for blackstone is 103mb ... storage is aprox (18 - 20mb) ... ram is aprox (40 - 50mb) in use after the initial first boot and customisation.
ill search my kitchen for the finger velocity up/down scroll tonight.
if i can improve the scroll ill be nbecause the scroll is really crap!
Rn
btw:
if anyone wants to Alpha test my rom then private message me because i wont be uploading it for public use untill its Beta.
im just finishing the today screen skin but ill start letting people Alpha test it after that.
(basicly to find bugs, recomendations bla bla bla.)
I totally forgot this, but the process manager in sk tools has an option to create shortcuts with a command line that will change priorities. You could create one for total commander, and then use a mortscript that would launch TC, maybe wait a few seconds, then run the shortcut to bump up the priority.

Categories

Resources