NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Linux v
« Previous 1 … 28 29 30 31 32 … 34 Next »
System resource use very high

 
  • 0 Vote(s) - 0 Average
System resource use very high
adwsail
Offline

Member

USA
Posts: 56
Threads: 5
Joined: Jan 2020
#1
2020-01-08, 10:29 PM
I noticed my live TV plays very well but the system resources seem really high, the process table says 32-34%. The system load is in the mid 90% range with nearly all of it being 2 instances of ffmpeg. So I checked resource use while playing a prerecorded video. That yielded 33% for the first ffmpeg and 27% for the other with dotnet pulling 3%. The system load is >95% on a quad core Intel i3 3225 running at 3.3Ghz with frequent drop outs and freezes. And that load is across all 4 cores. So I closed the browser and it is still using 34%, server still running, in the process table and a system load of ust under 40%, again the main load is ffmpeg. This seems to me to be wildly excessive.

Doing a server restart but not opening the browser and no scheduled recording occuring, the ffmpeg isn't even using enough. if any, to register. The system load at this point is < 2%. Starting the browser and going to 127.0..., results in the system load being a little bit higher, maybe 4%. Starting livetv and it jumps to 31% ffmpeg process and ~40% system load. Playing a precorded show the single ffmpeg process jumps to 67% with a system load of just under 70%. At this percentage playback is solid with no skips or pauses. There is no second ffmpeg process at this point.

Is it normal for ffmpeg video systems on linux to be such resource hogs?
Dale
Nextpvr, Hauppauge 955Q dual usb tuner, mc2xml with zap2it, Gigabyte H77N Wifi mini-itx, 240Gb ssd, i5-3570s, 8Gb ram, Ubuntu 22.04
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,967
Threads: 956
Joined: May 2006
#2
2020-01-08, 10:36 PM
For an i3 that could be normal on Windows or linux especially with 1080i mpeg2video. I suggested you look at non-transcoding clients yesterday.

Martin
adwsail
Offline

Member

USA
Posts: 56
Threads: 5
Joined: Jan 2020
#3
2020-01-08, 10:47 PM
I didn't see that suggestion. I'll check other posts.
Dale
Nextpvr, Hauppauge 955Q dual usb tuner, mc2xml with zap2it, Gigabyte H77N Wifi mini-itx, 240Gb ssd, i5-3570s, 8Gb ram, Ubuntu 22.04
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,967
Threads: 956
Joined: May 2006
#4
2020-01-08, 11:00 PM
I didn't answer your question https://forums.nextpvr.com/showthread.ph...#pid532467 because there are too many posts here on the same topic. Even the browser during live tv gives you alternative suggestions at the bottom.

Martin
adwsail
Offline

Member

USA
Posts: 56
Threads: 5
Joined: Jan 2020
#5
2020-01-08, 11:29 PM
I see the "How else can I..." at the bottom of the screen but clicking on it does nothing I can see. Is it safe to say looking into a different non-transcoder means a different browser?
Dale
Nextpvr, Hauppauge 955Q dual usb tuner, mc2xml with zap2it, Gigabyte H77N Wifi mini-itx, 240Gb ssd, i5-3570s, 8Gb ram, Ubuntu 22.04
adwsail
Offline

Member

USA
Posts: 56
Threads: 5
Joined: Jan 2020
#6
2020-01-08, 11:31 PM
Never mind, I scrolled down and saw the message. Thanks.
Dale
Nextpvr, Hauppauge 955Q dual usb tuner, mc2xml with zap2it, Gigabyte H77N Wifi mini-itx, 240Gb ssd, i5-3570s, 8Gb ram, Ubuntu 22.04
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,967
Threads: 956
Joined: May 2006
#7
2020-01-08, 11:33 PM
I suggest starting with Kodi.

Martin
adwsail
Offline

Member

USA
Posts: 56
Threads: 5
Joined: Jan 2020
#8
2020-01-08, 11:40 PM
FYI for anyone having this issue VLC plays recorded *.ts files flawlessly at less than 8% system load on my system. It would be real nice if Nextpvr could do this, perhaps some day.
Dale
Nextpvr, Hauppauge 955Q dual usb tuner, mc2xml with zap2it, Gigabyte H77N Wifi mini-itx, 240Gb ssd, i5-3570s, 8Gb ram, Ubuntu 22.04
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,729
Threads: 767
Joined: Nov 2003
#9
2020-01-08, 11:50 PM
(2020-01-08, 11:40 PM)adwsail Wrote: FYI for anyone having this issue VLC plays recorded *.ts files flawlessly at less than 8% system load on my system. It would be real nice if Nextpvr could do this, perhaps some day.
It can - but not in the web app. When you view video in the web app, it needs to transcode it to a format that can be played by the web browser. This is a fairly CPU intensive activity. Most modern systems cope fine, but it does use a fair bit of CPU.

When use a client that plays native streams (not the web app), then you'll get nice low CPU usage.
adwsail
Offline

Member

USA
Posts: 56
Threads: 5
Joined: Jan 2020
#10
2020-01-09, 02:01 AM
And that exactly what Im seeing, <8% system load while viewing a recording in Kodi. I watched nextpvr on win7 over kodi most of the time but I actually prefer the nextpvr interface on windows. But you are correct in that I need to use Kodi on linux. Is there any chance of linux nextpvr evolving into the same functionality of windows nextpvr?
Dale
Nextpvr, Hauppauge 955Q dual usb tuner, mc2xml with zap2it, Gigabyte H77N Wifi mini-itx, 240Gb ssd, i5-3570s, 8Gb ram, Ubuntu 22.04
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (2): 1 2 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  Improving System Stability ChemSciGuy 7 935 2023-12-01, 04:10 AM
Last Post: mvallevand
  Moving NextPVR to new system (linux) cyber 17 2,713 2023-01-15, 04:04 PM
Last Post: cyber
  Missed recordings - System.OutOfMemoryException ceejayemm 2 933 2021-07-03, 06:19 PM
Last Post: mvallevand
  PCI and USB tuners on same system mcbloggs 6 1,812 2021-03-12, 06:07 AM
Last Post: sub
  Nextpvr system user VCR58 6 2,646 2019-12-07, 02:30 AM
Last Post: mvallevand

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode