Use SSL_NO_LOCKS option to reduce locking overhead

NEW
Unassigned

Status

()

Core
Security: PSM
P3
enhancement
6 years ago
3 months ago

People

(Reporter: briansmith, Unassigned)

Tracking

({perf})

Trunk
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [psm-backlog])

libssl has an option, SSL_NO_LOCKS, which Sun/Oracle implemented to improve performance on servers. If we can ensure that I/O operations on SSL connections are only done on the socket transport thread (generally true in mozilla-central Gecko, but not in Mail/News), then we could disable this locking in Gecko too.

I have not measured this yet to see what, if any, performance benefit there would be.
Whiteboard: [psm-backlog]
https://treeherder.mozilla.org/#/jobs?repo=try&revision=4f7f2c26a2275ce1b50e63683f1a7cc54e2bfb41&selectedJob=102401495
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.