Russ Cox
|
025abd530e
|
runtime: faster entersyscall, exitsyscall
Uses atomic memory accesses to avoid the need to acquire
and release schedlock on fast paths.
benchmark old ns/op new ns/op delta
runtime_test.BenchmarkSyscall 73 31 -56.63%
runtime_test.BenchmarkSyscall-2 538 74 -86.23%
runtime_test.BenchmarkSyscall-3 508 103 -79.72%
runtime_test.BenchmarkSyscall-4 721 97 -86.52%
runtime_test.BenchmarkSyscallWork 920 873 -5.11%
runtime_test.BenchmarkSyscallWork-2 516 481 -6.78%
runtime_test.BenchmarkSyscallWork-3 550 343 -37.64%
runtime_test.BenchmarkSyscallWork-4 632 263 -58.39%
(Intel Core i7 L640 2.13 GHz-based Lenovo X201s)
Reduced a less artificial server benchmark
from 11.5r 12.0u 8.0s to 8.3r 9.1u 1.0s.
R=dvyukov, r, bradfitz, r, iant, iant
CC=golang-dev
https://golang.org/cl/4723042
|
2011-07-19 11:01:17 -04:00 |
|
Dmitriy Vyukov
|
c9152a8568
|
runtime: eliminate contention during stack allocation
Standard-sized stack frames use plain malloc/free
instead of centralized lock-protected FixAlloc.
Benchmark results on HP Z600 (2 x Xeon E5620, 8 HT cores, 2.40GHz)
are as follows:
benchmark old ns/op new ns/op delta
BenchmarkStackGrowth 1045.00 949.00 -9.19%
BenchmarkStackGrowth-2 3450.00 800.00 -76.81%
BenchmarkStackGrowth-4 5076.00 513.00 -89.89%
BenchmarkStackGrowth-8 7805.00 471.00 -93.97%
BenchmarkStackGrowth-16 11751.00 321.00 -97.27%
R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/4657091
|
2011-07-12 09:24:32 -07:00 |
|
Dmitriy Vyukov
|
91cc1e6b77
|
runtime: reset GOMAXPROCS during tests
Fix the fact that the test leaves GOMAXPROCS=3
and a running goroutine behind.
R=golang-dev, rsc
CC=dvyukov, golang-dev
https://golang.org/cl/4517121
|
2011-05-31 10:38:51 -04:00 |
|
Russ Cox
|
4f7fd3cb7f
|
runtime: disable long test (fix arm build)
TBR=r
CC=golang-dev
https://golang.org/cl/4449051
|
2011-04-23 10:03:51 -04:00 |
|
Russ Cox
|
781df132f9
|
runtime: stop deadlock test properly (fix arm5 build)
TBR=r
CC=golang-dev
https://golang.org/cl/4446058
|
2011-04-22 15:22:11 -04:00 |
|
Dmitriy Vyukov
|
29d78f1243
|
runtime: fix GOMAXPROCS vs garbage collection bug
Fixes #1715.
R=golang-dev, rsc1, rsc
CC=golang-dev
https://golang.org/cl/4434053
|
2011-04-21 12:09:25 -04:00 |
|