Re: tun TUNDOIOVEC ioctl

2014-07-11 Thread Henning Brauer
* Matthew Dempsky matt...@dempsky.org [2014-07-10 22:56]: On Thu, Jul 10, 2014 at 1:20 PM, Ted Unangst t...@tedunangst.com wrote: Thoughts? Seems kind of hacky to me, but if it results in significant performance improvements in real world uses, then I could be swayed since it's not very

tun TUNDOIOVEC ioctl

2014-07-10 Thread Ted Unangst
I'm not really expecting tun to provide blistering performance, but one of the things that keeps it slower than need be is the one packet per read/write implementation. It'd be pretty cool to have something like readv() or writev() provide the ability to operate on multiple packets at once.

Re: tun TUNDOIOVEC ioctl

2014-07-10 Thread Matthew Dempsky
On Thu, Jul 10, 2014 at 1:20 PM, Ted Unangst t...@tedunangst.com wrote: Thoughts? Seems kind of hacky to me, but if it results in significant performance improvements in real world uses, then I could be swayed since it's not very intrusive either.