Lock Convoys and How to Recognize Them

The problem: When using a particular application on one specific device, users noticed very bad UI response for a period of a few seconds.  After those seconds, UI responsiveness went back to normal.   The investigation: I used ActiveSync to drop celog.dll and oscapture.exe onto a standalone device.  I could have hooked the device up…

2

Windows CE eHow-tos and Tutorials! WOW!!

I saw a blip of this at MEDC, and just checked it out myself.  How cool!  It’s like a DevCon for all to share! http://msdn.microsoft.com/embedded/getstart/basics/tutorialsce/default.aspx Most of it is pretty basic stuff, but if you’re new to Windows CE, you should check some of these out!  (If you are new to performance tools like Remote Kernel Tracker which…

0

Recognizing Excessive Thread Switching

Sometimes the source of a performance problem is not that code is too slow, but that threads switch too frequently. When the system switches between threads, the system consumes extra cycles in scheduling activities such as selecting the next thread to run, or switching to the new thread, rather than spending the time executing application…

1

Remote Kernel Tracker: More things you should recognize

I have a few more examples of patterns you can recognize when you’re looking at CeLog threading data in Remote Kernel Tracker.  Note: these images are wacky heights because I tweaked them to cut off white space that didn’t contain any CeLog data. Thread Migration I realized that in my previous Kernel Tracker post I…

1

Introduction to Remote Kernel Tracker

When you connect to a device with Remote Kernel Tracker, or when you open a log file that has been collected by one of the other CeLog tools, you’ll see a lot of data you may not understand.  At MEDC this past week, a few people asked for a better explanation of what they’re seeing. …

9

CeLog documentation

At long last, a big chunk of work I did to add documentation of CeLog & Remote Kernel Tracker has finally shown up in a form you can view. http://msdn.microsoft.com/library/en-us/wcedebug5/html/wce50conEventTracking.asp I did a huge brain dump and tried to get all of my tips & tricks down on paper.  There are descriptions of how to…

0

What WINDOWS CE debugging tools would you like to see?

Just an informal survey — I use some of our tools all the time, some rarely.  I have my own nitpicks I’d like fixed and features I’d like to see added.  But there’s no guarantee I see the world the way you do.  What are your opinions? Here are some ideas of my own, to…

7

Thread Lab materials are posted for EDC participants

They’ve finally posted my thread lab handouts and code up on www.edccontent.com.  So if you went to DevCon and need that material, you can get it now.  The handout contains everything I talked about in my hands-off lab, but also has some details I didn’t, mostly samples of other threads (explorer.exe, cmd.exe) interfering with program…

1

I survived!

Hooray, I survived DevCon!  The kernel talk and perf talk were ready to go by Monday, and after many short nights last week and this week, my lab was ready “enough” by Wednesday morning.  The handouts are missing some screenshots and a lot of polish.  The program I demo’d with was not quite as complete…

1

Another DevCon talk

Looks like I’ll also be giving  the “Inside the Windows CE Kernel” talk at DevCon.  It means a little bit of studying for me but it shouldn’t be a disaster.  It’s a lot of content for an hour though. I think my Hands-On Lab with CeLog/Kernel Tracker was turned into a Hands-Off Lab.  Which is…

0