Re: NetMap in OpenBSD

2014-10-14 Thread Raimundo Santos
Sorry, replied to fast and to OP only. Below is one use case and a lot o things that Henning have said, put from my point of view. -- Forwarded message -- From: Raimundo Santos Date: 14 October 2014 15:02 Subject: Re: NetMap in OpenBSD To: Mikael On 14 October 2014 11:33

Re: NetMap in OpenBSD

2014-10-14 Thread Henning Brauer
* Henning Brauer [2014-10-14 20:52]: > netmap is luigi's research framework, and he used it for some cool > research an sure will do so more in the future. no more, no less. I should clarify: I am aware of a few use cases that profit enormously from netmap. Let's look at what netmap really is, p

Re: NetMap in OpenBSD

2014-10-14 Thread Henning Brauer
* Mikael [2014-10-14 16:35]: > 2014-10-14 16:15 GMT+02:00 Henning Brauer : > > > i.e. there's no way for a userland application to do high speed > > > packet-level IO. > > there are plenty of methods actually. > Like what? bpf, for example. but since you still don't mention what problem you're t

Re: NetMap in OpenBSD

2014-10-14 Thread Jan Stary
On Oct 14 16:33:23, mikael.tr...@gmail.com wrote: > Most devices in a system can be accessed with good performance from > userland as it is now, for instance block devices, USB, serial ports, video > and audio. Repeat after me: userland is not supposed to "access devices". It is supposed to talk t

Re: NetMap in OpenBSD

2014-10-14 Thread Mikael
2014-10-14 16:15 GMT+02:00 Henning Brauer : > > Of course, OBSD has a very good stack as it is, but it has no NetMap > > functionality > > yeah, and that is good. netmap bypasses teh stack and you look at > reimplementing the stack in userland, repeating mistakes, bugs and > whatnot from many deca

Re: NetMap in OpenBSD

2014-10-14 Thread Henning Brauer
* Mikael [2014-10-14 14:57]: > 2014-10-14 11:02 GMT+02:00 Henning Brauer : > > > * Mikael [2014-10-14 10:24]: > > > NetMap (http://info.iet.unipi.it/~luigi/netmap/) in OpenBSD would be a > > > great idea. > > We kinda like our stack. > Of course, OBSD has

Re: NetMap in OpenBSD

2014-10-14 Thread sven falempin
On Tue, Oct 14, 2014 at 8:55 AM, Mikael wrote: > Dear Henning, > > Thank you for your thoughtful response. > > 2014-10-14 11:02 GMT+02:00 Henning Brauer : > > > * Mikael [2014-10-14 10:24]: > > > NetMap (http://info.iet.unipi.it/~luigi/netmap/) in Op

Re: NetMap in OpenBSD

2014-10-14 Thread Mikael
Dear Henning, Thank you for your thoughtful response. 2014-10-14 11:02 GMT+02:00 Henning Brauer : > * Mikael [2014-10-14 10:24]: > > NetMap (http://info.iet.unipi.it/~luigi/netmap/) in OpenBSD would be a > > great idea. > We kinda like our stack. > Of course, OBSD has

Re: NetMap in OpenBSD

2014-10-14 Thread Henning Brauer
* Mikael [2014-10-14 10:24]: > NetMap (http://info.iet.unipi.it/~luigi/netmap/) in OpenBSD would be a > great idea. for what? to create even more broken userland networking stuff? We kinda like our stack. > What's the interest out there for NetMap on OBSD? roughly somewhere betw

NetMap in OpenBSD

2014-10-14 Thread Mikael
NetMap (http://info.iet.unipi.it/~luigi/netmap/) in OpenBSD would be a great idea. It's a simple API for solving an important problem, at least its core parts. Is OBSD's kernel structure suited as it is for NetMap? What's the interest out there for NetMap on OBSD? Thanks, Mikael