Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.1:Staging:A
go1.8
runtime-bump-MaxGomaxprocs.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File runtime-bump-MaxGomaxprocs.patch of Package go1.8
From b75347d41a3771f8acab13a4dbd607254fdc5054 Mon Sep 17 00:00:00 2001 From: Aleksa Sarai <asarai@suse.de> Date: Tue, 14 Mar 2017 00:14:38 +1100 Subject: [PATCH] runtime: bump _MaxGomaxprocs to (1 << 10) This is required so that we can run k8s and Docker on machines with quite large numbers of CPUs. (1 << 10) should be big enough /for now/. SUSE: Don't upstream this. Ref: bsc#1028865 Ref: https://github.com/golang/go/issues/13908 Signed-off-by: Aleksa Sarai <asarai@suse.de> --- src/runtime/runtime2.go | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/runtime/runtime2.go b/src/runtime/runtime2.go index 2e886742b528..eec28ba74f11 100644 --- a/src/runtime/runtime2.go +++ b/src/runtime/runtime2.go @@ -504,7 +504,12 @@ type p struct { const ( // The max value of GOMAXPROCS. // There are no fundamental restrictions on the value. - _MaxGomaxprocs = 1 << 8 + // + // SUSE: We bump this up quite a bit so you can run Docker and k8s on + // machines with massively more cores. Don't bump this value _too_ + // much because it determines the size of some runtime arrays (which + // are used in scheduling, obviously). + _MaxGomaxprocs = 1 << 10 ) type schedt struct { -- 2.12.0
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor