Re: Best strategy to solve performance issues ??

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



The app runned about 5minutes - as I said before...I have no experience with
the remote performance monitor and I need help to find the performance issue
problems to can correct them (if possible).

I spent a lot of time for writing my launcher and now I have this
performance problems on "some" devices...can not really explain what the
problem is (maybe the performance from drawing through opennetcf??)

thx

"Chris Tacke, MVP" wrote:

How long did this run? 6000 GCs with 4000 compactions is a *lot* if it's
over a short perios of time, and indicates some serious allocation
architecture problems in your app. GC latency is a quarter seconds, so
that's something like what 25 minutes spent in GC?


--

Chris Tacke, Embedded MVP
OpenNETCF Consulting
Giving back to the embedded community
http://community.OpenNETCF.com


"juvi" <juvi@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:BE7E4763-B44D-4008-B2A8-18B7BEDFD159@xxxxxxxxxxxxxxxx
hello,

thank you for your reply....I tried performance monitor and sended the
results to perfmon to see the result visually - not sure where to start,
because there are many values on 100%...here is the list of the AVG
values:

CPU - time (&): 25%
Peak Bytes Allocated (native+managed): 1.875.528
Managed Objects Allocated: 48.913,100
Managed Bytes Allocated: 1.818.000 (rising!)
Managed String Objects Allocated: 23.933,000 (rising!)
Bytes of String Objects Allocated: 863.836,000 (rising!)
Garbage Collections (GC): 6,000
Bytes Collected By GC: 4.370.840
Managed Bytes In Use After GC: 279.680,00
Total Bytes In Use After GC: 2.025.040
GC Compactions: 4,000
Code Pitchings: 1,000
Calls to GC.Collect: 0,000
GC Latency Time (ms): 252,000
Pinned Objects: 35,000
Objects Moved by Compactor: 25.921,000
Objects Not Moved by Compactor: 4.236,000
Objects Finalized: 10.604,000
Boxed Value Types: 19.968,000

Maybe you can tell me more about these values.

thx

"Simon Hart [MVP]" wrote:

Try using the remote performance monitor.
--
Simon Hart
Visual Developer - Device Application Development MVP
http://www.simonrhart.com

"juvi" <juvi@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:A0788D03-4BD8-43CD-9AF3-D6B3194BB705@xxxxxxxxxxxxxxxx
hello,

I have got a launcher written in .net cf 2.0 / 3.5 C#. It loads about
50
images to cache (optmized for VGA resolution) and works with it (draws
transparent images with opennetcf)

This works with good speed and no lags on ACER N311 with 400 MHz
Samsung
cpu.
(no phone functionality).

Works with little lags on E-TEN Glofiish X800 (with phone
functionality)

Works perfectly on HTC Touch Diamond.

But is unusable on some HTC devices like TyTn II ... lags of about
20secs!!

Is there a good strategy to find&solve the performance issue??

Thanks for any help,

juvi



.