RES: RES: KQueue vs Select (NetMap)

2014-05-29 Thread Fred Pedrisa
Ok. Thanks for the enlightenment :) -Mensagem original- De: owner-freebsd-curr...@freebsd.org [mailto:owner-freebsd-curr...@freebsd.org] Em nome de Jan Bramkamp Enviada em: quinta-feira, 29 de maio de 2014 18:55 Para: 'freebsd-current' Assunto: Re: RES: KQueue vs Select (N

Re: RES: KQueue vs Select (NetMap)

2014-05-29 Thread Jan Bramkamp
On 29.05.2014 06:57, Fred Pedrisa wrote: > Hello, > > There are 4 threads, and a total of 32 FDs. What do you think ? > > -Mensagem original- > De: owner-freebsd-curr...@freebsd.org > [mailto:owner-freebsd-curr...@freebsd.org] Em nome de Adrian Chadd > Enviada em: quinta-feira, 29 de maio

Re: RES: KQueue vs Select (NetMap)

2014-05-28 Thread Adrian Chadd
what he said. -a On 28 May 2014 22:02, Peter Wemm wrote: > On Thursday 29 May 2014 01:57:38 Fred Pedrisa wrote: >> Hello, >> >> There are 4 threads, and a total of 32 FDs. What do you think ? > > I think it is time for you to try it and find out... > > I suspect it wouldn't make much differenc

Re: RES: KQueue vs Select (NetMap)

2014-05-28 Thread Peter Wemm
On Thursday 29 May 2014 01:57:38 Fred Pedrisa wrote: > Hello, > > There are 4 threads, and a total of 32 FDs. What do you think ? I think it is time for you to try it and find out... I suspect it wouldn't make much difference at all if you just implement select semantics with kqueue. > -

RES: KQueue vs Select (NetMap)

2014-05-28 Thread Fred Pedrisa
Hello, There are 4 threads, and a total of 32 FDs. What do you think ? -Mensagem original- De: owner-freebsd-curr...@freebsd.org [mailto:owner-freebsd-curr...@freebsd.org] Em nome de Adrian Chadd Enviada em: quinta-feira, 29 de maio de 2014 01:52 Para: Fred Pedrisa Cc: freebsd-current; Ja

RES: KQueue vs Select (NetMap)

2014-05-28 Thread Fred Pedrisa
Hello, Ok, but in practice, is there any performance gain by moving from select to kQueue implementation ? Or is it not significant at all ? -Mensagem original- De: adrian.ch...@gmail.com [mailto:adrian.ch...@gmail.com] Em nome de Adrian Chadd Enviada em: quinta-feira, 29 de maio de 201

RES: KQueue vs Select (NetMap)

2014-05-28 Thread Fred Pedrisa
Hello, Yes, but kqueue support was added in recent commits as it says in the netmap changelog, is there any advantage ? -Mensagem original- De: owner-freebsd-curr...@freebsd.org [mailto:owner-freebsd-curr...@freebsd.org] Em nome de Jan Bramkamp Enviada em: quinta-feira, 29 de maio de 2014