Re: [streaming] [vlc-devel] VLC Scalability

Rémi Denis-Courmont <[email protected]> Thu, 05 Feb 2009 11:56:36 +0100
Newsgroups gmane.comp.video.videolan.vls.general
Organization Remlab.net
Message-ID <963160372e3aceac026fca4edcbbc6f4__29205.5512116805$1233831514$gmane$org@chewa.net>
On Thu, 5 Feb 2009 11:03:12 +0100, Philip Frey1 <[email protected]> wrote:
> we are running an experiment to evaluate the scalability of the VLC in
RTP
> mode.
> For some reason we find that the server does not scale beyond 330 clients
> no matter what bitrate our movie is (we are streaming Quicktime content).

Increase the process open files limit.

> When streaming Full HD content (~9Mbps), the number of clients is limited
> by the CPU power of the server. When using Standard Definition content
(~1Mbps
> and ~3Mbps), the CPU load increases up to about 330 connected client and
> then dropps suddenly to almost 0 and the clients no longer receive any
data.

You typically need 2 sockets per elementary stream (one for RTP and one for
RTCP), plus one socket per client (for RTSP). The default file limit is
1024 on Linux. You do the math...

Admittedly, we could stick to a single pair of RTP/RTCP sockets for all
clients. But that would potentially cause disasters with kernel-level
socket buffering.

-- 
Rémi Denis-Courmont

_______________________________________________
streaming mailing list
To unsubscribe or modify your subscription options:
http://mailman.videolan.org/listinfo/streaming