Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(4060)

Issue 7384048: code review 7384048: net: speed up network interface manipulations by caching (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 1 month ago by mikio
Modified:
10 years, 10 months ago
CC:
golang-dev
Visibility:
Public.

Description

net: speed up network interface manipulations by caching This CL introduces internal network interface lists to avoid network interface manipulation slow down caused by identifying IPv6 scoped addressing zone at dialing, listening. Update issue 5081.

Patch Set 1 #

Patch Set 2 : diff -r 734059df2768 https://go.googlecode.com/hg/ #

Patch Set 3 : diff -r e14ccb3e4514 https://code.google.com/p/go #

Patch Set 4 : diff -r e14ccb3e4514 https://code.google.com/p/go #

Total comments: 15

Patch Set 5 : diff -r ec0937aebe0a https://code.google.com/p/go #

Unified diffs Side-by-side diffs Delta from patch set Stats (+351 lines, -17 lines) Patch
M src/pkg/net/interface.go View 1 2 3 4 4 chunks +21 lines, -17 lines 0 comments Download
M src/pkg/net/interface_bsd.go View 1 2 3 4 1 chunk +9 lines, -0 lines 0 comments Download
M src/pkg/net/interface_darwin.go View 1 2 3 4 1 chunk +28 lines, -0 lines 0 comments Download
M src/pkg/net/interface_freebsd.go View 1 2 3 4 1 chunk +28 lines, -0 lines 0 comments Download
M src/pkg/net/interface_linux.go View 1 2 3 4 1 chunk +43 lines, -0 lines 0 comments Download
M src/pkg/net/interface_netbsd.go View 1 2 3 4 1 chunk +33 lines, -0 lines 0 comments Download
M src/pkg/net/interface_openbsd.go View 1 2 3 4 1 chunk +33 lines, -0 lines 0 comments Download
M src/pkg/net/interface_stub.go View 1 2 3 4 1 chunk +20 lines, -0 lines 0 comments Download
A src/pkg/net/interface_unix.go View 1 2 3 4 1 chunk +88 lines, -0 lines 0 comments Download
M src/pkg/net/interface_windows.go View 1 2 3 4 1 chunk +47 lines, -0 lines 0 comments Download
M src/pkg/net/ipsock.go View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 15
mikio
Hello golang-dev@googlegroups.com (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://code.google.com/p/go
11 years, 1 month ago (2013-02-21 16:57:05 UTC) #1
mikio
Hello golang-dev@googlegroups.com (cc: golang-dev@googlegroups.com), Please take another look.
11 years, 1 month ago (2013-02-21 17:12:09 UTC) #2
bradfitz
what type of code cares about this? I'd rather have accurate, uncached Interfaces() than super-fast ...
11 years, 1 month ago (2013-02-21 17:12:51 UTC) #3
bradfitz
https://codereview.appspot.com/7384048/diff/11001/src/pkg/net/interface.go File src/pkg/net/interface.go (right): https://codereview.appspot.com/7384048/diff/11001/src/pkg/net/interface.go#newcode110 src/pkg/net/interface.go:110: // Interfaces returns a list of the system's network ...
11 years, 1 month ago (2013-02-21 17:16:46 UTC) #4
mikio
On Fri, Feb 22, 2013 at 2:16 AM, <bradfitz@golang.org> wrote: > also, on miss, it ...
11 years, 1 month ago (2013-02-21 17:44:33 UTC) #5
dfc
Thank you for this proposal. I shared Brads concerns that the caching semantics need to ...
11 years, 1 month ago (2013-02-24 02:22:25 UTC) #6
mikio
Hello golang-dev@googlegroups.com, bradfitz@golang.org, dave@cheney.net (cc: golang-dev@googlegroups.com), Please take another look.
11 years, 1 month ago (2013-02-25 15:29:27 UTC) #7
mikio
PTAL new patchset introduces a new network interface information maintenance approach that monitors kernel events ...
11 years, 1 month ago (2013-02-25 15:41:43 UTC) #8
bradfitz
Why do we need all this? Why do interface lookups need to be fast? Can't ...
11 years, 1 month ago (2013-02-25 15:48:24 UTC) #9
albert.strasheim
On 2013/02/25 15:48:24, bradfitz wrote: > Why do we need all this? > Why do ...
11 years, 1 month ago (2013-02-25 20:49:57 UTC) #10
bradfitz
On Mon, Feb 25, 2013 at 12:49 PM, <fullung@gmail.com> wrote: > On 2013/02/25 15:48:24, bradfitz ...
11 years, 1 month ago (2013-02-25 21:06:43 UTC) #11
mikio
On Tue, Feb 26, 2013 at 12:48 AM, Brad Fitzpatrick <bradfitz@golang.org> wrote: > Why do ...
11 years, 1 month ago (2013-02-25 21:57:23 UTC) #12
dfc
It feels like this issue (and others) are blocked on, https://code.google.com/p/go/issues/detail?id=4501 On Tue, Feb 26, ...
11 years, 1 month ago (2013-02-25 23:34:08 UTC) #13
mikio
Hi Albert, Sorry for the inconvenience. On Tue, Feb 26, 2013 at 5:49 AM, <fullung@gmail.com> ...
11 years, 1 month ago (2013-02-27 05:35:57 UTC) #14
mikio
10 years, 10 months ago (2013-06-06 08:15:00 UTC) #15
*** Abandoned ***
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b