Playing music while compiling code lags the music, what kind of laptop CPUs avoid this?

0

When I play music while compiling code on my laptop (Intel Core 2 Duo T8300), the music stutters and lags. In terms of laptops, what Intel CPUs are capable of compiling without interruptions in my music? For example, would a 2nd generation core i5 be up to the task?

I ask because I do Android development in Eclipse, and the auto-compile occurs often. I know I can compile manually, but the problem is still apparent. For music, I use sources from Youtube, SoundCloud, and playing music locally.

Jin

Posted 2014-03-31T06:20:02.020

Reputation: 113

Question was closed 2014-04-02T13:58:42.437

1I suspect its too broad to answer. It might be your music player, hard disk usage, and so on. What really makes you think its your processor? – Journeyman Geek – 2014-03-31T08:52:29.653

It is an educated guess, because on my 8-core desktop there is no lag whatsoever; both have SSDs, the same music player (Winamp), almost the same contents on each drive. But I suppose it could also be a RAM issue. Laptop has 3GB DDR2 and desktop has 8GB DDR3. – Jin – 2014-04-05T23:22:03.313

Answers

1

Applying my old (early 2000s) experience I recommend to either increase the priority for music player or find an option within the player itself to do so. Winamp certainly has this option, look in your player.

Alec Istomin

Posted 2014-03-31T06:20:02.020

Reputation: 499

1

Reduce the relative priority of the compiler compared to the music player. More generally, reduce the relative priority of the non-performance-critical process compared to the process that must execute smoothly.

This can be done by either increasing the priority of the music player, or reducing the priority of the compiler.

It's probably easier to increase the priority of the music player, but in general I am always wary of increasing process priority above normal, especially on a CPU-starved system, so would suggest that you first try to lower the priority of Eclipse to one notch below normal. (Use the Task Manager to set priority "below normal" on Windows, nice -n 1 eclipse ... on Linux, ...) That should be inherited by the compiler as well, allowing the music player to run smoothly at the cost of a slight performance degredation of the compilation.

a CVn

Posted 2014-03-31T06:20:02.020

Reputation: 26 553