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 12-08-2008, 06:41 PM
heffe2001's Avatar
heffe2001 heffe2001 is offline
Sage Icon
 
Join Date: Mar 2004
Location: Conover, NC
Posts: 1,269
6.5.3 High memory useage and CPU?

Just noticed tonight that we're getting an abnormally high memory & CPU usage from the latest version. I usually hover around 250-270mb used memory for the SageTV service, as well as around 20-30% +- CPU usage, but today my memory usage was around 580mb, and CPU was around 60-70%. I restarted the Sage service, and right now my CPU is going between 25-40%, and memory is staying right around 375m. My system wasn't don't this prior to the 6.5.3 upgrade, so I can only assume that's the cause. My network encoder machine (XP, also running 6.5.3), is sitting at 84m memory, 2% usage (recording 2 streams at the moment as well). THat's with 3 clients on the system (2 HD100's, and 1 MVP, but only 2 doing anything). I have also noticed sometimes I also get a System service that uses all available CPU (the HD100's start skipping, slowly at first, but it gets faster and faster), and restarting the Sage service seems to fix the problem for a bit, but a restart is usually a quicker/better fix...
__________________
Server: AMD Phenom 2 920 2.8ghz Quad, 16gb Ram, 4tb Storage, 1xHVR-2250, 1 Ceton Cable Card adapter, Windows 7 SP1
Reply With Quote
  #2  
Old 12-09-2008, 06:47 PM
edbmdave edbmdave is offline
Sage Aficionado
 
Join Date: Apr 2004
Location: Dallas
Posts: 365
Our setups are almost identical, except I have 2xPVR500 in mine, (Otherwise AMD x2 4800,2 GB RAM 1.5TB, Vista Ultimate 64) and I have seen the same thing. With Only one HD100 running and playing back a file, and then just one transcoding session going, my both CPUs can get pegged at 100%.

Just curious what version of java? I am running 1.6.11.
Reply With Quote
  #3  
Old 12-09-2008, 07:12 PM
sandor's Avatar
sandor sandor is offline
Sage Expert
 
Join Date: Dec 2006
Location: Philadelphia, PA USA
Posts: 621
do you know if it was happening in 6.5.2?

Quote:
SageTV V6.5.2 Beta 11/21/2008

Core Updates
1. Enabled multi-threading for the transcoder. The property xcode_process_num_threads controls this. 1 means single threaded; 0 means use the # of CPUs plus one; and all other positive settings mean use that # of threads.


http://forums.sagetv.com/forums/showthread.php?t=37353


prior to 6.5.2, i would never have more than one single core being used t0 100%, but 6.5.2 and 6.5.3 will peg both cores.
__________________
MacBook Core2Duo 2 ghz
nVidia 9400M GPU
46" Sammy HLP4663 720p DLP
2x HDHR, all OTA
QNAP TS-809:
12.5 TB for Recordings/Imports/TimeMachine/Music
HD200 via 802.11n in Living Room
802.11n client in bedroom
Reply With Quote
  #4  
Old 12-09-2008, 08:43 PM
heffe2001's Avatar
heffe2001 heffe2001 is offline
Sage Icon
 
Join Date: Mar 2004
Location: Conover, NC
Posts: 1,269
Don't remember it doing this particular thing before the 6.5.2 beta, and I do remember making a change on that key in the sage.properties file... What's the default for that line (or did I have to add it, I can't remember). Might have to remove that setting and see if it helps at all.
__________________
Server: AMD Phenom 2 920 2.8ghz Quad, 16gb Ram, 4tb Storage, 1xHVR-2250, 1 Ceton Cable Card adapter, Windows 7 SP1
Reply With Quote
  #5  
Old 12-09-2008, 08:59 PM
sandor's Avatar
sandor sandor is offline
Sage Expert
 
Join Date: Dec 2006
Location: Philadelphia, PA USA
Posts: 621
Quote:
Originally Posted by heffe2001 View Post
Don't remember it doing this particular thing before the 6.5.2 beta, and I do remember making a change on that key in the sage.properties file... What's the default for that line (or did I have to add it, I can't remember). Might have to remove that setting and see if it helps at all.

default is "0"
__________________
MacBook Core2Duo 2 ghz
nVidia 9400M GPU
46" Sammy HLP4663 720p DLP
2x HDHR, all OTA
QNAP TS-809:
12.5 TB for Recordings/Imports/TimeMachine/Music
HD200 via 802.11n in Living Room
802.11n client in bedroom
Reply With Quote
  #6  
Old 12-14-2008, 10:00 PM
dvd_maniac's Avatar
dvd_maniac dvd_maniac is offline
Sage Icon
 
Join Date: Mar 2004
Location: New England
Posts: 1,899
I have also had high memory usage in the past. Sage and Sage Service would sometimes get into the 300MB each range. It seems to be when I had the HD100 in use that it got this high but would not go back down even if I powered down the HD100. I would have to restart Sage + Service.

Well, now I have upgraded to 6.5.3 and it seemed to be the same thing, no difference...Until I hooked up a new HD200. Now I started seeing some skipping on the HD100 and HD200 and it was getting worse. I checked my Memory and CPU and sure enough 1.2GB between the Sage Service(600MB) and Sage.exe(600MB). Plus Sage was using around 20% of my Q6600
I have already ordered another HD200 and plan to hook it up as soon as I get it but then will I be looking into the 2GB+ range???
__________________
If this doesn't work right, Then:
"I'm going to blow up the Earth!"
Reply With Quote
  #7  
Old 12-16-2008, 09:42 PM
heffe2001's Avatar
heffe2001 heffe2001 is offline
Sage Icon
 
Join Date: Mar 2004
Location: Conover, NC
Posts: 1,269
I'm noticing that my System (NT Kernel & System) process if using ALL available free processor time, which I've read is a driver problem.. Not sure what's causing it, but I'd sure like to get it fixed (this is something that's just started after the betas of 6.5, but I'm not 100% sure it's Sage related, could possiblly be a driver I updated recently).

My spiked System usage may very well have been from an older version of the PVR500 drivers (I just recently added a PVR500 to the server machine, and this could have very well created the spike in my System usage). I updated them with SHS's latest driver disk, and I'll keep an eye on it tonight to see if it spikes again..
__________________
Server: AMD Phenom 2 920 2.8ghz Quad, 16gb Ram, 4tb Storage, 1xHVR-2250, 1 Ceton Cable Card adapter, Windows 7 SP1

Last edited by heffe2001; 12-17-2008 at 10:28 AM.
Reply With Quote
  #8  
Old 12-19-2008, 08:35 PM
heffe2001's Avatar
heffe2001 heffe2001 is offline
Sage Icon
 
Join Date: Mar 2004
Location: Conover, NC
Posts: 1,269
I'm running the latest beta now, and the problem with System using all available resources so far hasn't come up. I'm wondering if the disabling of the new network encoder optimizations might have been the fix..
__________________
Server: AMD Phenom 2 920 2.8ghz Quad, 16gb Ram, 4tb Storage, 1xHVR-2250, 1 Ceton Cable Card adapter, Windows 7 SP1
Reply With Quote
  #9  
Old 01-02-2009, 01:06 PM
craigap craigap is offline
Sage Aficionado
 
Join Date: Jan 2006
Location: Monroe, WI
Posts: 348
I've been using 6.5.2 and I'm also seeing double my normal CPU usage. Instead of about 20% average I'm seeing 40%. I just updated to 6.5.5 RC and I am still seeing the same thing. My setup is practically a clean install of my OS and drivers. It was a while back when I first read this thread and tried changing the xcode_process_num_threads property and it had no effect. Now using 6.5.5 RC I don't even see the property line anywhere anymore. Has there been any answer to this issue?


EDIT: I found out it is from using EVR vs VMR9. Switching back to VMR9 my CPU usage goes back to under 20%

Last edited by craigap; 01-02-2009 at 01:25 PM.
Reply With Quote
  #10  
Old 01-04-2009, 12:08 PM
oaamaas oaamaas is offline
Sage User
 
Join Date: Jun 2005
Location: Norway
Posts: 53
Still a problem on 6.5.5

My setup is on WHS (server). I had some problems with stuttering on a MVP client after moving it. This problem turned out to be caused by a network configuration issue. However, when I looked for possible explanations I noticed my WHS server had 1,8 GB of its memory used. When I restarted the SageTV service memory usage dropped to 800 MB instantly.

I really have not experienced CPU and memory problems on my PC client, but the SageTV service defintively has memory usage issues also on 6.5.5!
__________________
Server: SageTV on WHS, 10,2 TB pooled + 1 TB for recordings, 2x FloppyDTV T/CI with Technicrypt CXV CAM for DVB-T, NOVA HD S2 for FTA (mainly German) DVB-S
Clients: 2x HD200 + Wired HauppaugeMVP, SageTV Client on PC + Placeshifter on laptops
Reply With Quote
  #11  
Old 01-04-2009, 07:56 PM
infocus13's Avatar
infocus13 infocus13 is offline
Sage Advanced User
 
Join Date: Aug 2007
Posts: 199
Same Problem Here

I'm running an AMD x2 4400, 1.5gb ram, dedicated media/sage server hooked up to a single client (hd100) via a gigabit switch. running sage 6.5.5, latest firmware on the hd100. Clean install of XP professional with all drivers updated. Running latest java (1.6.11 i think).

Other PCs (1x desktop, 1x laptop connect) to the server via lan shares (desktop wired via the gigabit switch, laptop via 54g WLAN) to access media, docs, software, etc.

I'm seeing the SageTvService.exe use up about 600mb of ram. If I restart the service, mem usage drops to about 180mb (what I consider normal) and gradually increases to around 600mb over a period of about 10 days.

CPU usage is reasonably normal (10-20% watching 1080i broadcasts)

Is this high memory usage normal?

Thanks in advance.
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
HD Homerun Recording High CPU Usage smarty Hardware Support 6 10-18-2007 05:31 AM
Sage Clinet: 100% CPU Useage on P4 Notebok over 54Mbps 802.11 G- Audio-Yes, Video-No? mkerdman SageTV Software 4 04-17-2005 06:05 PM
CPU useage w/ FFDSHOW stingray SageTV Software 7 12-11-2004 02:29 PM
Sage & High CPU Useage? rwc SageTV Software 26 12-11-2004 10:47 AM


All times are GMT -6. The time now is 11:23 AM.


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