[Live-devel] optimising openRTSP
Anoop P.A.
Anoop_P.A at pmc-sierra.com
Wed Oct 29 04:51:37 PDT 2008
Hi Ross,
If I use 30 fps stream ( 32 KB frame size and 16 channels)
ReorderingPacketBuffer::storePacket(BufferedPacket*)
is taking around 13 % time.
I am having 512 MB Ram in my box. And no other service is running.
I am running openRTSP with following options
./openRTSP -Q -b 32000 -F vid-56-$i -d 1800 rtsp://172.16.48.50:$i/TestJpeg >& log56-$i &
Thanks
Anoop
________________________________
From: live-devel-bounces at ns.live555.com [mailto:live-devel-bounces at ns.live555.com] On Behalf Of Anoop P.A.
Sent: Wednesday, October 29, 2008 3:24 PM
To: LIVE555 Streaming Media - development & use
Subject: Re: [Live-devel] optimising openRTSP
Hi Ross,
I have profiled my system and found that around 8.7 % time is being spend in Reordering Packet Buffer <<OpenRTSP_profiling.log>>
VMA samples %time App-name Symbol-name
00465778 35862 8.7658 openRTSP ReorderingPacketBuffer::storePacket(BufferedPacket*)
And around 3.4 % time is being spend in
00463ac8 13521 3.3049 openRTSP seqNumLT(unsigned short, unsigned short)
I am attaching entire oprofilelog for openRTSP log kindly help me with some suggestion to dig out the problem
PS. These logs captured while recording 16 mjpeg streams (each with 20 FPS and 32KB framesize)
Thanks
Anoop
-----Original Message-----
From: live-devel-bounces at ns.live555.com [mailto:live-devel-bounces at ns.live555.com] On Behalf Of Ross Finlayson
Sent: Thursday, October 16, 2008 7:02 PM
To: LIVE555 Streaming Media - development & use
Subject: Re: [Live-devel] optimising openRTSP
>I have cross compiled openRTSP for mips platform and I am using its for
>recording mjpeg streams(30fps frame rate 32kb frame size). I need to run
>multiple instances of this client ( say 16). But the problem is one
>openRTSP client consuming around 12% of CPU time.
That's strange, considering that the application - after it does the
RTSP protocol exchange - does little more than sitting in a loop,
reading data from a network socket and then writing it to a
file. (It also adds a JPEG header for each frame.)
> So it is difficult to
>run more than 6 clients sessions without considerable packet loss. How
>do I optimize openRTSP application??
I don't know. You're first going to have to figure out where it's
spending most of its CPU time, and why.
Ross Finlayson
Live Networks, Inc. (LIVE555.COM)
<http://www.live555.com/>
_______________________________________________
live-devel mailing list
live-devel at lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20081029/937e32bf/attachment-0001.html>
More information about the live-devel
mailing list