From owner-freebsd-hackers@FreeBSD.ORG Wed Apr 3 03:39:19 2013 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 39D17E0; Wed, 3 Apr 2013 03:39:19 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-wi0-x22f.google.com (mail-wi0-x22f.google.com [IPv6:2a00:1450:400c:c05::22f]) by mx1.freebsd.org (Postfix) with ESMTP id 9E37D120; Wed, 3 Apr 2013 03:39:18 +0000 (UTC) Received: by mail-wi0-f175.google.com with SMTP id c10so3189605wiw.2 for ; Tue, 02 Apr 2013 20:39:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=vdc3E4hiHpHvMVHIQMGWZoodcbvrLnNYKaQ2akCm7c8=; b=Ur1jXuDFI630Rf96ojKv3oJJFuri6d0co+GPS4X1OhsXY8zvYNrDlAky7hjHw7IBJw AXHZvBMyumP7L8Mdu9jSUsfA2UtTNFLIY44dNhPdEgTVtlyG9MATXtK5pYMbdnz27DvY yqMUbPMhoKLr5Cb+qj+VSCCu8MrUAGHNwdn5BKiWuFJySipQLX3aUtaCdQaY2VET/tBO xYKto4Mrbw6PWd6LNgDhozON5v0TtwH+nYEEP0HyFZWINDKCb4EC0fSL2kx9ykUmr+rD z/KwWE/LH2JBaFbegZUA+8LCpzkMpu9iBWcJ0Vf06SiM2UqtBr+oos2A6LHbT85lwal3 Pang== MIME-Version: 1.0 X-Received: by 10.194.120.169 with SMTP id ld9mr8493wjb.24.1364960357742; Tue, 02 Apr 2013 20:39:17 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.216.108.130 with HTTP; Tue, 2 Apr 2013 20:39:17 -0700 (PDT) In-Reply-To: <515B9CF0.2060808@freebsd.org> References: <515B9CF0.2060808@freebsd.org> Date: Tue, 2 Apr 2013 20:39:17 -0700 X-Google-Sender-Auth: 4Q6pp5oYJHCjyiqpLmCBH0Zv8kY Message-ID: Subject: Re: Need advice on sys5 shm and zero copy sockets From: Adrian Chadd To: Julian Elischer Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-hackers@freebsd.org, gary mazzaferro X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Apr 2013 03:39:19 -0000 On 2 April 2013 20:07, Julian Elischer wrote: > this sound somewhat like what I did back in the 90s with BSD4.3 > unfortunately it was not done with TCP (or sctp of course) > > what we did was to create a special shared memeory device driver. > Then we added ioctls to the disk driver layer to write named > blocks of memory from that device to the raw device (we didin't use a > filesystem). Funny that. I have to do something like this for this software radio NIC, that does a hundred or so megabytes a second of DMA. Eek. Adrian