Need Answer

Streaming Performance

Addison Newton shared this question 6 months ago

I'm curious if there is anything else that I can do to my server to increase the performance of live streaming. On ethernet and the same switch as the server, the client reports 1-3 FPS.

The server, while not the best thing in the world, seems to handle other streaming without any issue. I've played with Plex and I can stream 1080p to the roku with never a hiccup. Card is BC-H08240A

Server Stats:

sentry:~$ cat /proc/cpuinfo

processor : 0

vendor_id : GenuineIntel

cpu family : 6

model : 58

model name : Intel(R) Pentium(R) CPU G2030 @ 3.00GHz

stepping : 9

microcode : 0x17

cpu MHz : 1600.000

cache size : 3072 KB

sentry:~$ cat /proc/cpuinfo

processor : 0

vendor_id : GenuineIntel

cpu family : 6

model : 58

model name : Intel(R) Pentium(R) CPU G2030 @ 3.00GHz

stepping : 9

microcode : 0x17

cpu MHz : 1600.000

cache size : 3072 KB

nester@sentry:~$ free

total used free shared buffers cached

Mem: 8064324 7907528 156796 91196 148508 6004664

-/+ buffers/cache: 1754356 6309968

Swap: 4080636 18680 4061956

Comments (4)

photo
1

Hello Addison,

how many cameras do you have streamed simultaneously?

Can you please check CPU usage both on client and server? Using "top" utility or some other program, like system monitor provided by you desktop environment.

Do you have motion detection enabled on server?

What CPU do you use on client?

photo
1

CPU on client is 4th Gen Intel® Core™ i5-4200U (1.60GHz 1600MHz 3MB), 8GB PC3-12800 DDR3L 1600 MHz, and SSD HD. I will have to check the cpu usage when I get home. It doesn't seem to have any impact on the client pc in terms of usability. There's no difference in quality/performance if I close all other apps.

I don't recall what the typical load average is on the server, but it doesn't seem to be overly taxed. Again, I'll check it when I get home today.

I do use motion detection and I have 5-6 cameras running. It's 5 right now due to a wiring failure on one of the cameras. I still have the camera enabled, but all you see is black. I'm in the process of "getting around to it." LOL.

If I'm in the house, I typically stream 4 cameras at a time, however I've not seen an appreciable difference in performance between 1 cam and all 6 simultaneously. On my iPad using ipcamviewer, one or all, it's low FPS.

I'd think at that point it'd be the service, but everything else is snappy on the machine. It can transcode HD movies and stream them no big deal. I'll give more info when I am in front of the box.

photo
1

I have attached two screenshots showing the load on both the client and the server. Server appears to be unfazed, and the client seems to be nearly idle.

I also attached one other of me transferring a 2.1GB file from the server to client.. The server still doesn't seem to care, but the client was running at 99% cpu.

Open to any suggestions. Obviously the network connection is not the issue. :)

photo
1

Do you experience this low FPS issue from the beginning? Did you upgrade system/kernel packages recently on server side? I recommend you to contact support at support@bluecherrydvr.com