Skip to content

net/http: excessive mutex contention #3946

Closed
@dvyukov

Description

@dvyukov
The attached contention profile (collected with http://golang.org/cl/6443115 on
a parallel http load test) shows great amount of contention on
http.Transport.putIdleConn(), and the load test fails to scale beyond 4 cores.
I think we need try to reduce critical sections and see how it affects
performance/scalability.

Attachments:

  1. http_contention.svg (48386 bytes)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions