Go Back   xda-developers > HTC Blue Angel: MDA III, XDA III, PDA2k, 9090 > MDA III, XDA III, PDA2k, 9090 Software Upgrading


Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 11th September 2006, 01:15 AM
mamaich mamaich is offline
Senior Member
 
Join Date: Apr 2004
Posts: 939
Default The reason of BA WM5 slowdown

Microsoft has a diagnostic tool DevHealth.exe (sorry, I cannot publish it).
Here is the output on BA:
Code:
<Perf Gates>
<Gate Name=Memory>73351168</Gate>
<Gate Name=Storage>53208064</Gate>
</Perf Gates>


Bootup Time Markers (Milliseconds):

Calupd: Exiting = 54682
Initialized appt ssupdate = 54667
Initialized msgcount ssupdate = 54340
SSUpdate: Thread now in message loop = 54209
Calupd: Starting = 53221
SSUpdate: Shell Ready = 53089



System Memory Report
====================


 Page Size:   4096


                                     |    Pages |     Size (bytes) |    Size (MB) |                 Address
 Total Storage (Flash)               |    15436 |         63228928 |        60.30 |                     n/a
   Available Storage                 |    12990 |         53208064 |        50.74 |                     n/a
   Used Storage                      |     2446 |         10020864 |         9.56 |                     n/a


 Physical RAM (sources breakdown)    |    24080 |         98631680 |        94.06 |                     n/a
   Main Memory                       |    24080 |         98631680 |        94.06 | 0x901f0000 - 0x95ffffff

 Physical RAM (consumers breakdown)  |    24080 |         98631680 |        94.06 |                     n/a
   Kernel Prealloc.                  |      139 |           569344 |         0.54 | 0x901f0000 - 0x9027afff
   Paging Pool                       |      514 |          2105344 |         2.01 | 0x9027b000 - 0x9047cfff
   Kernel RAM Map                    |        1 |             4096 |         0.00 | 0x9047d000 - 0x9047dfff
   Watson Size                       |       75 |           307200 |         0.29 | 0x95fb5000 - 0x95ffffff
   Overhead                          |        6 |            24576 |         0.02 |                     n/a
   Object Store                      |        8 |            32768 |         0.03 |                     n/a
   Program Memory                    |    23337 |         95588352 |        91.16 |                     n/a
     AVAILABLE PROGRAM MEMORY        |    17860 |         73154560 |        69.77 |                     n/a
     USED PROGRAM MEMORY             |     5477 |         22433792 |        21.39 |                     n/a
       Kernel Objects                |      406 |          1662976 |         1.59 |                     n/a
       Misc                          |      138 |           565248 |         0.54 |                     n/a
       Programs                      |     4933 |         20205568 |        19.27 |                     n/a
            (S) Stack                |      405 |          1658880 |         1.58 |                     n/a
            (H) Heap                 |     2149 |          8802304 |         8.39 |                     n/a
            (E) EXE Data             |      109 |           446464 |         0.43 |                     n/a
            (D) DLL Data             |      699 |          2863104 |         2.73 |                     n/a
            (c) Code RAM             |      631 |          2584576 |         2.46 |                     n/a
              Process                |      208 |           851968 |         0.81 |                     n/a
              Module                 |      423 |          1732608 |         1.65 |                     n/a
            (r) Read only RAM        |      153 |           626688 |         0.60 |                     n/a
              Process                |       60 |           245760 |         0.23 |                     n/a
              Module                 |       47 |           192512 |         0.18 |                     n/a
              Map/Shared             |       46 |           188416 |         0.18 |                     n/a
            (W) Read/Write RAM       |      787 |          3223552 |         3.07 |                     n/a
              Process                |      429 |          1757184 |         1.68 |                     n/a
              Module                 |        0 |                0 |         0.00 |                     n/a
              Map/Shared             |      358 |          1466368 |         1.40 |                     n/a
Look at the "Paging Pool" line, it is only 2.01 Mb. On HTC Universal it is 4.8 Mb, on one of the DELLs it is 8 mb.
The large the paging pool is, the more code pages can present in RAM simultaneously -> the less loads from slow ROM -> the faster the device is.
BA has 128 Mb RAM, so we can increase it safely to 8Mb (larger value would not give noticeable improvements).
One note - I don't know the addresses to patch in ROM, so someone should find how to increase pool size.
__________________
HTC Universal
128 Mb RAM
WM 6.1 build 19xxx
Reply With Quote
Sponsored Links

  #2  
Old 11th September 2006, 07:41 AM
helmi_c helmi_c is offline
Senior Member
 
Join Date: Apr 2005
Posts: 605
Default

The true GURU is back!
its really Nice to see u again mamaich!... hopes u can help us here in BA...
Reply With Quote

  #3  
Old 11th September 2006, 09:41 AM
MasterMerlin's Avatar
MasterMerlin MasterMerlin is offline
Senior Member
 
Join Date: Jun 2005
Posts: 101
Default

Another step forward .. thanks to all of you guys.
__________________
Old:
BlueAngel,
Prophet, ElfIn, Diamond, Raphael

Current:
Rhodium
ROM: EnergyROM "Leo" Standard (Feb 06) 23529
SPL: 0.85.OliNex
Radio: 4.49.25.88



Reply With Quote

  #4  
Old 11th September 2006, 10:32 AM
HDuser HDuser is offline
Moderator
 
Join Date: Jan 2005
Location: Zürich, Switzerland
Posts: 2,475
Default

mamaich

Were you able to get your hands on nkDebugX (available as a powertoy)?
__________________
Formaly know as MDAIIIUser (but got a new toy)
HTC Touch HD 1.56.405.1 (43972) / 1.14.25.24 + BS_Rilphone_1_14_25_24.cab

Want to know what I know about the Blackstone then Read Wiki like I did.
http://wiki.xda-developers.com/index...HTC_Blackstone
Reply With Quote

  #5  
Old 11th September 2006, 04:07 PM
a771la's Avatar
a771la a771la is offline
Senior Member
 
Join Date: Jul 2005
Posts: 155
Default

ok

how to increase pool size ? :evil: :twisted:
Reply With Quote

  #6  
Old 12th September 2006, 02:57 AM
mamaich mamaich is offline
Senior Member
 
Join Date: Apr 2004
Posts: 939
Default

Quote:
Originally Posted by MDAIIIUser
Were you able to get your hands on nkDebugX (available as a powertoy)?
I never heard about this tool.
Regarding paging pool size:
Code:
0000437056: 28 A0 1F 80 FF FF FF FF │ FF FF FF FF 9B 4F FF FF  (аА        ЫO  
0000437066: 64 B0 00 00 64 00 00 00 │ 08 DF 1F 80 00 00 20 00  d░  d   ▀А
0000437076: 00 00 00 00 C4 6B 1D 80 │ 50 C0 1D 80 9C F0 1C 80    ─kАP└АЬЁА
At address 0437072 of NK.NBA you see 00 00 20 00. Try to increase the value to 00 00 80 00 (it would increase pool to 8 mb). If this works - you'll see the noticeable speedup during boot process, and the RAM amount displayed in "memory" CPL applet would decrease by 6 Mb.
You may play with higher/lower values, 8 Mb should be enough in most cases. But BA has lots of RAM, so you may try 16Mb.
But the device may fail to boot. In this case connect KITL and tell me the error message, it is possible that some other addresses should be also changed (or maybe I've found an invalid address, I was looking in Universal's ROM).
__________________
HTC Universal
128 Mb RAM
WM 6.1 build 19xxx
Reply With Quote

  #7  
Old 12th September 2006, 05:15 AM
vivi's Avatar
vivi vivi is offline
Senior Member
 
Join Date: Sep 2005
Posts: 557
Default

I edited nk.nba as you advised and flashed my BA with edited Helmi 1.3.1 ROM.
Super fast!!!!!
It works!!!!!!

Thanks GURU mamaich!!!!
Reply With Quote

  #8  
Old 12th September 2006, 05:22 AM
vivi's Avatar
vivi vivi is offline
Senior Member
 
Join Date: Sep 2005
Posts: 557
Default

And RAM is reduced 6 MB as you mentioned.
From 91.16 to 85.14 MB.
Image attached
Attached Images
File Type: png screenshot1_141.png (17.5 KB, 722 views)
Reply With Quote

  #9  
Old 12th September 2006, 05:39 AM
helmi_c helmi_c is offline
Senior Member
 
Join Date: Apr 2005
Posts: 605
Default

Quote:
Originally Posted by mamaich
Quote:
Originally Posted by MDAIIIUser
Were you able to get your hands on nkDebugX (available as a powertoy)?
I never heard about this tool.
Regarding paging pool size:
Code:
0000437056: 28 A0 1F 80 FF FF FF FF │ FF FF FF FF 9B 4F FF FF  (аА        ЫO  
0000437066: 64 B0 00 00 64 00 00 00 │ 08 DF 1F 80 00 00 20 00  d░  d   ▀А
0000437076: 00 00 00 00 C4 6B 1D 80 │ 50 C0 1D 80 9C F0 1C 80    ─kАP└АЬЁА
At address 0437072 of NK.NBA you see 00 00 20 00. Try to increase the value to 00 00 80 00 (it would increase pool to 8 mb). If this works - you'll see the noticeable speedup during boot process, and the RAM amount displayed in "memory" CPL applet would decrease by 6 Mb.
You may play with higher/lower values, 8 Mb should be enough in most cases. But BA has lots of RAM, so you may try 16Mb.
But the device may fail to boot. In this case connect KITL and tell me the error message, it is possible that some other addresses should be also changed (or maybe I've found an invalid address, I was looking in Universal's ROM).
Mamaich... U're still the best in everything!!! its work like a charm...thanks Mamaich..

In my rom, its make faster just like wm2003... :wink:
Reply With Quote

  #10  
Old 12th September 2006, 05:46 AM
vivi's Avatar
vivi vivi is offline
Senior Member
 
Join Date: Sep 2005
Posts: 557
Default

Quote:
Originally Posted by helmi_c
Mamaich... U're still the best in everything!!! its work like a charm...thanks Mamaich..

In my rom, its make faster just like wm2003... :wink:
Hey Helmi
I agree with you.
Mamaich is GURU.
And you too.
Thanks all.
Hope you will release a new ROM with this patch soon.
:wink:
Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

Forum Jump


All times are GMT +1. The time now is 11:46 PM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.