2013/8/26 Davide Italiano <dav...@freebsd.org>:
> Please consider the following patch:
> http://people.freebsd.org/~davide/review/socket_timeout.diff
> I've tested it and it works OK. I got a timeout which is ~= 25ms using
> the testcase provided by the user.
> The only doubt I have is about the range check, I've changed a bit
> because the 'integer' part of sbintime_t fits in 32-bits, but I'm not
> sure it's the best way of doing this.

Nice, that worked for me! I got ~26ms timeouts in average on my VM.

> On Fri, Aug 23, 2013 at 7:04 AM, Vitja Makarov <vitja.maka...@gmail.com> 
> wrote:
>> 2013/8/23 Davide Italiano <dav...@freebsd.org>:
>>
>> I think that for socket's timeouts it's ok to have a HZ-precision. It
>> would be much more important to implement high-precision timeouts for
>> select() and friends, if it's not done yet (sorry I'm running 9.1).
>>
>
> JFYI, select()/usleep()/etc... are all fine grained right now in HEAD.
>

That's cool! Does that mean that FreeBSD 10 would be a tickless system?

-- 
vitja.
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Reply via email to