From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lyndon Nerenberg To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> In-reply-to: References: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <76388.1539280462.1@orthanc.ca> Date: Thu, 11 Oct 2018 10:54:22 -0700 Message-Id: <7aa20b1cedd55fec@orthanc.ca> Cc: Lyndon Nerenberg Subject: Re: [9fans] PDP11 (Was: Re: what heavy negativity!) Topicbox-Message-UUID: ebede70c-ead9-11e9-9d60-3106f5b1d025 > I have been able to copy 1 GiB/s to userspace from an nvme device. I should > think a radio should be no problem. The problem is when you have multiple decoder blocks implemented as individual processes (i.e. the GNU radio model). Once you have everything debugged, you can put it into a single threaded process and eliminate the copy overhead. But it's completely impractical to prototype or debug real applications this way. And it's the prototyping case I'm interested in here. So I'm *curious* to know if page flipping a 'protocol buffer' like object between processes provides an optimization over copying through the kernel. Not so much for the speed aspect, but to free up CPU cycles that can be devoted to actual SDR work. Since when did curiosity become a capital crime? Oh, wait, that was January 20, 2017. My bad. --lyndon