SageTV Community  

Go Back   SageTV Community > SageTV Products > SageTV Media Extender
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

SageTV Media Extender Discussion related to any SageTV Media Extender used directly by SageTV. Questions, issues, problems, suggestions, etc. relating to a SageTV supported media extender should be posted here. Use the SageTV HD Theater - Media Player forum for issues related to using an HD Theater while not connected to a SageTV server.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 12-21-2012, 05:41 PM
Wrx4me Wrx4me is offline
Sage Advanced User
 
Join Date: Feb 2005
Location: New York
Posts: 117
HD300 User interface lag

I recently switched from Directv to Fios and surprised myself by how easy the transition was to complete. I have one Motorola qip7100-2 receiver connected to an HDPVR for HBO/Cinemax using FireWire channel changing. I also have 2 HDHome run primes running cablecards.

Everything works beautifully, except that on the HD300's the UI is sticky if you know what I mean. As you scroll through the guide, there is a noticeable lag while a show is being watched but everything returns to normal if playback is stopped. I have no issues with my one PC client.
Anyone have any ideas on what I should check for on the extenders? I would appreciate any suggestions. Thanks!
Reply With Quote
  #2  
Old 12-25-2012, 11:32 AM
Wrx4me Wrx4me is offline
Sage Advanced User
 
Join Date: Feb 2005
Location: New York
Posts: 117
Well I guess I must have a unique problem. No suggestions after 4 days.
I do know the issue is caused by the UI animation when video is being displayed. Turning off the animation fixes things but of course scrolling is no longer smooth and fluid.
Reply With Quote
  #3  
Old 12-25-2012, 06:54 PM
gveres gveres is offline
Sage Aficionado
 
Join Date: Nov 2007
Location: Waterloo, Ontario
Posts: 404
Are you using the Gemstone UI? If not, I would change over to it. I have noticed that with the change from Diamond to Gemstone, the UI performance improved a lot. I am getting pretty reasonable performance on my HD100 box using Gemstone where it was completely unbearable in the past.
Reply With Quote
  #4  
Old 12-25-2012, 07:47 PM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,851
The usual cause of this is running out of java heap space. In the default STV (from one of the laggy extenders) go to Setup->System Information and scroll down until you see "JVM Heap Size". Post your values.
__________________

Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders.
Reply With Quote
  #5  
Old 12-26-2012, 04:11 PM
Wrx4me Wrx4me is offline
Sage Advanced User
 
Join Date: Feb 2005
Location: New York
Posts: 117
@ Gveres I will look into Gemstone if I cant get an acceptable resolution to this issue, thanks.

Tmiranda my java heap numbers are (used/Total/Max) 492MB/825MB/1038MB.
I am also running Java version 1.6.0_29 on the server, I don't know if that has any bearing on things. Thanks.
Reply With Quote
  #6  
Old 12-26-2012, 06:36 PM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,851
If the three numbers are all close to the same it usually means you are maxing out your heap. Yours look fine.

One oddity is that you have allocated 1038MB which is a bit over 1GB. On some systems once the heap goes over 1GB Java crashes or Sage does not work right. It wouldn't hurt to change your heap to 1024MB just to make sure this is not the issue.
__________________

Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders.
Reply With Quote
  #7  
Old 12-26-2012, 08:36 PM
Wrx4me Wrx4me is offline
Sage Advanced User
 
Join Date: Feb 2005
Location: New York
Posts: 117
My Java heap is set to 1024 but reports as 1038. Also when I set it to 300 it shows in Sage as 779MB. Maybe because I have 4GB memory on a 32bit Win7?
Reply With Quote
  #8  
Old 12-26-2012, 09:36 PM
wbarber69's Avatar
wbarber69 wbarber69 is offline
Sage Expert
 
Join Date: Oct 2004
Location: Hammond, La.
Posts: 512
Send a message via ICQ to wbarber69 Send a message via AIM to wbarber69 Send a message via MSN to wbarber69 Send a message via Yahoo to wbarber69
Quote:
Originally Posted by Wrx4me View Post
My Java heap is set to 1024 but reports as 1038. Also when I set it to 300 it shows in Sage as 779MB. Maybe because I have 4GB memory on a 32bit Win7?
Mine reports as 1038, when reg is set for 1024 here too.
Reply With Quote
  #9  
Old 12-27-2012, 02:31 PM
PhilH's Avatar
PhilH PhilH is offline
Sage Advanced User
 
Join Date: Feb 2009
Location: Edinburg, TX (Deep South Texas)
Posts: 95
Quote:
Originally Posted by wbarber69 View Post
Mine reports as 1038, when reg is set for 1024 here too.
Same here also...
__________________
SageTV v7.1.9 Gemstone WHS + 3 HD200's, 1 Client & 1 Placeshifter
WHS - Dual Xeon 2.8ghz - 3gig ECC Ram - 25 Drives - 30 Terabytes
Blu-ray Titles 498
HD-DVD Titles 166
DVD Titles - Too Many To Count..
Reply With Quote
  #10  
Old 12-27-2012, 04:04 PM
Wrx4me Wrx4me is offline
Sage Advanced User
 
Join Date: Feb 2005
Location: New York
Posts: 117
I guess that's how Sage interprets 1024MB.

Next step for me will be to pull my unused Colossus which is still in my server, don't know if that has any bearing on my issue but the Colossus always gave me problems when I used it.

I was also thinking of swapping out the switch that my server and one of the HD300's is connected to but the other HD300 is connected to a different switch upstairs so I don't know how that helps the situation.

The one constant is that everything is on gigabit ethernet with not lag in video play except when browsing the UI with video in the background.
Only change has been ripping out my HDPVR's and replacing them with HDHomerun Primes and going from Directv to FIOS.

I guess the default UI doesnt like the FIOS signal.
Reply With Quote
  #11  
Old 12-31-2012, 10:10 AM
Wrx4me Wrx4me is offline
Sage Advanced User
 
Join Date: Feb 2005
Location: New York
Posts: 117
I finally found the cause of my problems after searching the forums and finding the following thread. http://forums.sagetv.com/forums/show...eceive+buffers

My Sage server had always been connected to a 100Mbps switch until I ran Gigabit Ethernet upon getting FIOS.
I then put the server on a gigabit switch and it connected to the network at 1Gbs. This change from 100Mbs to 1Gbs is what was causing the laggy UI on the extenders, clients work fine.
As soon as I forced the server NIC down to 100Mbps, my UI became smooth as silk. I turned the NIC backup to Auto Negotiate or 1000Mbs full and all the lag returned.
I guess I have to run my server at 100Mbs until I can figure out how to run it at gigabit speeds without the extenders having an issue. But for now all is well again.
Reply With Quote
  #12  
Old 01-01-2013, 08:30 AM
drewg drewg is offline
Sage Icon
 
Join Date: Aug 2007
Location: Richmond, VA
Posts: 1,042
Quote:
Originally Posted by Wrx4me View Post
This change from 100Mbs to 1Gbs is what was causing the laggy UI on the extenders, clients work fine.
Try playing with the ethernet flow control (also known pause frames) on the server when it is connected at 1Gb/s. The problem is that the extenders max out at 100Mb/s, but the server is running at 1Gb/s. So you are sending from a fire hose to a garden hose, if you will. When the server sends more packets in a burst than the switch can buffer, then it will drop them. When things get dropped, they need to be re-sent, and you get lag. Depending on the switch (and the NIC), enabling / disabling ethernet flow control can change when/where things get dropped, and can possibly solve your issue. I had a similar issue a few years ago when I replaced an HD100 with an HD300.

Disabling pause on the server solved it for me. This was on an AMD server with some $0.99 on-board NIC. When I upgraded the server to one with an Intel NIC, the problem went away entirely. My theory was that the HD100 did not support pause, but the HD300 did. And once it started to send pause frames, it triggered a bug in the pause frame handling on the server. In your case, I could imagine that your old switch did not support pause, but the new one does.



Drew
__________________
Server HW: AMD Ryzen Threadripper 2990WX 32-Core
Server SW: FreeBSD-current, ZFS, linux-oracle-jdk1.8.0, sagetv-server_9.2.2_amd64
Tuner HW: HDHR
Client: Nvidia Shield (HD300, HD100 in storage)
Reply With Quote
  #13  
Old 01-01-2013, 09:37 PM
Wrx4me Wrx4me is offline
Sage Advanced User
 
Join Date: Feb 2005
Location: New York
Posts: 117
Good point Drewg. I am using an on board Realtek NIC
I will try your suggestion later when the days recordings are done. Thanks.
Reply With Quote
  #14  
Old 01-02-2013, 12:57 PM
MattHelm MattHelm is offline
Sage Icon
 
Join Date: Jun 2005
Location: Chicago, IL
Posts: 1,209
Quote:
Originally Posted by drewg View Post
.... This was on an AMD server with some $0.99 on-board NIC. When I upgraded the server to one with an Intel NIC, the problem went away entirely. My theory was that the HD100 did not support pause, but the HD300 did. And once it started to send pause frames, it triggered a bug in the pause frame handling on the server. In your case, I could imagine that your old switch did not support pause, but the new one does. ...
Cheap switches can also cause the same issue. They can ignore the pause, or pause ALL traffic thru them. I had issues with PC to PC file transfers because of this, until I changed to a mid range (~$80) HP switch.
__________________
Server #1= AMD A10-5800, 8G RAM, F2A85-M PRO, 12TB, HDHomerun Prime, HDHR, Colossus (Playback - HD-200)
Server #2= AMD X2 3800+, 2G RAM, M2NPV-VM, 2TB, 3x HDHR OTA (Playback - HD-200)
Reply With Quote
  #15  
Old 01-02-2013, 09:15 PM
Wrx4me Wrx4me is offline
Sage Advanced User
 
Join Date: Feb 2005
Location: New York
Posts: 117
Enabling Flow Control caused a never ending spinning icon so I disabled it and backed the NIC down to 100Mbs.
Reply With Quote
  #16  
Old 01-04-2013, 12:08 PM
drewg drewg is offline
Sage Icon
 
Join Date: Aug 2007
Location: Richmond, VA
Posts: 1,042
Quote:
Originally Posted by MattHelm View Post
Cheap switches can also cause the same issue. They can ignore the pause, or pause ALL traffic thru them. I had issues with PC to PC file transfers because of this, until I changed to a mid range (~$80) HP switch.
And at least some of the HP 10GbE switches take a pause frame as a signal to drop everything in their transmit buffer. Which can be a bit of a bummer..

Drew
__________________
Server HW: AMD Ryzen Threadripper 2990WX 32-Core
Server SW: FreeBSD-current, ZFS, linux-oracle-jdk1.8.0, sagetv-server_9.2.2_amd64
Tuner HW: HDHR
Client: Nvidia Shield (HD300, HD100 in storage)
Reply With Quote
  #17  
Old 01-04-2013, 02:28 PM
MattHelm MattHelm is offline
Sage Icon
 
Join Date: Jun 2005
Location: Chicago, IL
Posts: 1,209
Quote:
Originally Posted by drewg View Post
And at least some of the HP 10GbE switches take a pause frame as a signal to drop everything in their transmit buffer. Which can be a bit of a bummer..

Drew
I hope they plan on fixing that?????
__________________
Server #1= AMD A10-5800, 8G RAM, F2A85-M PRO, 12TB, HDHomerun Prime, HDHR, Colossus (Playback - HD-200)
Server #2= AMD X2 3800+, 2G RAM, M2NPV-VM, 2TB, 3x HDHR OTA (Playback - HD-200)
Reply With Quote
  #18  
Old 01-06-2013, 07:17 PM
drewg drewg is offline
Sage Icon
 
Join Date: Aug 2007
Location: Richmond, VA
Posts: 1,042
Quote:
Originally Posted by MattHelm View Post
I hope they plan on fixing that?????
Not AFAIK. To them, it is a feature, not a bug. They protect themselves from blocking in their core crossbars, and don't technically violate the spec. What they're really trying to do is to protect themselves from a NIC in a crashed host that keeps emitting pause frames forever because the host has crashed & cannot supply more rx buffers. Eventually the switches xmit buffers would fill, then they'd back up & block the crossbars, and the whole switch could be fubar. We actually have a watchdog in our NIC's firmware to turn off flow control if the host has not responded in a "reasonable" amount of time. I only wish other vendors did the same, so that switch vendors did not have to be so paranoid. We seem to have wondered far from the original topic though.. Back to the original topic:

I second the suggestion to try a new switch. Or, if possible, use a higher quality NIC in the server. Intel is generally a good choice (note: I do not work for them. )

Drew
__________________
Server HW: AMD Ryzen Threadripper 2990WX 32-Core
Server SW: FreeBSD-current, ZFS, linux-oracle-jdk1.8.0, sagetv-server_9.2.2_amd64
Tuner HW: HDHR
Client: Nvidia Shield (HD300, HD100 in storage)
Reply With Quote
  #19  
Old 01-07-2013, 10:53 PM
Wrx4me Wrx4me is offline
Sage Advanced User
 
Join Date: Feb 2005
Location: New York
Posts: 117
I plan to pick up a new NIC for the server but in the meantime I am now running the server at a gigabit. The lag is not as bad anymore and I can live with it for now.

The 100mb speed was too slow considering I have 9 tuners, 8 of which are networked.

Yesterday I had 6 recordings going at once on the 2 HD Homerun primes and my network utilization on the server was 146Mb so gigabit gives me more headroom.
Reply With Quote
  #20  
Old 01-13-2013, 05:01 PM
Wrx4me Wrx4me is offline
Sage Advanced User
 
Join Date: Feb 2005
Location: New York
Posts: 117
I replaced my on board NIC with an Intel gigabit PCIE NIC and all the laggy performance has disappeared.
Everything is as smooth as butter once again
It looks like my onboard NIC is on the fritz.
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
User interface HD 300 willemse SageTV HD Theater - Media Player 6 09-02-2010 02:51 PM
Web User Interface ? rileydogmi SageTV Customizations 0 04-16-2010 08:15 PM
Web based user interface ? rileydogmi SageTV Customizations 2 03-03-2010 09:07 AM
User Interface JDizzy SageTV Media Extender 8 04-07-2009 10:07 AM
User interface ya-yas spandox SageTV Beta Test Software 15 02-13-2004 11:18 PM


All times are GMT -6. The time now is 04:34 PM.


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