Categories: Misc / DotNet / Java / Coder / Linux / PHP Ask - La ask - La Answer

iTunes CPU use

iTunes is using about 90% CPU time for me, even when not playing back a song. This is kinda annoying because it makes my CPU fan spin up at full power all the time. Anyone else experience this problem?
[202 byte] By [SegaVegas] at [2007-11-9 14:41:44]
# 1 Re: iTunes CPU use
i forgot to mention that i have a 2.6 GHz CPU and other mp3 players use way less resources
SegaVegas at 2007-11-15 16:47:32 >
# 2 Re: iTunes CPU use
Happened to me as well.
SouthsideIrish at 2007-11-15 16:48:32 >
# 3 Re: iTunes CPU use
I fiddled with the options and now its down to about 2%. I deactivated some stuff and CPU use went down when i deactivated 'Show iTunes icon in System tray'. CPU use stays that low even if I activate that option again so I'm a little confused.
SegaVegas at 2007-11-15 16:49:41 >
# 4 Re: iTunes CPU use
CPU usage is fine for me
When it is playing a song it is between 1-5%
When clicking to the next song it goes up to between 25-40%, but comes back down immediately.
jkads3 at 2007-11-15 16:50:39 >
# 5 Re: iTunes CPU use
When it's playing a song for me it's around 10-12%.
Which isn't great :(
Kee-Lo at 2007-11-15 16:51:38 >
# 6 Re: iTunes CPU use
When it is ripping a cd it is up in the 90's which is horrible.
jkads3 at 2007-11-15 16:52:37 >
# 7 Re: iTunes CPU use
REASON FOR CPU HIGH USE:

It is only a first-time thing. iTUnes has a thing called "sound check", which evens out the volume of all of your tracks. This is highly resource-intensive. It only does it once per song, so when it is done, the CPU use should go down.
thenightfly42 at 2007-11-15 16:53:41 >
# 8 Re: iTunes CPU use
nightfly is right on this.

The first time software comes out it can be a bit hairy. CPU intensive and all that. I'm sure there will be several updates.
ToddW at 2007-11-15 16:54:44 >
# 9 Re: iTunes CPU use
The worst culprit on my PCs is simply resizing the iTunes window. I set Task Manager to Always On Top and dragged the corner handle around for ten seconds or so - iTunes' CPU usage stayed >90 the whole time! Horribly inefficient.

Otherwise, this looks great! I'm going back to have another play with it.
Sam Williams at 2007-11-15 16:55:41 >
# 10 Re: iTunes CPU use
Originally posted by ToddW
nightfly is right on this.

The first time software comes out it can be a bit hairy. CPU intensive and all that. I'm sure there will be several updates. No no, when he says it's a one-time thing, he means once when you first import your library into iTunes, not first version of the software. If you have "Soundcheck" turned on in the prefs, it has to analyze all your songs as you import them, which takes a lot of resources, but when it's done, it's done. Just for reference it uses between 5% and 15% for playback on my 800 MHz Mac, but never more than that, and pretty much 0% when idle.
HiRez at 2007-11-15 16:56:43 >
# 11 Re: iTunes CPU use
In addition, the application's memory usage is a little on the heavy side...
jogloran at 2007-11-15 16:57:41 >
# 12 Re: iTunes CPU use
Originally posted by HiRez
No no, when he says it's a one-time thing, he means once when you first import your library into iTunes, not first version of the software. If you have "Soundcheck" turned on in the prefs, it has to analyze all your songs as you import them, which takes a lot of resources, but when it's done, it's done. Just for reference it uses between 5% and 15% for playback on my 800 MHz Mac, but never more than that, and pretty much 0% when idle.

Does soundcheck alter the music file itself or just normalize it when it plays in iTunes or is synced to the 'Pod?
SpideyPod at 2007-11-15 16:58:50 >
# 13 Re: iTunes CPU use
Originally posted by SpideyPod
Does soundcheck alter the music file itself or just normalize it when it plays in iTunes or is synced to the 'Pod? No, the music is not altered on the disk, the volume is adjusted during playback, like the EQ.
HiRez at 2007-11-15 16:59:44 >
# 14 Re: iTunes CPU use
Originally posted by HiRez
No, the music is not altered on the disk, the volume is adjusted during playback, like the EQ.

Cool, thats what I thought.

Thanks
SpideyPod at 2007-11-15 17:00:50 >
# 15 Re: iTunes CPU use
Help! Is this normal? iTunes uses about 85-95% of my CPU during import, which is enough to knock off my dial up internet connection.

I tried turning off the system tray icon and sound check in preferences, but it doesn't make any difference.

CPU use during playback is about is 2-4% and 0% while just idling.

Has anyone else noticed this? Is there a solution?

System: AMD 1400+, 256 mB DDR, 52x CD-RW, ATA-100 HD.
tcihil at 2007-11-15 17:01:43 >
# 16 Re: iTunes CPU use
Sure, it will generally use all available CPU cycles it can while it's encoding, as it should. But, that shouldn't have anything to do with your dialup connection getting dropped. If it does, you should look at perhaps your modem drivers...or something. iTunes or any other app should be able to ask for 100% of the available cycles and not kill anything else. The OS should dole out as many CPU cycles as requested by any apps that ask, if it decides it can spare them. Having your CPU use near 100% usage is a good thing generally.
HiRez at 2007-11-15 17:02:47 >
# 17 Re: iTunes CPU use
Thanks HiRez,

It was indeed a hardware issue. I put my CD writer and hard drive on the same IDE channel and now the machine will stay on-line while importing music to iTunes. iTunes still uses most of the CPU, but doesn't interfere with other operations.
tcihil at 2007-11-15 17:03:55 >
# 18 Re: iTunes CPU use
Originally posted by HiRez
The OS should dole out as many CPU cycles as requested by any apps that ask, if it decides it can spare them. Having your CPU use near 100% usage is a good thing generally.

I have been in IT for a long time and one thing I know is 9 times out of 10 if the CPU of any machine, especially a server, is pinned at 100% it is usually indicative of a problem (poorly written app, process stuck in a loop, etc...) and performance suffers.
That is certainly the case with those experiencing a lag in their PC's performance due to iTunes strain on the proc.

You are correct that it should be the job of the OS to regulate how many cycles are divided among which app, but when the CPU is unable to successfully to do so it is usually indicative of a problem on the application layer.
SpideyPod at 2007-11-15 17:04:49 >
# 19 Re: iTunes CPU use
Originally posted by SpideyPod
You are correct that it should be the job of the OS to regulate how many cycles are divided among which app, but when the CPU is unable to successfully to do so it is usually indicative of a problem on the application layer. Mmm yes, I was referring specifically to long-form situations where CPU saturation is appropriate, eg. MP3 or MPEG encoding, 3D rendering, running simulations, SETI@Home, etc.
HiRez at 2007-11-15 17:05:47 >
# 20 Re: iTunes CPU use
Originally posted by HiRez
Mmm yes, I was referring specifically to long-form situations where CPU saturation is appropriate, eg. MP3 or MPEG encoding, 3D rendering, running simulations, SETI@Home, etc.

Very true, maximizing CPU cycles is appropriate when performing certain functions such as burning, encoding, compiling, and in the case of Seti when you allow it to use all available cycles. I think the problem for many occurs with iTunes just being open. Having an application running should never continually pin a proc and this is indicative of some issue or conflict in the software.
SpideyPod at 2007-11-15 17:06:52 >
[an error occurred while processing this directive]
[an error occurred while processing this directive]