You are not logged in.

#1 2012-12-23 19:16:15

totolotto
Member
From: Hungary
Registered: 2012-11-13
Posts: 114

Only 1 core/thread maxed out

My laptop is with an intel i7 3520m cpu (2 cores, 4 threads). I use chromium and moonlight for online streaming.

When I watch online stream the cpu utilization starts at 4 x 5-6%. However, after a while 1 core/thread is loaded at 100% and the ventillation starts heavily. The 100% utilization runs in cycles through the 2 cores / 4 threads, so core 1 then core 2 etc becomes overloaded and all the rest remain at 5-6%.

Does anyone know why is it and suggest a solution? Thanks.

Last edited by totolotto (2012-12-23 19:16:34)

Offline

#2 2012-12-23 19:36:40

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,734
Website

Re: Only 1 core/thread maxed out

Accompanying memory leak as well?

Offline

#3 2012-12-23 19:42:08

totolotto
Member
From: Hungary
Registered: 2012-11-13
Posts: 114

Re: Only 1 core/thread maxed out

No, quite stable ~570 mb usage out of 8 gigs.

Offline

#4 2012-12-24 12:45:26

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,312

Re: Only 1 core/thread maxed out

Maybe the turbo option where 1 core gets overclocked does this ?


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#5 2012-12-24 13:00:44

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,734
Website

Re: Only 1 core/thread maxed out

Never seen anything like this, sorry.  Perhaps someone else can help.

Offline

#6 2012-12-26 07:41:18

hunterthomson
Member
Registered: 2008-06-22
Posts: 794
Website

Re: Only 1 core/thread maxed out

My guess would be it is a problem is a Silverlight, Flash, or Javascript program on the website is causing an infinite loop.

Like yesterday when I would go to the Netflix website using the netflix-desktop & wine-silverlight program. A Javascript program on the landing page would cause an infinite loop and one thread would stay at 100%. I mean not even watching a movie, it was a script on the browsing page. The bottom of Firefox showed that it was constantly trying to load:

contactus.netflix.com

Rebooting, re-installing, installing an older package... nothing would solve the problem. The only thing that would solve the problem was blocking all scripts with the No Script Firefox add-on.

Then as expected, they fixed it server side and now I no longer have the problem.

(Side note: Ya, the URL being "contactus.netflix.com" made the problem un-Google-able, arg)

Last edited by hunterthomson (2012-12-26 07:44:43)


OpenBSD-current Thinkpad X230, i7-3520M, 16GB CL9 Kingston, Samsung 830 256GB
Contributor: linux-grsec

Offline

#7 2012-12-26 11:08:53

totolotto
Member
From: Hungary
Registered: 2012-11-13
Posts: 114

Re: Only 1 core/thread maxed out

How do you mean?

hunterthomson wrote:

The only thing that would solve the problem was blocking all scripts with the No Script Firefox add-on.

I installed ScriptNo in Chromium but I had to allow the sources otherwise the streaming would not start. Everything else was default/blocked. After ~5 mins it started again.

Offline

#8 2012-12-26 13:05:36

hunterthomson
Member
Registered: 2008-06-22
Posts: 794
Website

Re: Only 1 core/thread maxed out

totolotto wrote:

How do you mean?

hunterthomson wrote:

The only thing that would solve the problem was blocking all scripts with the No Script Firefox add-on.

I installed ScriptNo in Chromium but I had to allow the sources otherwise the streaming would not start. Everything else was default/blocked. After ~5 mins it started again.

Well ya, I guess "solved" was the worng word to use. More like that proved it was a malfunctioning script.

I guess you could try installing the netflix-desktop package. It will install Firefox 17.0.1 for Windows with Silverlight. It will be able to play whatever silverlight videos you want, not just Netflix. Maybe it will not have the same problem.

I install the precompiled packages from his repo.
https://bbs.archlinux.org/viewtopic.php?id=153234&p=1

Owe, and make sure to configure ~/.config/netflix-desktop/conf.sh
Set this to 1 so you get a normal firefox.

# Disable the custom profile used to hide the Firefox UI.
NO_CUSTOM_PROFILE=1

OpenBSD-current Thinkpad X230, i7-3520M, 16GB CL9 Kingston, Samsung 830 256GB
Contributor: linux-grsec

Offline

Board footer

Powered by FluxBB