public inbox for developer@lists.illumos.org (since 2011-08)
 help / color / mirror / Atom feed
* 7061, 7062 Time Wait Improvements
@ 2016-06-06 17:40 Robert Mustacchi
  2016-06-06 19:33 ` [developer] " Garrett D'Amore
  2016-06-06 20:06 ` Josef 'Jeff' Sipek
  0 siblings, 2 replies; 7+ messages in thread
From: Robert Mustacchi @ 2016-06-06 17:40 UTC (permalink / raw)
  To: illumos Developer

https://us-east.manta.joyent.com/rmustacc/public/webrevs/7062/index.html

Work by Patrick Mooney. See the older thread "Feedback wanted - Overhaul
TIME_WAIT expiration"​ for more background.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [developer] 7061, 7062 Time Wait Improvements
  2016-06-06 17:40 7061, 7062 Time Wait Improvements Robert Mustacchi
@ 2016-06-06 19:33 ` Garrett D'Amore
  2016-06-06 19:56   ` Patrick Mooney
  2016-06-06 20:06 ` Josef 'Jeff' Sipek
  1 sibling, 1 reply; 7+ messages in thread
From: Garrett D'Amore @ 2016-06-06 19:33 UTC (permalink / raw)
  To: Robert Mustacchi; +Cc: illumos Developer

[-- Attachment #1: Type: text/plain, Size: 896 bytes --]

I think I looked at this before,  In any event I’ve gone back over it
again.  I’m not super thrilled with use of ddi_get_lbolt64(), mostly
because I think we’ve tried pretty hard to avoid referencing lbolt in other
projects (tickless work did a lot of cleanups there), but I guess its ok.
 (A better alternative, IMO, would be gethrtime().  Once upon a time
ddi_get_lbolt() was faster, but with modern illumos / Solaris that’s no
longer true, since there is no longer a global lbolt variable.)

Modulo that relatively minor complaint, it looks good, and is well
documented to boot.  Thanks.

On Mon, Jun 6, 2016 at 10:40 AM, Robert Mustacchi <rm@joyent.com> wrote:

> https://us-east.manta.joyent.com/rmustacc/public/webrevs/7062/index.html
> 
> Work by Patrick Mooney. See the older thread "Feedback wanted - Overhaul
> TIME_WAIT expiration"​ for more background.
> 

[-- Attachment #2: Type: text/html, Size: 1508 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [developer] 7061, 7062 Time Wait Improvements
  2016-06-06 19:33 ` [developer] " Garrett D'Amore
@ 2016-06-06 19:56   ` Patrick Mooney
  2016-06-06 23:02     ` Garrett D'Amore
  0 siblings, 1 reply; 7+ messages in thread
From: Patrick Mooney @ 2016-06-06 19:56 UTC (permalink / raw)
  To: Garrett D'Amore; +Cc: Robert Mustacchi, illumos Developer

[-- Attachment #1: Type: text/plain, Size: 1543 bytes --]

I used lbolt to be consistent with the surrounding code.  Switching it to
use hrtime wouldn't be difficult, but I would propose that be part of a
larger (separate) effort to clean up the inet stack where possible.

Thanks for taking a look.

On 6 June 2016 at 14:33, Garrett D'Amore <garrett@damore.org> wrote:

> I think I looked at this before,  In any event I’ve gone back over it
> again.  I’m not super thrilled with use of ddi_get_lbolt64(), mostly
> because I think we’ve tried pretty hard to avoid referencing lbolt in other
> projects (tickless work did a lot of cleanups there), but I guess its ok.
>  (A better alternative, IMO, would be gethrtime().  Once upon a time
> ddi_get_lbolt() was faster, but with modern illumos / Solaris that’s no
> longer true, since there is no longer a global lbolt variable.)
>
> Modulo that relatively minor complaint, it looks good, and is well
> documented to boot.  Thanks.
>
> On Mon, Jun 6, 2016 at 10:40 AM, Robert Mustacchi <rm@joyent.com> wrote:
>
>> https://us-east.manta.joyent.com/rmustacc/public/webrevs/7062/index.html
>>
>> Work by Patrick Mooney. See the older thread "Feedback wanted - Overhaul
>> TIME_WAIT expiration"​ for more background.
>>
>>
>> http://www.listbox.com
>>
>
> *illumos-developer* | Archives
> <https://www.listbox.com/member/archive/182179/=now>
> <https://www.listbox.com/member/archive/rss/182179/26936138-1705e021> |
> Modify
> <https://www.listbox.com/member/?&>
> Your Subscription <http://www.listbox.com>
>

[-- Attachment #2: Type: text/html, Size: 2201 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [developer] 7061, 7062 Time Wait Improvements
  2016-06-06 17:40 7061, 7062 Time Wait Improvements Robert Mustacchi
  2016-06-06 19:33 ` [developer] " Garrett D'Amore
@ 2016-06-06 20:06 ` Josef 'Jeff' Sipek
  2016-06-06 20:07   ` Patrick Mooney
  1 sibling, 1 reply; 7+ messages in thread
From: Josef 'Jeff' Sipek @ 2016-06-06 20:06 UTC (permalink / raw)
  To: Robert Mustacchi; +Cc: illumos Developer

FWIW, it looks like this got 7061 bundled in by accident.

Jeff.

On Mon, Jun 06, 2016 at 10:40:07 -0700, Robert Mustacchi wrote:
> https://us-east.manta.joyent.com/rmustacc/public/webrevs/7062/index.html
> 
> Work by Patrick Mooney. See the older thread "Feedback wanted - Overhaul
> TIME_WAIT expiration"​ for more background.
> 

-- 
All parts should go together without forcing.  You must remember that the
parts you are reassembling were disassembled by you.  Therefore, if you
can’t get them together again, there must be a reason.  By all means, do not
use a hammer.
                — IBM Manual, 1925


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [developer] 7061, 7062 Time Wait Improvements
  2016-06-06 20:06 ` Josef 'Jeff' Sipek
@ 2016-06-06 20:07   ` Patrick Mooney
  2016-06-06 20:23     ` Josef 'Jeff' Sipek
  0 siblings, 1 reply; 7+ messages in thread
From: Patrick Mooney @ 2016-06-06 20:07 UTC (permalink / raw)
  To: Josef 'Jeff' Sipek; +Cc: Robert Mustacchi, illumos Developer

It's intentional.  Being fairly intertwined, the two changes were put
back together.

On 6 June 2016 at 15:06, Josef 'Jeff' Sipek <jeffpc@josefsipek.net> wrote:
> FWIW, it looks like this got 7061 bundled in by accident.
>
> Jeff.
>
> On Mon, Jun 06, 2016 at 10:40:07 -0700, Robert Mustacchi wrote:
>> https://us-east.manta.joyent.com/rmustacc/public/webrevs/7062/index.html
>>
>> Work by Patrick Mooney. See the older thread "Feedback wanted - Overhaul
>> TIME_WAIT expiration" for more background.
>>
> 
> --
> All parts should go together without forcing.  You must remember that the
> parts you are reassembling were disassembled by you.  Therefore, if you
> can’t get them together again, there must be a reason.  By all means, do not
> use a hammer.
>                 — IBM Manual, 1925
> 


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [developer] 7061, 7062 Time Wait Improvements
  2016-06-06 20:07   ` Patrick Mooney
@ 2016-06-06 20:23     ` Josef 'Jeff' Sipek
  0 siblings, 0 replies; 7+ messages in thread
From: Josef 'Jeff' Sipek @ 2016-06-06 20:23 UTC (permalink / raw)
  To: Patrick Mooney; +Cc: Robert Mustacchi, illumos Developer

On Mon, Jun 06, 2016 at 15:07:50 -0500, Patrick Mooney wrote:
> It's intentional.  Being fairly intertwined, the two changes were put
> back together.

Sigh... I should stop reviewing for the day.  I confused the 7061 change
with the keepalive tcp_tunables.c change (7064) in the other review.

Jeff.

> On 6 June 2016 at 15:06, Josef 'Jeff' Sipek <jeffpc@josefsipek.net> wrote:
> > FWIW, it looks like this got 7061 bundled in by accident.
> >
> > Jeff.
> >
> > On Mon, Jun 06, 2016 at 10:40:07 -0700, Robert Mustacchi wrote:
> >> https://us-east.manta.joyent.com/rmustacc/public/webrevs/7062/index.html
> >>
> >> Work by Patrick Mooney. See the older thread "Feedback wanted - Overhaul
> >> TIME_WAIT expiration" for more background.
> >>
> > 
> > --
> > All parts should go together without forcing.  You must remember that the
> > parts you are reassembling were disassembled by you.  Therefore, if you
> > can’t get them together again, there must be a reason.  By all means, do not
> > use a hammer.
> >                 — IBM Manual, 1925
> > 

-- 
Failure is not an option,
It comes bundled with your Microsoft product.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [developer] 7061, 7062 Time Wait Improvements
  2016-06-06 19:56   ` Patrick Mooney
@ 2016-06-06 23:02     ` Garrett D'Amore
  0 siblings, 0 replies; 7+ messages in thread
From: Garrett D'Amore @ 2016-06-06 23:02 UTC (permalink / raw)
  To: Patrick Mooney; +Cc: Robert Mustacchi, illumos Developer

[-- Attachment #1: Type: text/plain, Size: 1730 bytes --]

That sounds quite reasonable to me.  Thanks. ;-)

On Mon, Jun 6, 2016 at 12:56 PM, Patrick Mooney <patrick.mooney@joyent.com>
wrote:

> I used lbolt to be consistent with the surrounding code.  Switching it to
> use hrtime wouldn't be difficult, but I would propose that be part of a
> larger (separate) effort to clean up the inet stack where possible.
>
> Thanks for taking a look.
>
> On 6 June 2016 at 14:33, Garrett D'Amore <garrett@damore.org> wrote:
>
>> I think I looked at this before,  In any event I’ve gone back over it
>> again.  I’m not super thrilled with use of ddi_get_lbolt64(), mostly
>> because I think we’ve tried pretty hard to avoid referencing lbolt in other
>> projects (tickless work did a lot of cleanups there), but I guess its ok.
>>  (A better alternative, IMO, would be gethrtime().  Once upon a time
>> ddi_get_lbolt() was faster, but with modern illumos / Solaris that’s no
>> longer true, since there is no longer a global lbolt variable.)
>>
>> Modulo that relatively minor complaint, it looks good, and is well
>> documented to boot.  Thanks.
>>
>> On Mon, Jun 6, 2016 at 10:40 AM, Robert Mustacchi <rm@joyent.com> wrote:
>>
>>> https://us-east.manta.joyent.com/rmustacc/public/webrevs/7062/index.html
>>>
>>> Work by Patrick Mooney. See the older thread "Feedback wanted - Overhaul
>>> TIME_WAIT expiration"​ for more background.
>>>
>>>
>>> http://www.listbox.com
>>>
>>
>> *illumos-developer* | Archives
>> <https://www.listbox.com/member/archive/182179/=now>
>> <https://www.listbox.com/member/archive/rss/182179/26936138-1705e021> |
>> Modify
>> <https://www.listbox.com/member/?&>
>> Your Subscription <http://www.listbox.com>
>>
>
>

[-- Attachment #2: Type: text/html, Size: 2714 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2016-06-06 23:02 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-06 17:40 7061, 7062 Time Wait Improvements Robert Mustacchi
2016-06-06 19:33 ` [developer] " Garrett D'Amore
2016-06-06 19:56   ` Patrick Mooney
2016-06-06 23:02     ` Garrett D'Amore
2016-06-06 20:06 ` Josef 'Jeff' Sipek
2016-06-06 20:07   ` Patrick Mooney
2016-06-06 20:23     ` Josef 'Jeff' Sipek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).