[Live-devel] Maximum number of client connections Live555 can handle ???

Morgan Tørvolt morgan.torvolt at gmail.com
Mon Jan 22 22:49:08 PST 2007


Hi,

How is your 'system' CPU usage when you have all these connections
(use 'top')? What about disk troughput? Maybe your disks random access
troughput is the limit? The disk read part of live is blocking I
believe. Try making a RAM disk that contains the file and see if that
makes a difference. Could maybe network troughput be the issue? What
happens if you start the 21. client on the server machine?

I have some applications with live, and have no major issues running
50+ clients, but that is while using a satellite tuner as source, and
some other custom changes.

Regards
-Morgan-

On 18/01/07, Ritesh Mittal <ritsgenx at gmail.com> wrote:
> Hi,
>
> I have tested rigrously to find out the reason that why Live555 server stops
> servering large number of clients.
> The architecture of Live555 is like that in the class BasicTaskScheduler,
> function
>
>  void BasicTaskScheduler::SingleStep(unsigned maxDelayTime)
>
>  identifies the active socket and then serve the clinet connected to that
> socket accordinly. I have observed that if there exist any delay in serving
> any client the client stops playing the current stream and we need to
> request to play the stream from start (at the client end).
>
> This is also true when i debug the live555 server code. Since the control of
> the server gets delay because of my break point, the client stops sending
> any request to the server.
>
> I would like to request Ross to test the performance of Live555 at your
> labs. Because i guess when the large number of clients simultaneously
> request for streaming the server can't respond with the desired frequency.
>
> Regards,
> Ritesh Mittal
>
>
>
> On 1/16/07, Morgan Tørvolt <morgan.torvolt at gmail.com> wrote:
> > Have you tried with more that 21 connections? What happens if you
> > start 30 clients? You could script this by using the openRTSP client.
> >
> > -Morgan-
> >
> > On 15/01/07, Ritesh Mittal <ritsgenx at gmail.com> wrote:
> > > Hi Ross,
> > >
> > > I am performing this test on Windows 2000 Server (Standard Edition). The
> > > maximum limit of opening the same file (with "rb+") mode is 509 . This i
> > > have tested by writing a test application which returns NULL to fopen
> call
> > > when it has already opened the same file 509 times.
> > >
> > > Hence, I guess there is some another reason for my query.
> > >
> > > Regards,
> > > Ritesh Mittal
> > >
> > >
> > >
> > >
> > > On 1/15/07, Ross Finlayson < finlayson at live555.com> wrote:
> > > > >I tried to test live555 server on a dual processor machine. I
> > > > >streamed one mpeg-1 file using VLC and real player as clients.
> > > > >I tried to connect multiple clients (on different machines) to the
> > > > >same server (requestion for streaming of an mpeg file). But when the
> > > > >client count reaches 21 the LIVE555 server failed to response for
> > > > >the new connections. The CPU usage of the server machine was nominal
> > > > >(8 to 10 percent) .
> > > >
> > > >
> > > > You appear to have run up against an operating system-imposed limit -
> > > > most likely the number of open files.   I.e., it is probably a limit
> > > > of your operating system, not an inherent limit in the LIVE555 code.
> > > > You may be able to increase this limit by reconfiguring your
> > > > operating system in some way.
> > > > --
> > > >
> > > > Ross Finlayson
> > > > Live Networks, Inc.
> > > > http://www.live555.com/
> > > > _______________________________________________
> > > > live-devel mailing list
> > > > live-devel at lists.live555.com
> > > > http://lists.live555.com/mailman/listinfo/live-devel
> > > >
> > >
> > >
> > > _______________________________________________
> > > live-devel mailing list
> > > live-devel at lists.live555.com
> > > http://lists.live555.com/mailman/listinfo/live-devel
> > >
> > >
> > >
> > _______________________________________________
> > live-devel mailing list
> > live-devel at lists.live555.com
> > http://lists.live555.com/mailman/listinfo/live-devel
> >
>
>
> _______________________________________________
> live-devel mailing list
> live-devel at lists.live555.com
> http://lists.live555.com/mailman/listinfo/live-devel
>
>
>



More information about the live-devel mailing list