FAQ
Change 19cf9361902a broke the linux-arm-panda build:
http://build.golang.org/log/1e737e650f36d6ea29d178125279d8696141ac11

net: spread fd over several pollservers.

Lighten contention without preventing further improvements on pollservers.
Connections are spread over Min(GOMAXPROCS, NumCPU, 8) pollserver instances.

Median of 10 runs, 4 cores @ 3.4GHz, amd/linux-3.2:

BenchmarkTCPOneShot 171917 ns/op 175194 ns/op 1.91%
BenchmarkTCPOneShot-2 101413 ns/op 109462 ns/op 7.94%
BenchmarkTCPOneShot-4 91796 ns/op 35712 ns/op -61.10%
BenchmarkTCPOneShot-6

http://code.google.com/p/go/source/detail?r=19cf9361902a

$ tail -200 < log
exp/types
exp/ebnflint
exp/gotype
exp/html/atom
exp/html
exp/inotify
exp/norm
hash/fnv
exp/types/staging
exp/locale/collate
exp/utf8string
hash/crc64
image/color
image
exp/locale/collate/build
exp/locale/collate/tools/colcmp
image/draw
image/gif
image/jpeg
image/png
log/syslog
math/cmplx
net/http/cgi
net/http/fcgi
net/http/httptest
net/http/httputil
net/mail
net/rpc
net/smtp
old/netchan
net/rpc/jsonrpc
os/signal
os/user
testing
testing/iotest
testing/quick

# Testing packages.
ok cmd/api 0.080s
? cmd/cgo [no test files]
ok cmd/fix 8.517s
ok cmd/go 0.097s
? cmd/godoc [no test files]
ok cmd/gofmt 0.239s
? cmd/vet [no test files]
? cmd/yacc [no test files]
ok archive/tar 0.040s
ok archive/zip 0.332s
ok bufio 0.304s
ok bytes 1.451s
ok compress/bzip2 0.492s
ok compress/flate 4.072s
ok compress/gzip 0.059s
ok compress/lzw 0.637s
ok compress/zlib 8.654s
ok container/heap 0.038s
ok container/list 0.035s
ok container/ring 0.110s
? crypto [no test files]
ok crypto/aes 0.139s
ok crypto/cipher 0.065s
ok crypto/des 0.235s
ok crypto/dsa 0.113s
ok crypto/ecdsa 0.259s
ok crypto/elliptic 0.096s
ok crypto/hmac 0.062s
ok crypto/md5 0.045s
ok crypto/rand 0.204s
ok crypto/rc4 0.043s
ok crypto/rsa 1.702s
ok crypto/sha1 0.044s
ok crypto/sha256 0.046s
ok crypto/sha512 0.062s
ok crypto/subtle 0.069s
ok crypto/tls 2.262s
ok crypto/x509 8.193s
? crypto/x509/pkix [no test files]
ok database/sql 0.081s
ok database/sql/driver 0.039s
ok debug/dwarf 0.061s
ok debug/elf 0.075s
ok debug/gosym 0.042s
ok debug/macho 0.045s
ok debug/pe 0.072s
ok encoding/ascii85 0.043s
ok encoding/asn1 0.058s
ok encoding/base32 0.044s
ok encoding/base64 0.071s
ok encoding/binary 0.045s
ok encoding/csv 0.043s
ok encoding/gob 0.217s
ok encoding/hex 0.039s
ok encoding/json 0.324s
ok encoding/pem 0.056s
ok encoding/xml 0.122s
ok errors 0.055s
ok exp/ebnf 0.040s
ok exp/ebnflint 0.060s
ok exp/gotype 3.800s
ok exp/html 0.931s
ok exp/html/atom 0.039s
ok exp/inotify 1.359s
ok exp/locale/collate 0.159s
ok exp/locale/collate/build 0.062s
? exp/locale/collate/tools/colcmp [no test files]
ok exp/norm 9.494s
ok exp/types 2.606s
ok exp/types/staging 2.805s
ok exp/utf8string 0.042s
ok expvar 0.069s
ok flag 0.042s
ok fmt 0.280s
ok go/ast 0.098s
ok go/build 0.792s
ok go/doc 0.365s
ok go/parser 0.340s
ok go/printer 2.133s
ok go/scanner 0.054s
ok go/token 0.289s
? hash [no test files]
ok hash/adler32 0.282s
ok hash/crc32 0.043s
ok hash/crc64 0.036s
ok hash/fnv 0.045s
ok html 0.043s
ok html/template 0.297s
ok image 0.653s
ok image/color 0.071s
ok image/draw 0.227s
? image/gif [no test files]
ok image/jpeg 0.447s
ok image/png 0.311s
ok index/suffixarray 0.095s
ok io 0.061s
ok io/ioutil 0.046s
ok log 0.063s
ok log/syslog 0.454s
ok math 0.048s
ok math/big 2.951s
ok math/cmplx 0.038s
ok math/rand 0.191s
ok mime 0.041s
ok mime/multipart 0.727s
ok net 1.205s
ok net/http 12.729s
ok net/http/cgi 1.099s
ok net/http/fcgi 0.072s
ok net/http/httptest 0.073s
ok net/http/httputil 0.121s
? net/http/pprof [no test files]
ok net/mail 0.077s
ok net/rpc 0.309s
ok net/rpc/jsonrpc 0.103s
ok net/smtp 0.058s
ok net/textproto 0.070s
ok net/url 0.053s
ok old/netchan 0.113s
ok os 0.126s
ok os/exec 2.142s
ok os/signal 0.038s
ok os/user 0.047s
ok path 0.045s
ok path/filepath 0.779s
ok reflect 0.136s
ok regexp 0.639s
ok regexp/syntax 11.691s
ok runtime 6.084s
? runtime/cgo [no test files]
ok runtime/debug 0.037s
ok runtime/pprof 1.867s
ok sort 0.488s
ok strconv 6.172s
ok strings 1.195s
ok sync 0.315s
ok sync/atomic 0.542s
ok syscall 0.109s
? testing [no test files]
? testing/iotest [no test files]
ok testing/quick 0.199s
ok text/scanner 0.050s
ok text/tabwriter 0.050s
ok text/template 0.146s
ok text/template/parse 0.065s
ok time 4.656s
ok unicode 0.043s
ok unicode/utf16 0.042s
ok unicode/utf8 0.113s
? unsafe [no test files]

real 5m14.613s
user 8m35.961s
sys 1m18.422s

# GOMAXPROCS=2 runtime -cpu=1,2,4
--- FAIL: TestGcSys-2 (0.50 seconds)
gc_test.go:36: used 17694720 extra bytes
gc_test.go:38: using too much memory: 17694720 bytes
FAIL
FAIL runtime 18.983s

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupgolang-dev @
categoriesgo
postedSep 26, '12 at 8:03p
activeSep 26, '12 at 8:03p
posts1
users1
websitegolang.org

1 user in discussion

Builder: 1 post

People

Translate

site design / logo © 2022 Grokbase