INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: High CPU Usage  (Read 3502 times)

Baldy

  • Recent member
  • *
  • Posts: 33
High CPU Usage
« on: September 09, 2014, 09:29:39 am »

Mediacenter since ver. 20 is using around 15% CPU even if i close the program, I must force close it from taskmanager to get the CPU usage down. Before ver. 20 the CPU usage was around 1-2% when I listened to music (FLAC).
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72446
  • Where did I put my teeth?
High CPU Usage
« Reply #1 on: September 09, 2014, 09:33:13 am »

It may just be analyzing files.
Logged

DocLotus

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 2243
  • Retired and; Loving It!!!
High CPU Usage
« Reply #2 on: September 10, 2014, 03:02:59 am »

Quote
Mediacenter since ver. 20 is using around 15% CPU even if i close the program, I must force close it from taskmanager to get the CPU usage down. Before ver. 20 the CPU usage was around 1-2% when I listened to music (FLAC).

Quote
It may just be analyzing files.

Don't think so. I reported on this issue earlier on in v20. Am so glad to see someone else is having similar problem.

My high CPU usage is slightly different (and worse) it comes in two flavors...
  • Have seen very high CPU usage randomly (up to 90% on six cores). This seems to come & go over a period of several days. Have seen it at least a dozen times over a one month period and started in MC 19.
  • MC may play for hours with no problems than all of a sudden the CPU usage will jump and the music will immediately start skipping and distorting very badly. Under this condition the CPU use will not be as high as the first example but all six cores will be much higher than normal like 40-70%. This can happen as often as several times a day or not at all; occasionally it will happen several times in a row. I think this started with v20 but may have been in late v19 also.

With both situations the only way I can get MC working again is to simply stop playing music & restart playing; no need to close & reopen MC.

This seems to be two separate issues as they are similar but different.
Logged
MC... Latest version, 1 Mini PC, w/ Server.
TV... USA, ZIP 77036, Std view, Full screen, Not detached, Silicon Dust Guide, OTA, ATSC 1.
MC Audio... Realtek HD 7.1, MP3 Ext, Basic playback.
MC Control... Key, Mouse w/ G HUB.
Windows... 10 Pro, 64 bit, All MS updates.
Hardware... Beelink AMD GR5 Pro Mini PC, 16GB memory, 3 internal HDD's w/ 4.5 TB storage, 8 TB external storage.
1 SiliconDust HD HomeRun Connect Quatro, 1 SiliconDust HDHomeRun Flex Quatro, Amped Antenna w/ splitter.

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72446
  • Where did I put my teeth?
Re: High CPU Usage
« Reply #3 on: September 10, 2014, 07:27:10 am »

There are many other background processes that can use the CPU in bursts.  Thumbnailing, for example.

Antivirus programs can do this, too.
Logged

6233638

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 5353
Re: High CPU Usage
« Reply #4 on: September 10, 2014, 09:30:38 am »

I would suggest manually running auto-import (Tools → Import  → Run Auto-Import Now) as that will display a status window showing what MC is doing.
I believe that Thumbnail generation is also displayed in auto-import, but you might want to run Tools → Options → Tree & View → Build missing thumbnails… to force it to generate any thumbnails which it may not have already done.
 
Media Center really needs to be better about informing the user of what it's currently doing in the background for things like this and downloading files, even if it's just a minimized-by-default action window in the tree.
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72446
  • Where did I put my teeth?
Re: High CPU Usage
« Reply #5 on: September 10, 2014, 09:36:05 am »

Media Center really needs to be better about informing the user of what it's currently doing in the background for things like this and downloading files, even if it's just a minimized-by-default action window in the tree.
Services & Plugins > Reporter

But there is a limit to how much we can explain about the internal workings of MC.
Logged

6233638

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 5353
Re: High CPU Usage
« Reply #6 on: September 10, 2014, 09:41:02 am »

Thanks - I've managed to miss this the entire time I've been using MC.
However, rather than having to seek it out, MC should actually be informing the user of what it's doing.
 
If my internet connection suddenly slows to a crawl, it's probably MC downloading stuff via RSS - but without seeking it out, Media Center gives me no indication that it's downloading files.
 
Without manually running auto-import, I have no idea whether Media Center is currently importing, analyzing, or building thumbnails for new files.
 
 
Media Center can already display this information - it's just hidden from the user unless you manually run auto-import, start a download, analyze files etc.
Even when it started automatically, the status should be displayed in the lower left of the window - but perhaps minimized by default.
 
Then the user could actually check and see whether MC is currently importing files etc. and what its current progress is.
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72446
  • Where did I put my teeth?
Re: High CPU Usage
« Reply #7 on: September 10, 2014, 09:46:28 am »

However, rather than having to seek it out, MC should actually be informing the user of what it's doing.
I don't agree.  MC should be as unobtrusive as possible.  The focus should be on the media. 

The user should never need to know what's going on behind the scenes.  Most aren't computer enthusiasts.
Logged

6233638

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 5353
Re: High CPU Usage
« Reply #8 on: September 10, 2014, 09:49:29 am »

I don't agree.  MC should be as unobtrusive as possible.  The focus should be on the media. 

The user should never need to know what's going on behind the scenes.  Most aren't computer enthusiasts.
Perhaps we could have an option?
 
If I've added new films or a new album to my music folder, it's nice to have some indicator about whether Media Center is currently importing them or not.
Half the time I end up running auto-import manually instead.
 
For downloads, I feel that Media Center should always inform the user about whether that's happening or not. (but again, having it as an option would be fine)
Logged

ferday

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1732
Re: High CPU Usage
« Reply #9 on: September 10, 2014, 09:57:28 am »

I don't agree.  MC should be as unobtrusive as possible.  The focus should be on the media. 

The user should never need to know what's going on behind the scenes.  Most aren't computer enthusiasts.

I agree 95%

The other 5% really, really wants an option to see this info...like 6233638, I'm often wondering what's going on especially when I get some lagging or something. 

I didn't know about the reporter thing either, I'll check it out, thanks!
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72446
  • Where did I put my teeth?
Re: High CPU Usage
« Reply #10 on: September 10, 2014, 09:58:34 am »

Logged

ferday

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1732
Re: High CPU Usage
« Reply #11 on: September 10, 2014, 10:11:19 am »

Jim, (or anyone)

since this is somewhat on topic...(as in high CPU usage/slow MC)

is there a known anti-virus that seems to leave MC alone?  i've read through the weird & wonderful thread but never noticed a good recommendation...
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72446
  • Where did I put my teeth?
Re: High CPU Usage
« Reply #12 on: September 10, 2014, 10:19:16 am »

JRiver doesn't offer advice on this.  

Please read the many antivirus topics here and other places.  

You could also read the thread on problems caused by antivirus programs.
http://yabb.jriver.com/interact/index.php?topic=86096.msg588759#msg588759
Logged

DocLotus

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 2243
  • Retired and; Loving It!!!
Re: High CPU Usage
« Reply #13 on: September 10, 2014, 01:29:30 pm »

Quote
There are many other background processes that can use the CPU in bursts.  Thumbnailing, for example.

Antivirus programs can do this, too.

All my thumbnails are up to date (I manually ran it & it found very few to build.)

I never use any anti-virus program other than the default MS Defender for Win 8.1 update. Win 8.1 is kept up to date on a weekly basis.

This high CPU usage is relatively new as I never saw it before MC 19 (or possibly very late MC 18).
Logged
MC... Latest version, 1 Mini PC, w/ Server.
TV... USA, ZIP 77036, Std view, Full screen, Not detached, Silicon Dust Guide, OTA, ATSC 1.
MC Audio... Realtek HD 7.1, MP3 Ext, Basic playback.
MC Control... Key, Mouse w/ G HUB.
Windows... 10 Pro, 64 bit, All MS updates.
Hardware... Beelink AMD GR5 Pro Mini PC, 16GB memory, 3 internal HDD's w/ 4.5 TB storage, 8 TB external storage.
1 SiliconDust HD HomeRun Connect Quatro, 1 SiliconDust HDHomeRun Flex Quatro, Amped Antenna w/ splitter.

6233638

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 5353
Re: High CPU Usage
« Reply #14 on: September 10, 2014, 01:56:04 pm »

You haven't just started playing DSD tracks recently, have you?
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72446
  • Where did I put my teeth?
Re: High CPU Usage
« Reply #15 on: September 10, 2014, 01:58:53 pm »

I never use any anti-virus program other than the default MS Defender for Win 8.1 update. Win 8.1 is kept up to date on a weekly basis.
That could still do it.  Check the settings for it.
Logged

DocLotus

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 2243
  • Retired and; Loving It!!!
Re: High CPU Usage
« Reply #16 on: September 10, 2014, 04:13:47 pm »

Have no idea which settings could cause the high CPU usage. It never happened before MC 19 (or very late 18).

I have NEVER received any messages from Defender about any virus, or other bad stuff. I have not had a virus in over 6 years.  I manually run Defender weekly just in case, plus Real Time Protection is turned on.

One other thing; I have not seen the high CPU usage when MC is not running, so if it is Defender it might be seeing something in MC that it thinks is a virus? I kind of doubt that as I never see any messages from Defender about any problems.  In fact, looking at the Defender log there is no virus or other stuff showing as being deleted, quarantined or otherwise. It shows everything as being clean.

Soooo... I'm at a loss on this problem.

Any ideas?
Logged
MC... Latest version, 1 Mini PC, w/ Server.
TV... USA, ZIP 77036, Std view, Full screen, Not detached, Silicon Dust Guide, OTA, ATSC 1.
MC Audio... Realtek HD 7.1, MP3 Ext, Basic playback.
MC Control... Key, Mouse w/ G HUB.
Windows... 10 Pro, 64 bit, All MS updates.
Hardware... Beelink AMD GR5 Pro Mini PC, 16GB memory, 3 internal HDD's w/ 4.5 TB storage, 8 TB external storage.
1 SiliconDust HD HomeRun Connect Quatro, 1 SiliconDust HDHomeRun Flex Quatro, Amped Antenna w/ splitter.

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72446
  • Where did I put my teeth?
Re: High CPU Usage
« Reply #17 on: September 10, 2014, 05:23:46 pm »

No.  The AV program may be checking every file every time it is opened.  It shouldn't do that for media files, at least.
Logged

DocLotus

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 2243
  • Retired and; Loving It!!!
Re: High CPU Usage
« Reply #18 on: September 10, 2014, 06:03:10 pm »

It has not happened in the last day or two, when it does I will look at the MC Log & post here.
Logged
MC... Latest version, 1 Mini PC, w/ Server.
TV... USA, ZIP 77036, Std view, Full screen, Not detached, Silicon Dust Guide, OTA, ATSC 1.
MC Audio... Realtek HD 7.1, MP3 Ext, Basic playback.
MC Control... Key, Mouse w/ G HUB.
Windows... 10 Pro, 64 bit, All MS updates.
Hardware... Beelink AMD GR5 Pro Mini PC, 16GB memory, 3 internal HDD's w/ 4.5 TB storage, 8 TB external storage.
1 SiliconDust HD HomeRun Connect Quatro, 1 SiliconDust HDHomeRun Flex Quatro, Amped Antenna w/ splitter.

DocLotus

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 2243
  • Retired and; Loving It!!!
Re: High CPU Usage
« Reply #19 on: September 10, 2014, 09:32:59 pm »

Quote
You haven't just started playing DSD tracks recently, have you?
Not sure if you are asking me but no, not at all.
Logged
MC... Latest version, 1 Mini PC, w/ Server.
TV... USA, ZIP 77036, Std view, Full screen, Not detached, Silicon Dust Guide, OTA, ATSC 1.
MC Audio... Realtek HD 7.1, MP3 Ext, Basic playback.
MC Control... Key, Mouse w/ G HUB.
Windows... 10 Pro, 64 bit, All MS updates.
Hardware... Beelink AMD GR5 Pro Mini PC, 16GB memory, 3 internal HDD's w/ 4.5 TB storage, 8 TB external storage.
1 SiliconDust HD HomeRun Connect Quatro, 1 SiliconDust HDHomeRun Flex Quatro, Amped Antenna w/ splitter.

Vocalpoint

  • Citizen of the Universe
  • *****
  • Posts: 2007
Re: High CPU Usage
« Reply #20 on: September 11, 2014, 12:35:02 pm »

is there a known anti-virus that seems to leave MC alone?  i've read through the weird & wonderful thread but never noticed a good recommendation...

We use ESET here on all PCs and it leaves MC alone - but I do force that by ensuring the entire MC folder structure and all media files are never part of any sort of ESET real-time or scheduled scan.

Haven't had a issue with it ever with MC.

VP
Logged

DocLotus

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 2243
  • Retired and; Loving It!!!
Re: High CPU Usage
« Reply #21 on: September 11, 2014, 03:36:20 pm »

Quote
MC may play for hours with no problems than all of a sudden the CPU usage will jump and the music will immediately start skipping and distorting very badly. Under this condition the CPU use will not be as high as the first example but all six cores will be much higher than normal like 40-70%. This can happen as often as several times a day or not at all; occasionally it will happen several times in a row. I think this started with v20 but may have been in late v19 also.

Just got done doing a complete audio Analyze of all 24,000+ tracks with "Process 8 files at a time" turned on to really load all 6 CPU cores to 100% thinking that if it is a background problem that this would cause the skipping & bad distortion. I was also playing music at the same time.  Guess what... No skipping or distortion even under these harsh conditions.

So I'm beginning to believe it may not be a background running program problem.

Any thoughts?
Logged
MC... Latest version, 1 Mini PC, w/ Server.
TV... USA, ZIP 77036, Std view, Full screen, Not detached, Silicon Dust Guide, OTA, ATSC 1.
MC Audio... Realtek HD 7.1, MP3 Ext, Basic playback.
MC Control... Key, Mouse w/ G HUB.
Windows... 10 Pro, 64 bit, All MS updates.
Hardware... Beelink AMD GR5 Pro Mini PC, 16GB memory, 3 internal HDD's w/ 4.5 TB storage, 8 TB external storage.
1 SiliconDust HD HomeRun Connect Quatro, 1 SiliconDust HDHomeRun Flex Quatro, Amped Antenna w/ splitter.

DocLotus

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 2243
  • Retired and; Loving It!!!
Re: High CPU Usage
« Reply #22 on: September 19, 2014, 03:49:53 pm »

Don't know what has changed but have not experienced the high CPU usage & skipping problem with very bad distorting since MC 20.0.13.

Only two things have changed on my end...
1: Have run every new version to date (currently 20.0.17).
2: Did a complete Audio Analysis of all 24,000+ files.

Any ideas what may have fixed the problem?

Logged
MC... Latest version, 1 Mini PC, w/ Server.
TV... USA, ZIP 77036, Std view, Full screen, Not detached, Silicon Dust Guide, OTA, ATSC 1.
MC Audio... Realtek HD 7.1, MP3 Ext, Basic playback.
MC Control... Key, Mouse w/ G HUB.
Windows... 10 Pro, 64 bit, All MS updates.
Hardware... Beelink AMD GR5 Pro Mini PC, 16GB memory, 3 internal HDD's w/ 4.5 TB storage, 8 TB external storage.
1 SiliconDust HD HomeRun Connect Quatro, 1 SiliconDust HDHomeRun Flex Quatro, Amped Antenna w/ splitter.

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72446
  • Where did I put my teeth?
Re: High CPU Usage
« Reply #23 on: September 19, 2014, 03:58:32 pm »

No.  It could have been something going on on your machine.  Who knows?
Logged
Pages: [1]   Go Up