Delivery-Date: Thu, 25 Feb 2016 21:08:59 -0500
Return-Path: <tor-talk-bounces@lists.torproject.org>
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on moria.seul.org
X-Spam-Level: 
X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED,
	DKIM_SIGNED,FREEMAIL_FROM,RCVD_IN_DNSWL_MED,T_DKIM_INVALID,T_RP_MATCHES_RCVD
	autolearn=ham version=3.3.1
X-Original-To: archiver@seul.org
Delivered-To: archiver@seul.org
Received: from eugeni.torproject.org (eugeni.torproject.org [38.229.72.13])
	(using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by khazad-dum.seul.org (Postfix) with ESMTPS id F0F941E07E8;
	Thu, 25 Feb 2016 21:08:57 -0500 (EST)
Received: from eugeni.torproject.org (localhost [127.0.0.1])
	by eugeni.torproject.org (Postfix) with ESMTP id 2832539AC9;
	Fri, 26 Feb 2016 02:08:54 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
 by eugeni.torproject.org (Postfix) with ESMTP id 88E2F39AC0
 for <tor-talk@lists.torproject.org>; Fri, 26 Feb 2016 02:08:50 +0000 (UTC)
X-Virus-Scanned: Debian amavisd-new at 
Received: from eugeni.torproject.org ([127.0.0.1])
 by localhost (eugeni.torproject.org [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id afTKDrB0UPhI for <tor-talk@lists.torproject.org>;
 Fri, 26 Feb 2016 02:08:50 +0000 (UTC)
Received: from mail-lf0-x22d.google.com (mail-lf0-x22d.google.com
 [IPv6:2a00:1450:4010:c07::22d])
 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
 (Client CN "smtp.gmail.com",
 Issuer "Google Internet Authority G2" (not verified))
 by eugeni.torproject.org (Postfix) with ESMTPS id 3540B39ABF
 for <tor-talk@lists.torproject.org>; Fri, 26 Feb 2016 02:08:48 +0000 (UTC)
Received: by mail-lf0-x22d.google.com with SMTP id 78so44751562lfy.3
 for <tor-talk@lists.torproject.org>; Thu, 25 Feb 2016 18:08:48 -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=AbFam6+Sv5+NEoCmVFwbplVWPJYdUD4vkMcPRjiVJ7M=;
 b=yOPYC3i7MAMYPhAKwDXV/R6p2/1MdSOn9rvAlxrrawaZSX1nNhEZAYbseyuCbs+/Q3
 6+8JR0wqQYjt7JFDiHOtE4NAonFaI9Z4n+4r/EAC1Ec14EWTwmjaouw5+OKKXb/8KvkL
 JiCL0+3fhfPBdqCcM8EbyBlnOF6Rs1JxnNe5lhHO/CQdtOXsj58cjxKOs6pfLt54ae7q
 GTGGv9gdM5PWXPH+k5+EdsRt4EvwhK5l6tTVAAKIwvvB4kfFyze5tzP3qAui8epkkFdO
 2knpW/lAppWM4glEGlDzsew/EXJTF5sIf8ET+UYkgua5Ey3YXS1cQAPHDBXRgOLBQMOG
 9etw==
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=AbFam6+Sv5+NEoCmVFwbplVWPJYdUD4vkMcPRjiVJ7M=;
 b=Iq93H+C9ZoTGLEGZ2Hv24BPFuNTagNfvjicnbnpr4vL4vYfkNsS0/Zijn8fNhFWAoc
 EEq3vRQPrlnAhO6dSqulWKQq4Lm1IJ4+TEHMoZJdKBzkE3ueLGNCggZ6Rs0TAsQ2VxWO
 k0R4GYQz99KJwpyEnFEhJuddVkSGzk8EncRuuGU/PU5rhQWtrZUtoZIurPKyTVJkbPUL
 axn293wcn1lovNcAQKM8r7HVEr03Lk6UIkC8/eqFzCiAlHkuG04n6uYVi2m3hIuugOMs
 ScmqBKNsGuz4B9y/koI5OTKwlRK5vAB53ni1l4VaqMtVGZkNG/j1ExZv1QJtZAjtKa1M
 0clw==
X-Gm-Message-State: AG10YOS41V7gQ8aBnHcJrtoVea6RPE+6KNZEwi52sat4h2H78mex1Xt3iOL9vUxny3rsXEf7goucEUhRrxFFDA==
MIME-Version: 1.0
X-Received: by 10.25.168.67 with SMTP id r64mr14622015lfe.104.1456452525203;
 Thu, 25 Feb 2016 18:08:45 -0800 (PST)
Received: by 10.25.87.12 with HTTP; Thu, 25 Feb 2016 18:08:44 -0800 (PST)
In-Reply-To: <20160226051104.5a244201@natsu>
References: <CAO7N=i2t4xF7K46xi==XM=C2Nk-HhJj4Ywtp+0J8ee_b7xbDEQ@mail.gmail.com>
 <20160226051104.5a244201@natsu>
Date: Fri, 26 Feb 2016 03:08:44 +0100
Message-ID: <CAJVRA1T1dsAFBKS0BNbQH6=FFxLd_EXFGrTN-VHSqSa2G0wB3A@mail.gmail.com>
From: coderman <coderman@gmail.com>
To: tor-talk@lists.torproject.org
Cc: Ryan Carboni <ryacko@gmail.com>
Subject: Re: [tor-talk] FPGA Tor Relay
X-BeenThere: tor-talk@lists.torproject.org
X-Mailman-Version: 2.1.15
Precedence: list
Reply-To: tor-talk@lists.torproject.org
List-Id: "all discussion about theory, design,
 and development of Onion Routing" <tor-talk.lists.torproject.org>
List-Unsubscribe: <https://lists.torproject.org/cgi-bin/mailman/options/tor-talk>, 
 <mailto:tor-talk-request@lists.torproject.org?subject=unsubscribe>
List-Archive: <http://lists.torproject.org/pipermail/tor-talk/>
List-Post: <mailto:tor-talk@lists.torproject.org>
List-Help: <mailto:tor-talk-request@lists.torproject.org?subject=help>
List-Subscribe: <https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-talk>, 
 <mailto:tor-talk-request@lists.torproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: tor-talk-bounces@lists.torproject.org
Sender: "tor-talk" <tor-talk-bounces@lists.torproject.org>

On 2/26/16, Roman Mamedov <rm@romanrm.net> wrote:
> ...
> Maybe I'm missing something, how anything you do inside your server (run
> Tor
> on CPU, GPU, FPGA or magic fairies) will reduce your *bandwidth* costs?

more machines to saturate a gig link.
 in theory, future Tor will handle 10GigE at speed on single host :)



> - Tor is already sped up immensely if you use a CPU which has the hardware
> AES
>   acceleration, i.e. almost any modern x86 CPU. (Not sure if there are any
>   other operations you could offload to FPGA, or if FPGA could be faster
> than
>   an AES-NI CPU at AES.)

compression is the other area FPGA offload could assist with Tor as
is. more important is to make Tor concurrent(well threaded), then
focus on the exotic offloads...



> - ...then you could optimize Tor to use more than ~1.3-1.5 of a CPU core at
>   most as it does currently to scale further, as many modern CPUs easily
> have
>   6-8 cores. (This is likely easier than rewriting it to use FPGA).

aha, the thread need stated! carry on,



> In the end, if you could just fully load 8 cores of a humble $170 AES-NI
> CPU, I
> believe this should be already enough to process a full gigabit of traffic,


there used to be someone keeping track of the current node capacity
king pin. i don't recall what a saturated gigabit needed in terms of
HW...


best regards,
-- 
tor-talk mailing list - tor-talk@lists.torproject.org
To unsubscribe or change other settings go to
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-talk

