Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

all: increasing the number of CPUs leads to slow down on Plan 9 #8393

Closed
0intro opened this issue Jul 20, 2014 · 2 comments
Closed

all: increasing the number of CPUs leads to slow down on Plan 9 #8393

0intro opened this issue Jul 20, 2014 · 2 comments

Comments

@0intro
Copy link
Member

0intro commented Jul 20, 2014

What steps will reproduce the problem?

% all.rc

What is the expected output? What do you see instead?

I've recently tried on run Go on a Plan 9 machine with 4
cores (8 threads).

I've noticed all the tests complete much slower than usual
(2x to 10x), while the overall test phase completes faster.

I compared the same machine, booted as usual (using 8 CPUs)
and booted with "*nomp=1" parameter (using only one CPU).

In the first case, I had to increase the timeout to 240s
(instead of 120s) to prevent the cmd/objdump and runtime
tests to time out (net/http/cgi is timing out).

Here are the differences:

http://www.diffchecker.com/s0pqagce

For example:

                  8 cpu      1 cpu
encoding/gob    11.272s     1.694s
net/http        80.028s    17.917s 
runtime        178.234s    97.128s
unicode/utf8    12.735s     0.950s

total (8 cpu)   5.37u  7.83s 428.52r
total (1 cpu)  23.33u 16.27s 567.95r
@ianlancetaylor
Copy link
Member

Comment 1:

Labels changed: added repo-main, release-none.

@0intro
Copy link
Member Author

0intro commented Apr 20, 2016

I think this issue is related to issue #10028, which has been fixed by CL 6386.

@0intro 0intro closed this as completed Apr 20, 2016
@golang golang locked and limited conversation to collaborators Apr 20, 2017
@rsc rsc unassigned 0intro Jun 23, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants