SageTV Community  

Go Back   SageTV Community > SageTV BETA Release Products > SageTV Beta Test Software
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

SageTV Beta Test Software Discussion related to BETA Releases of the SageTV application produced by SageTV. Questions, issues, problems, suggestions, etc. regarding SageTV Beta Releases should be posted here.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 07-09-2007, 09:13 PM
kato's Avatar
kato kato is offline
Sage User
 
Join Date: Oct 2004
Posts: 26
High CPU Usage in 6.2.4 Media Center

Is anyone else experiencing this? This doesn't occur on the Client or Placeshifter, just Media Center from what I can determine.

The SageTVTranscoder.exe process just starts taking up 50% CPU usage for no reason at all - no clients or placeshifter clients connected and no recordings happening. If I stop the SageTV Service the SageTVTranscoder process just keeps on going - I have to manually end it through the task manager. I can restart the SageTV service and everything seems fine for a while and then it begins again.

I'm thinking I should try a fresh install, since I've upgraded over this install since v5.x, but I wanted to see if anyone else noticed this first...
Reply With Quote
  #2  
Old 07-09-2007, 10:19 PM
Wheemer's Avatar
Wheemer Wheemer is offline
Sage Icon
 
Join Date: Dec 2004
Location: Deer Lake, NL, Canada
Posts: 1,493
I see this aswell... all the time.

It seems to happen right after when I am using the extender.
Reply With Quote
  #3  
Old 07-10-2007, 12:35 AM
AWS's Avatar
AWS AWS is offline
Sage Aficionado
 
Join Date: Aug 2004
Location: Vancouver, WA
Posts: 475
I don't use any sort of client or anything else. My transcoder just seems to activate if I just watch a DVD or TV. Very annoying.

Sage 6.2.4.145
SageMC 6.3.3b
Java 1.6.0_01

AWS
__________________
386DX, 40MB HDD, 5-1/4" & 3-1/2" Floppies, 14.4K baud modem, DOS 6.2 and Windows 3.1 on a Samsung 55" LCD
Reply With Quote
  #4  
Old 07-10-2007, 02:36 AM
nielm's Avatar
nielm nielm is offline
SageTVaholic
 
Join Date: Oct 2003
Location: Belgium
Posts: 4,496
The transcoder is also used to generate thumbnails for videos, and to determine the file format when importing new media files...

SysInternal's Process Explorer can be used to get the command line for the transcoder which will include the media file name it is currently processing.
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki
Reply With Quote
  #5  
Old 07-10-2007, 06:08 AM
carlgar carlgar is offline
Sage Icon
 
Join Date: Oct 2003
Location: Brentwood, TN
Posts: 1,866
There appears to be multiple reasons for the High Cpu usage, I saw it when I changed to a faster system running Vista. The fix for me was to change a property for the Sage server.
ui/disable_native_image_loader=true
What I saw was that when I started the MVP or placeshifter, Sage would start generating a lot of threads that did not go away. Each thread eats up more CPU. I saw as many as 800 threads, 50-70 threads is normal for Sage. I don't thing Narflex knew the reason for this, only that the fix worked.

Shorty before the the beta realease another high usage problem was found and Narflex said it would be fixed soon. I must presume that that fix may it into the beta. You should report this problem to support and let them know if the properties file fix corrected it for you or not.
__________________
Server : Intel Core i7 2.8 GHz Processor: Gigabyte X58A-UD3R Motherboard: 6 GB Memory : 1 120 GB Intel SSD :3 2 TB WD hard drives:1 Hauppauge PVR 2250: 3 HDHomeRuns:1 HD300 extender;1 HD200 extender;1 HD100 extender 2 MVP Media Extenders: Windows 7 64 bit Home Premium all updates applied, SageTV V7.1.7.254.
Reply With Quote
  #6  
Old 07-10-2007, 10:15 AM
kato's Avatar
kato kato is offline
Sage User
 
Join Date: Oct 2004
Posts: 26
I'll try this fix and see what happens...

Thanks
Reply With Quote
  #7  
Old 07-10-2007, 10:16 AM
Narflex's Avatar
Narflex Narflex is offline
Sage
 
Join Date: Feb 2003
Location: Redondo Beach, CA
Posts: 6,349
carlgar,

The fix for that problem is in the 6.2.4 beta. Please try it with the ui/disable_native_image_loader=false setting (it's actually under Detailed Setup->Advanced now as well; it's the optimized image loader). If you still have a problem; please let us know ASAP.

For anyone that has the transcoder using all the CPU; please file a bug report (http://sagetv.com/bugs.html) so we can get the test case from you and resolve the issue. We don't have a repro case of that currently.

Thanks for the feedback.
__________________
Jeffrey Kardatzke
Google
Founder of SageTV
Reply With Quote
  #8  
Old 07-11-2007, 07:30 AM
carlgar carlgar is offline
Sage Icon
 
Join Date: Oct 2003
Location: Brentwood, TN
Posts: 1,866
Narflex,

After running for about 18 hours with the parameter back to false, it looks like the problem is about 80% to 90% solved. this morning the thread count was up to 143. It looks like there is still thread creep but now much slower (I probably would not notice a problem until running for serveral days).
I had to reboot due to Microcrap ( their deserved name until they fix TCP) updates. When I restarted Sage the base thread count was 85, went to 94 with I started MVP and 97 when I started client. I now have the preformance monitor on it. I will report it to support when I see a patern or the thread count gets to 200. After 20 minutes or running, thread count is 103.
__________________
Server : Intel Core i7 2.8 GHz Processor: Gigabyte X58A-UD3R Motherboard: 6 GB Memory : 1 120 GB Intel SSD :3 2 TB WD hard drives:1 Hauppauge PVR 2250: 3 HDHomeRuns:1 HD300 extender;1 HD200 extender;1 HD100 extender 2 MVP Media Extenders: Windows 7 64 bit Home Premium all updates applied, SageTV V7.1.7.254.
Reply With Quote
  #9  
Old 07-11-2007, 10:06 AM
kato's Avatar
kato kato is offline
Sage User
 
Join Date: Oct 2004
Posts: 26
Ok it looks like I found out the cause for my high CPU usage - mkv files in Media Center. I sent an earlier bug report about thumbnails no longer being generated under Imported Videos and was told that it was hanging on an mkv file and that mkv files are not supported by SageTV at this time. So I put 2 and 2 together and removed all the mkv files from the import directories and voila no more high CPU usage problems! So the hanging on the mkv was causing the high CPU usage - never had this problem in 6.1.9. I guess I'll just use Zoom Player for the mkvs in the meantime - hopefully SageTV will fully support mkv files in the near future

So I'm wondering what changes were made to the media player from 6.1.9 -> 6.2.4 that would cause SageTV to no longer work with mkv files even though they're not officially supported??
Reply With Quote
  #10  
Old 07-14-2007, 09:32 AM
alon24 alon24 is offline
Sage Aficionado
 
Join Date: Jun 2004
Posts: 351
I just tried installing sage 6.2.4 on a frinds computer and the mkv file would not run, and the SageTvTranscoder took 100% cpu (50% because of dual core).

When can we see a fix?
__________________
Server
SageTv 6.3.5, Core2Duo 6300 ,2Gigs ,Saphire x1650, PVR250, 2*320GB + 160GB, java 1.6.1
Client
SageTV Client 6.3.5 , AMD 3000, 1024Mb, Saphire x1600Pro256HDMI, java 1.6.1

Using Nielm's Web server 2.22
Reply With Quote
  #11  
Old 08-16-2007, 10:02 AM
Shield Shield is offline
Sage Aficionado
 
Join Date: Jun 2007
Posts: 405
Quote:
Originally Posted by nielm View Post
The transcoder is also used to generate thumbnails for videos, and to determine the file format when importing new media files...

SysInternal's Process Explorer can be used to get the command line for the transcoder which will include the media file name it is currently processing.

I have Process Explorer running and cannot figure out how to use it to get to the command line for SageTVTranscoder.exe. Anyone know?
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
High CPU Usage with SageTV joe123 SageTV Software 54 08-12-2007 10:20 AM
High CPU Usage! Screechyd SageTV Software 6 02-05-2007 09:17 AM
SageTV Announces Support for AMD LIVE!(TM) Home Cinema and Home Media Server Narflex Announcements 0 01-10-2007 09:09 AM
High CPU usage when recording sunray SageTV Software 1 08-22-2006 08:13 AM
Stuttering and high CPU usage... jbuszkie SageTV Software 7 01-03-2006 11:16 AM


All times are GMT -6. The time now is 01:48 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.