Slashdot Mirror


iTunes: Still Slowing Down Windows PCs After All These Years

colinneagle sends this quote from an article at NetworkWorld: "I run a very nifty desktop utility called Rainmeter on my PC that I heartily recommend to anyone who wants to keep an eye on their system. One of its main features is it has skins that can monitor your system activity. Thanks to my numerous meters, I see all CPU, disk, memory and network activity in real time. the C: drive meter. It is a circle split down the middle, with the right half lighting up to indicate a read and the left half lighting up for write activity. The C: drive was flashing a fair amount of activity considering I had nothing loaded save Outlook and Word, plus a few background apps. At the time, I didn't have a Rainmeter skin that lists the top processes by CPU and memory. So instead, I went into the Task Manager, and under Performance selected the Resource Monitor. Under the Processes tab, the culprit showed its face immediately: AppleMobileDeviceService.exe. It was consuming a ridiculous amount of threads and CPU cycles. The only way to turn it off is to go into Windows Services and turn off the service. There's just one problem. I use an iPhone. I can't disable it. But doing so for a little while dropped the CPU meters to nothing. So I now have more motivation to migrate to a new phone beyond just having one with a larger screen. This problem has been known for years. AppleMobileDeviceService.exe has been in iTunes since version 7.3. People complained on the Apple boards more than two years ago that it was consuming up to 50% of CPU cycles, and thus far it's as bad as it always has been. Mind you, Mac users aren't complaining. Just Windows users."

4 of 519 comments (clear)

  1. why does your phone need software running on your by Mr.+Slippery · · Score: 5, Interesting

    There's just one problem. I use an iPhone. I can't disable it.

    Sorry, can someone explain to a Linux/Android guy how having an iPhone implies you can't kill misbehaving software on your Windows box?

    --
    Tom Swiss | the infamous tms | my blog
    You cannot wash away blood with blood
  2. Re:why does your phone need software running on yo by Ghaoth · · Score: 5, Interesting

    I have an iPod, not an iPhone. However, the AppleMobileDeviceService.exe process is running in the background. I have never seen it gobble up cycles. It normally sits at "00" CPU. When I plug in the iPod, it jumps to an incredible "01" for a very short interval and then returns to "00". So, does anyone else have this process gobbles up to 50% of the CPU?

    --
    Nos Morituri te salutamus
  3. Re:why does your phone need software running on yo by tlhIngan · · Score: 5, Interesting

    I have an iPod, not an iPhone. However, the AppleMobileDeviceService.exe process is running in the background. I have never seen it gobble up cycles. It normally sits at "00" CPU. When I plug in the iPod, it jumps to an incredible "01" for a very short interval and then returns to "00". So, does anyone else have this process gobbles up to 50% of the CPU?

    I looked at my computer, and while it's had an uptime of probably since April's patch tuesday, that service has consumed a grand total of... 1m53s of CPU time.

    He never mentions what version of iTunes he's using - perhaps it's still 10.x, which is horrible. iTunes 11 has actually fixed a LOT of stuff and is actually pretty decent and more importantly, fast. It's incredible how fast iTunes is nowadays. I'm not sure what Apple did, but damn it's fixed a lot of stutters, halts, and stalls.

  4. Your APIs are insufficient to OUR problems by tlambert · · Score: 5, Interesting

    (3) The Windows APIs for device arrival notification suck and require polling rather than blocking a thread to wait

    Thanks so much for sharing your knowledge. I'll call up our software engineers immediately and let them know that processing a DBT_DEVICEARRIVAL message in the message pump, or using RegisterDeviceNotification() in our service, can't possibly work and we should re-write those sections of code to poll for device change.

    I have mod points, but there's no "-1 - ignorant" mod.

    You do that.

    Tell them to make a version of DBT_DEVICEARRIVAL that doesn't require you to have a window handle to get the callback to the message pump so that you don't have to poll using PeekMessage(). The notifications need to be able to go to windowless services. If they can't go to windowless services running and paused in the background, they are no good for causing the launching of a specific program when a device of a specific type arrives.

    Then tell them that RegisterDeviceNotification() is useless for detecting new iPod/iPhone/iPad devices because it require matching a GUID that has not been defined at the time that the service was written, and that having to update the service by having to update iTunes each time you buy a new device before the plugged in device is recognized as launching iTunes because you don't get a broadcast notification in that case, which you can then use to open up the device temporarily to probe it further ("Hi, USB device, are you an Apple Device?") rather than using a stinking GUID.

    Then call up the IronKey and other encrypted USB storage device folks and tell them about it, too, because, hey, they have to do a crypto handshake and need to be able to aske the same question AFTER the handshake.

    Then you can call up Motorola, and tell them so they can update their PhoneTools Software, because they have the same problem.

    Then call the DataPilot folks, who have no idea in heck what the phone GUID would be when you plug in your stupid random phone, particularly if you are using their DataPilot Universal PRO Kit, which connect up to almost all the phones from Apple, Motorola, LG, Samsung, Sanyo,
    Sony Ericsson, and Audiovox.

    I have more concrete examples, but I think you get the point.

    This is a general problem. The current Microsoft APIs do not solve this general problem; they require either an open application window, or they require a service which polls. They are insufficient. If you can indeed call up your engineers, do so. Tell them the problem space their APIs are not solving, and request they fix the existing APIs or add new ones to address the problem.