Notices

Tips and Tricks Share tips that can save others time and frustration here !

Reply
 
LinkBack Thread Tools
Old 10-11-05, 01:40 PM   #1 (permalink)
Contributing Reviewer
 
Join Date: Jan 2005
Posts: 4,582
Thanked 1 Time in 1 Post
TIP: Solutions for ActiveSync significantly slowing down Windows

At BrightHand, PPCT and microsoft.public.pocketpc.activesync, people (including me) have been posting reports of ActiveSync (AS) significantly slowing down the desktop Windows.

ActiveSync, which is always running, has significant CPU usage even if it doesn't do anything. (If it does, for example, actively synchronizing stuff or, when the PDA actively accesses the Internet through the AS Internet sharing, the CPU usage significantly increases. The same happens if files are transferred through AS. This is perfectly acceptable, unlike the high CPU usage when AS doesn't do anything.)

Some quantitive results of CPU usage to illustrate the point:

P4 2 GHz: 9%
Athlon 1.8 GHz: about 7-8%
P4 3.2 GHz, WinXP Pro SP2: about 0.5%
PIII 450 MHz, AS 3.8 and 4.0, WinXP Pro SP1 and SP2 (measured on two PC's): about 8-9% with both configurations
2.4GHz PIV/Win2k Pro: between 0 and 1%

This means that, in the worst case, AS can waste as much as 9-10% of your CPU cycles – your desktop computer will become significantly slower if AS is running in the background, even when it doesn't do anything.

Incidentally, as can clearly be seen, it can't be plainly stated 'high-end desktop computers won't have slowdown problems because of AS' – the situation is far more complicated. See for example the case of the 2GHz P4, which still suffers from 9% AS CPU usage. Therefore, if you own a very fast computer, you still may want to check out how much CPU cycles are wasted by AS.

How can you find out how much CPU AS on your Windows computer wastes?

It's pretty easy: on most Windows versions (screenshot shown on XP), just press Ctrl-Alt-Del once (pressing it twice may result in prompt rebooting on older Windows systems like Win98!), switch to the Processes tab, make sure the processes are sorted by their name (so that you can easily find wcescomm.exe ) by clicking Image Name just over at the list. Now, scroll down to wcescomm.exe :



Scrutinize the number shown in the CPU column for at least 10-15 seconds. If the (rough) average of the values shown is significantly more than 0 (say, around 6-10%), then, you should read on; otherwise (if it's around 0%), you may want to choose not to bother.

What can be done to stop this?

There're several methods of combatting this problem.

Please note that, contrary to what some people say, switching AS to manual synchronization (Options/Schedule/Desktop Schedule switched to Manually) won't help – wasted CPU cycles will remain. You can't switch off your PDA either while it's connected to your Windows desktop – it'll wake up after five minutes (even if you switch to manual scynchronization).

Therefore, you have the following choices to reduce the CPU load to 0%:

The worst choices

- remove the PDA from the cradle (absolutely the worst you can do)
- unplug the USB cable from your desktop computer when it's not needed (slightly better choice, especially if the plug is easily reachable)

A better choice

In the above-shown Task Manager, click the End Process button while wcescomm.exe is highlighted and click Yes. This will make sure the process is killed. Then, when you want to restart AS (to, say, make a resynchronization or an application install), just go to Start Menu/Programs and just click Microsoft ActiveSync to restart it.

The best choices

These are all free applications that stop and/or (re)start AS.

KillSync: this stopped both AS 4.0 and 3.8 in my tests without problems. It isn't able to restart AS, however; to avoid doing that, you may want to use Resync. That is, you'll need to execute KillSync to stop and Resync to start the AS connection.

I've also tested ActiveSync Toggle (tested version: V1.0.2.1).

It had problems with AS 4.0: it was never been able to close AS 4.0. First, even when I swicthed my PDA off, it reported it being still switched on. Of course, deactivating the by default enabled "Don't disable if PDA is connected" helped this. After deactivating this checkbox, it was able to shut down wcescomm.exe of AS 4.0; however, after this, it still reported and the main window still didn't allow for restarting the application. That is, it can only be used to kill wcescomm.exe ; you'll still need to restart AS in the Start menu.

With AS 3.8, it wasn't able to kill the process with disabled "Don't disable if PDA is connected"; with leaving it in its default enabled state and switching off the PDA manually, it worked just OK, in both directions. That is, with AS 3.8 (and previous versions), you may want to use it.
__________________
MS MVP- Mobile Devices.
Menneisyys is offline   Reply With Quote
Sponsor Ads
Old 10-12-05, 07:12 AM   #2 (permalink)
Aximsite Rookie
 
Join Date: Sep 2005
Posts: 28
Thanked 0 Times in 0 Posts
Hey Menneisyys, thanks for yet another tip but I'm afraid to report that this does not work on my machine.

Used KillSync and while it did shut down ActiveSync temporarily, I see the icon reappear in my systray after varying amounts of time; less than 10 minutes in the last instance. My Axim was not in the cradle either while this was happening so it's not like that's restarting it.

I'm using XP Pro SP1a and ActiveSync 3.8
Jumbie is offline   Reply With Quote
Old 10-12-05, 10:31 AM   #3 (permalink)
Aximsite Veteran
 
FlyACL's Avatar
 
Join Date: Jan 2005
Location: Cincinnati
Posts: 2,207
Thanked 0 Times in 0 Posts
This is something that has bugged me from day one about AS. Mine shows 8736K with the Axim ON and 1996K by just turning the Axim off. Sucks either way really. The point to the cradle is to sync (all the time for me). But you are right, it is a huge waste.

As for your comment here ~
Quote:
You can't switch off your PDA either while it's connected to your Windows desktop – it'll wake up after five minutes (even if you switch to manual scynchronization).
Maybe I don't understand, but if I turn off my Axim in the cradle it stays off. (excluding the midnight run for alarms,etc)

Thanks for the always informative post~
__________________
Adam

Want to watch movies on your Axim for FREE?
Use this ~
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
~and this~
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

and watch them using this ~
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
:approve:
Other usefull links ~ Tutorials
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
and
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
~
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
~
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Is your profile up to date?
FlyACL is offline   Reply With Quote
Old 10-13-05, 09:04 PM   #4 (permalink)
Aximsite Rookie
 
Join Date: Sep 2005
Posts: 28
Thanked 0 Times in 0 Posts
Anyone had any luck doing this?

ActiveSync just restarts for me after a while using either Kill Sync or AS Toggle.
Jumbie is offline   Reply With Quote
Old 10-20-05, 12:47 AM   #5 (permalink)
segadc
Guest
 
Posts: n/a
Both KillSync and ReSync Work with Active Sync 3.7. :) Thanks for the info!
  Reply With Quote
Old 11-05-05, 03:57 AM   #6 (permalink)
Contributing Reviewer
 
Join Date: Jan 2005
Posts: 4,582
Thanked 1 Time in 1 Post
Posted a major update to this tutorial here, in my PPCMag Expert blog.
__________________
MS MVP- Mobile Devices.
Menneisyys is offline   Reply With Quote
Old 11-06-05, 07:03 PM   #7 (permalink)
Aximsite Elite
 
Rishad's Avatar
 
Join Date: Aug 2005
Location: Vancouver, BC
Posts: 3,677
Device: iPhone 2G (OS 3.1)
Carrier: City Fido
Thanked 1 Time in 1 Post

Awards Showcase
Aximsite Active Bronze Member Admin Medal Aximsite Contest Winner Top Notch MyPDA Red Cross 
Total Awards: 5

on my computer, when not connected, it does take some memory (1952k) but the CPU is always at 00.

Also, is there any way I can check the CPU cycles taken by instances on my PPC?
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

.
.
.
.
.


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.




To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Last edited by Rishad; 11-06-05 at 08:04 PM.
Rishad is offline   Reply With Quote
Old 11-07-05, 07:15 AM   #8 (permalink)
Contributing Reviewer
 
Join Date: Jan 2005
Posts: 4,582
Thanked 1 Time in 1 Post
Originally Posted by akheron
on my computer, when not connected, it does take some memory (1952k) but the CPU is always at 00.
It only consumes CPU cycles on the desktop when the PDA is connected.
__________________
MS MVP- Mobile Devices.
Menneisyys is offline   Reply With Quote
Old 11-07-05, 07:39 AM   #9 (permalink)
Aximsite Elite
 
Rishad's Avatar
 
Join Date: Aug 2005
Location: Vancouver, BC
Posts: 3,677
Device: iPhone 2G (OS 3.1)
Carrier: City Fido
Thanked 1 Time in 1 Post

Awards Showcase
Aximsite Active Bronze Member Admin Medal Aximsite Contest Winner Top Notch MyPDA Red Cross 
Total Awards: 5

hmm.. I don't think I'll be killing the process just to get back 1.9MB of RAM.

so.. like the desktop processes,
Originally Posted by akheron
is there any way I can check the CPU cycles taken by instances on my PPC?
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

.
.
.
.
.


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.




To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Rishad is offline   Reply With Quote
Reply

Tags
activesync, significantly, slowing, solutions, tip, windows

Sponsor Ads

Thread Tools

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
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 12:40 AM.
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0
Copyright © 2003-10 LeckMedia, LLC