SageTV Community  

Go Back   SageTV Community > Hardware Support > Hardware Support
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

Hardware Support Discussions related to using various hardware setups with SageTV products. Anything relating to capture cards, remotes, infrared receivers/transmitters, system compatibility or other hardware related problems or suggestions should be posted here.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 02-20-2009, 05:25 PM
Boolah's Avatar
Boolah Boolah is offline
Sage Advanced User
 
Join Date: May 2004
Posts: 133
High CPU usage when recording from HDHomeRun?

I've got an, admittedly, old machine running SageTV (software and specs below) that's been working great for more than three years. I recently got myself a second HDHomeRun (total of four tuners) and noticed a rather serious issue that I hope you guys can help me resolve.

The machine I use for SageTV is totally dedicated to SageTV - there is nothing on there except what's listed below (not even any anti-virus software). The machine does not play back any content and runs SageTV in service mode only (no GUI). I use a HD100 to play back all content.

When recording from any of the PVR cards, my CPU never goes above 5% usage, even if I have all 4 tuners recording simultaneously. However, when recording a single stream from the HDHomeRun (with no other recording running and no playback), my CPU goes up to 40%. If I record a second stream my CPU goes up to 80%. If I record a third stream, my system can't keep up, the CPU pegs at 100% and I start dropping frames.

At first I thought my hard drives or network was the bottleneck, but I can record four simultaneous HD streams from the HDHomeRun outside of SageTV, through the HDHomeRun software directly. Moreover, the machine can do this without going above 20% CPU usage. To accomplish this, I open up a DOS box and enter the following four times, with different HDHR IDs, channels/programs and tuners:

hdhomerun_config.exe <HDHR ID> set /tuner0/channel qam256:100
hdhomerun_config.exe <HDHR ID> set /tuner0/program 1
hdhomerun_config.exe <HDHR ID> save /tuner0 SavedFile.mpg


Executing the above provides the additional benefit of showing any network congestion/packet loss which might occur, none of which I found.

Does anyone have any idea why SageTV should be using so much CPU when recording from the HDHomeRun?

Hardware:
Intel Celeron 2.8GHz
ATI Radeon 9600
1 GB PC-3200 RAM
1 Gbit Intel NIC (connected to a gigabit switch)
2.5TB (total) local storage (no remote storage is used for SageTV)
Hauppauge WinTV PVR-250 (three cards)
Hauppauge WinTV PVR-150 (one card)
HDHomeRun (two devices, total of four tuners)
USB-UIRT

Software:
Windows XP Pro SP3
SageTV v6.5.9
Java JRE v6.0u11
HDHomeRun v20090215
USB-UIRT Drivers v1.4
Adobe Acrobat Reader v8.1.3
WinVNC v1.0.5.3
Belkin Bulldog Plus v4.0.2.1219 (UPS shutdown software)
Reply With Quote
  #2  
Old 02-20-2009, 05:41 PM
thatdude90210 thatdude90210 is offline
Sage Aficionado
 
Join Date: Feb 2004
Posts: 385
My software firewall used to do that. I was using Kerio 4.12 or something and my system was using up 25% cpu (x2 5400) just recording from HDhomerun. I switch to XP's build in firewall and it went to 0-5%. I'm currently trying out comodo firewall, seems ok so far too.
Reply With Quote
  #3  
Old 02-20-2009, 06:09 PM
Boolah's Avatar
Boolah Boolah is offline
Sage Advanced User
 
Join Date: May 2004
Posts: 133
There's no software firewall on the machine at all. Even Windows XP's built-in firewall has been disabled.
Reply With Quote
  #4  
Old 02-21-2009, 06:17 AM
gplasky's Avatar
gplasky gplasky is offline
SageTVaholic
 
Join Date: Jul 2003
Location: Howell, MI
Posts: 9,203
Double check and make sure the Sage version you are running on the server is the latest. There was this problem with a previous version which was fixed in the latest release.

Gerry
__________________
Big Gerr
_______
Server - WHS 2011: Sage 7.1.9 - 1 x HD Prime and 2 x HDHomeRun - Intel Atom D525 1.6 GHz, Acer Easystore, RAM 4 GB, 4 x 2TB hotswap drives, 1 x 2TB USB ext Clients: 2 x PC Clients, 1 x HD300, 2 x HD-200, 1 x HD-100 DEV Client: Win 7 Ultimate 64 bit - AMD 64 x2 6000+, Gigabyte GA-MA790GP-DS4H MB, RAM 4GB, HD OS:500GB, DATA:1 x 500GB, Pace RGN STB.
Reply With Quote
  #5  
Old 02-21-2009, 06:38 AM
Boolah's Avatar
Boolah Boolah is offline
Sage Advanced User
 
Join Date: May 2004
Posts: 133
Yes, it's the latest official release (v6.5.9.204).

I believe the problem with earlier releases was that Sage would not isolate the specific program from the full channel stream with the HDHomeRun. I can see this is not happening since tuning a single 1080i program through SageTV, it only generates ~16 Mbps of traffic.
Reply With Quote
  #6  
Old 02-21-2009, 09:42 AM
robogeek robogeek is offline
Sage Expert
 
Join Date: Apr 2003
Location: Appleton, WI USA
Posts: 568
Is it specifically the SageTV process that is at high CPU usage, or is it the System process that is at high CPU usage? If it's the SageTV process, try enabling the debug log and submit a bug report to SageTV. If it's the System process it's probably your network adapter driver or adapter settings. I had a gigabit ethernet adapter that would cause the System process jump to noticably higher CPU usage when running ShowAnalyzer to process multiple recordings over the network.
__________________
--Jason

Server Hardware: GIGABYTE GA-EP45-UD3R, Intel Q9550 CPU 2.83GHz, 11GB RAM, 1xHDHR, 1xHVR1600, 1xHVR2250
29TB Server Storage: 1TB SSD (OS), 1TB (data), 2x6TB+2x10TB (22TB FlexRaid storage pool), 2x2TB (recordings), 1x750GB (VMs).
Server Software: Win10 Pro x64 OS, SageTV 64bit v9.2.0.441, Java 1.8 u241, PlayOn, Comskip (Donator) v0.82.003, WampServer v2.5.
Clients: 3xHD300s, 2xHD100, 2xPlaceshifters
Reply With Quote
  #7  
Old 02-21-2009, 11:19 AM
Boolah's Avatar
Boolah Boolah is offline
Sage Advanced User
 
Join Date: May 2004
Posts: 133
The CPU usage seems pretty evenly split between the SageTVService.exe process and the System process. Upgrading the NIC drivers didn't help either. However, if it were a problem with the NIC drivers, I would think that I should be seeing the same issue irrespective of whether I'm recording through SageTV or through the HDHomeRun tool.

When recording with the HDHomeRun software, the System process fluctuates between 0% and 2% while the hdhomerun_config.exe process fluctuates between 0% and 8%, a remarkable difference when recording through SageTV.

Thanks for all the suggestions. I guess it's time to enable debug logging and contact SageTV.
Reply With Quote
  #8  
Old 02-26-2009, 09:21 PM
betafish betafish is offline
New Member
 
Join Date: Dec 2006
Posts: 4
Similar problem

I think I have a similar problem but I am not using HDHomerun. I have the server and client on the same machine and I am using an AverTVHD A180 card. On one OTA channel the CPU maxes out at 100%. Sage is the application process running at 99% when I switch to the particular channel which broadcasts in HD. Other HD channels have no problem but I can easily reproduce the problem by switching to that channel.
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 jphhughes Hardware Support 4 12-28-2008 06:17 PM
HD Homerun Recording High CPU Usage smarty Hardware Support 6 10-18-2007 05:31 AM
High CPU Usage! Screechyd SageTV Software 6 02-05-2007 09:17 AM
High CPU Usage Harris_C SageTV Software 1 08-24-2006 07:15 PM
High CPU usage when recording sunray SageTV Software 1 08-22-2006 08:13 AM


All times are GMT -6. The time now is 01:35 PM.


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