k,
-bkruse
- Original Message -
From: "Kevin P. Fleming" <[EMAIL PROTECTED]>
To: "Asterisk Developers Mailing List"
Sent: Monday, May 14, 2007 5:38:09 PM (GMT-0800) America/Tijuana
Subject: Re: [asterisk-dev] RTP Bridging optimization
Vadim Lebedev wrote:
> Now
Vadim Lebedev wrote:
> Now, when we agree that it IS possible to use single pipe for multiple
> bridges
> let's look on benefits:
I did not agree that it was possible, I told you it seemed possible but
would likely provide little or no benefit.
> As for now Asterisk when packet arrives on a bri
Kevin P. Fleming wrote:
Vadim Lebedev wrote:
The trick is that the pipe is ALWAYS empty And when we push
something to the pipe, we pull the data from it immideately afterwards.
So you've replaced a pair of read()/write() calls with two calls to
splice()? It's the same number of
Vadim Lebedev wrote:
> The trick is that the pipe is ALWAYS empty And when we push
> something to the pipe, we pull the data from it immideately afterwards.
So you've replaced a pair of read()/write() calls with two calls to
splice()? It's the same number of userspace/kernelspace boundary
cro
Kevin P. Fleming wrote:
Vadim Lebedev wrote:
You're right but only in the case that when you have separtae briding
threads for each direction.
I was thinkin about situation when there is ONE briging theard for two
directions. The you can you the same pipe
for both direction.
No,
Vadim Lebedev wrote:
> You're right but only in the case that when you have separtae briding
> threads for each direction.
> I was thinkin about situation when there is ONE briging theard for two
> directions. The you can you the same pipe
> for both direction.
No, you cannot. How are you going
Tilghman Lesher wrote:
On Sunday 13 May 2007, Kevin P. Fleming wrote:
Vadim Lebedev wrote:
I beleive you are mistaken, the pipe syscals creates 2 file
descirptors, one for reading other for writing
so in worst case you need 2 pipes meaning 4 fds
so first you splice to a write si
I wonder if somebody considered to optimize RTP bridging using spllice
and tee syscalls?
Vadim
___
--Bandwidth and Colocation provided by Easynews.com --
asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mail