From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ig0-x230.google.com (mail-ig0-x230.google.com [IPv6:2607:f8b0:4001:c05::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.bufferbloat.net (Postfix) with ESMTPS id D1F253B30E for ; Fri, 12 Feb 2016 15:17:51 -0500 (EST) Received: by mail-ig0-x230.google.com with SMTP id y8so18228700igp.1 for ; Fri, 12 Feb 2016 12:17:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=l6Kt0ntLh3Wki1n0/wabp61Ea79nVQZERG6mt2JMFbs=; b=kMCgUqvJFMEa0ZkOMZC/OEByNNFWi2du2gPNUXMg0HiT+USo7++jpM9tJtSlrPpnIq 3KkOo44CyeTx3M/zoBqu+sK3fpwJJlGvDKDfTKE70YMG243hC/O+aNSRVZNj99EcYio9 EvTgEqnQFFrjrQaG1gk9GGZ+5KLxruDmmVONvCwI07BJSD+jlHAGM/LkafvutC+o6jCH UCSgjN9jYbzVi3p9tO8TsO61DchC5Pn9tmmtKDQ2qDW2P/s+Y+xVH+IHMYUJDbdJ7PzX w21s+H3SIC1pwijgqQ5SeI3nZS5+LqJYHMiuCnVahoI1fVP1kGKq/WEhvMjJDgrbRXOQ TrBg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=l6Kt0ntLh3Wki1n0/wabp61Ea79nVQZERG6mt2JMFbs=; b=gOiJUXBNlp72TK7ChfTTz1qBhL5pHRSEAVF8klvPAxXWVFlWs9C27qsabmtSm49ZBM 7sUBkmOfM+wT7xVbUhFWtNN2bb6Pi3uzN8EnTO49nGUgMg7XekNQfr9rh4sCy6DdEMjv 1Q6gJktd89xb4u5nZMyTLkcs1jbArVQBarpNeyi6GUAYFbJ93xVwfUQ469hs+doGIQul WtpA4ir6f+d58zleykvAngP2rf0aAvUCL1UylqIW1VJlWVRIdEcPSXYE5lgHJaUmN7tT iYT5si5GxInltKibhm86m+bGNIM9PevxkmVGWIVCX6zSH2qbM8OTUyYLLeJ3o+PURbZP XhVA== X-Gm-Message-State: AG10YORw3XWzrH82ijkMTHLApvY5Bm04W6fPiAn6v/6bOBUfPSuGRnC7RV6gQe9mQJp6mYyY/NJ5qhxKSixg8g== MIME-Version: 1.0 X-Received: by 10.50.2.39 with SMTP id 7mr6170708igr.96.1455308271258; Fri, 12 Feb 2016 12:17:51 -0800 (PST) Received: by 10.79.116.141 with HTTP; Fri, 12 Feb 2016 12:17:51 -0800 (PST) In-Reply-To: <56BE28D0.8050009@taht.net> References: <56BE28D0.8050009@taht.net> Date: Fri, 12 Feb 2016 12:17:51 -0800 Message-ID: From: Aaron Wood To: =?UTF-8?Q?Dave_T=C3=A4ht?= Cc: bloat Content-Type: multipart/alternative; boundary=e89a8f642bd88c14fb052b985c65 Subject: Re: [Bloat] doing better videoconferencing and voip emulation and analysis? X-BeenThere: bloat@lists.bufferbloat.net X-Mailman-Version: 2.1.20 Precedence: list List-Id: General list for discussing Bufferbloat List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Feb 2016 20:17:51 -0000 --e89a8f642bd88c14fb052b985c65 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable scapy (python) should be able to keep up with a voip or video stream. I've been using it to parse packets and do some other manipulations. It's certainly not C, performance-wise, but it's incredibly flexible at the protocol manipulation level. The performance issues that I'm running into with it have me tempted to look for something similar in Go. I'm unencapsulating packets (think stripping packets out of a GRE tunnel), and only able to get about 1000-1200 packets/sec on modest hardware (running in a linux VM hosted on windows on an i5 processor...) -Aaron On Fri, Feb 12, 2016 at 10:47 AM, Dave T=C3=A4ht wrote: > > A *long* while ago I had started at an attempt to do some better voip > and videoconferencing emulation. I stopped primarily due to: > > A) wanting a *good* three way UDP handshake to kick off the protocol > (thus avoiding the DDOS possibilities) > > B) No money > > C) Not wanting to write it in C (and the low level features needed like > sendmmsg and manipulating low level ip header constructs like qos and > ecn seem hard to get at in many other languages) > > D) hoping that some other protocol (like QUIC) could be used for it > instead. > > Anyway, my first attempt at describing what I wanted to do ended up > here, before I realized how much work it would be. > > https://github.com/dtaht/twd/blob/master/rfc/middle.mkd > > And I'm really tempted to go write something new in go or rust (Not C! > Need a break from C!), or leverage some other rtp/sip benchmarking tool. > Has any other libraries or benchmarks shown up worth leveraging to > tackle these problems? > _______________________________________________ > Bloat mailing list > Bloat@lists.bufferbloat.net > https://lists.bufferbloat.net/listinfo/bloat > --e89a8f642bd88c14fb052b985c65 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
scapy (python) should be able to keep up with a voip or vi= deo stream.=C2=A0 I've been using it to parse packets and do some other= manipulations.=C2=A0 It's certainly not C, performance-wise, but it= 9;s incredibly flexible at the protocol manipulation level.

<= div>The performance issues that I'm running into with it have me tempte= d to look for something similar in Go.=C2=A0 I'm unencapsulating packet= s (think stripping packets out of a GRE tunnel), and only able to get about= 1000-1200 packets/sec on modest hardware (running in a linux VM hosted on = windows on an i5 processor...)

-Aaron
<= div class=3D"gmail_extra">
On Fri, Feb 12, 20= 16 at 10:47 AM, Dave T=C3=A4ht <dave@taht.net> wrote:

A *long* while ago I had started at an attempt to do some better voip
and videoconferencing emulation. I stopped primarily due to:

A) wanting a *good* three way UDP handshake to kick off the protocol
(thus avoiding the DDOS possibilities)

B) No money

C) Not wanting to write it in C (and the low level features needed like
sendmmsg and manipulating low level ip header constructs like qos and
ecn seem hard to get at in many other languages)

D) hoping that some other protocol (like QUIC) could be used for it instead= .

Anyway, my first attempt at describing what I wanted to do ended up
here, before I realized how much work it would be.

https://github.com/dtaht/twd/blob/master/rfc/= middle.mkd

And I'm really tempted to go write something new in go or rust (Not C!<= br> Need a break from C!), or leverage some other rtp/sip benchmarking tool. Has any other libraries or benchmarks shown up worth leveraging to
tackle these problems?
_______________________________________________
Bloat mailing list
Bloat@lists.bufferbloat.net<= /a>
https://lists.bufferbloat.net/listinfo/bloat

--e89a8f642bd88c14fb052b985c65--