Opened 5 years ago

Last modified 2 years ago

#15017 new enhancement

Experiment: does BIO_f_buffer help performance with read/write syscalls?

Reported by: nickm Owned by:
Priority: Medium Milestone: Tor: unspecified
Component: Core Tor/Tor Version: Tor: 0.2.7
Severity: Normal Keywords: performance tor-relay needs-investigation openssl nagle
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

dgoulet has found that openssl generates lots of small read and write syscalls. Maybe we'd do better to have openssl buffer stuff?

BIO_f_buffer can supposedly help us here. We could buffer reads, writes, or both.

We should see whether this helps performance, whether it causes weird bugs, and so on. We should also try to find out how much memory openssl allocates for this stuff, and take that into account for our OOM calculations.

Child Tickets

Change History (14)

comment:1 Changed 5 years ago by nickm

Status: newassigned

comment:2 Changed 5 years ago by nickm

Keywords: 027-triaged-1-deferrable added

Marking tickets as deferrable from 0.2.7 triage round-1

comment:3 Changed 5 years ago by isabela

Keywords: SponsorR SponsorU added
Points: medium/large
Version: Tor: 0.2.7

comment:4 Changed 4 years ago by nickm

Milestone: Tor: 0.2.7.x-finalTor: 0.2.8.x-final

comment:5 Changed 4 years ago by nickm

Keywords: SponsorU removed
Sponsor: SponsorU

Bulk-replace SponsorU keyword with SponsorU field.

comment:6 Changed 4 years ago by dgoulet

Keywords: SponsorR removed
Sponsor: SponsorUSponsorR

comment:7 Changed 4 years ago by dgoulet

Keywords: 027-triaged-1-deferrable removed
Milestone: Tor: 0.2.8.x-finalTor: 0.2.???
Type: defectenhancement

comment:8 Changed 4 years ago by dgoulet

Sponsor: SponsorRSponsorR-can

Move those from SponsorR to SponsorR-can.

comment:9 Changed 3 years ago by teor

Milestone: Tor: 0.2.???Tor: 0.3.???

Milestone renamed

comment:10 Changed 3 years ago by nickm

Keywords: tor-03-unspecified-201612 added
Milestone: Tor: 0.3.???Tor: unspecified

Finally admitting that 0.3.??? was a euphemism for Tor: unspecified all along.

comment:11 Changed 2 years ago by nickm

Keywords: tor-03-unspecified-201612 removed

Remove an old triaging keyword.

comment:12 Changed 2 years ago by nickm

Status: assignednew

Change the status of all assigned/accepted Tor tickets with owner="" to "new".

comment:13 Changed 2 years ago by dgoulet

Points: medium/large
Severity: Normal
Sponsor: SponsorR-can

comment:14 Changed 2 years ago by nickm

Keywords: performance tor-relay needs-investigation openssl nagle added
Note: See TracTickets for help on using tickets.