Opened 9 years ago

Closed 9 years ago

Last modified 8 years ago

#5440 closed enhancement (fixed)

No AES-NI engine detected

Reported by: ln5 Owned by:
Priority: Medium Milestone:
Component: Core Tor/Tor Version:
Severity: Keywords: tor-relay
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

Running master on a CPU identifying itsel (/proc/cpuinfo) as

Intel(R) Xeon(R) CPU X5650 @ 2.67GHz

with openssl-1.0.1 (./Configure --prefix=$HOME/usr shared
linux-x86_64) I had expected tor to tell me that it found an AES-NI
engine. (This would've been wrong, since 1.0.1 doesn't have AES-NI as
an engine, I learned later.)

This made Nick make a patch (branch openssl101_aes_ctr in his repo)
which shows interesting benchmarks.

src/test/bench cell_ops, run three times on virtually unloaded
machine, output from the third run:

On openssl101_aes_ctr w/ openssl-1.0.1:

Inbound cells: 629.38 ns per cell. (1.24 ns per byte of payload)

Outbound cells: 693.97 ns per cell. (1.36 ns per byte of payload)

On openssl101_aes_ctr w/ openssl-0.9.8k:

Inbound cells: 8823.04 ns per cell. (17.33 ns per byte of payload)

Outbound cells: 4816.15 ns per cell. (9.46 ns per byte of payload)

On master w/ openssl-1.0.1:

Inbound cells: 13861.66 ns per cell. (27.23 ns per byte of payload)

Outbound cells: 7436.42 ns per cell. (14.61 ns per byte of payload)

On master w/ openssl-0.9.8k:

Inbound cells: 8863.88 ns per cell. (17.41 ns per byte of payload)

Outbound cells: 5265.16 ns per cell. (10.34 ns per byte of payload)

Child Tickets

Change History (5)

comment:1 Changed 9 years ago by nickm

This is another symptom of #5406 . We should close them both when we merge the branch.

comment:2 Changed 9 years ago by nickm

Resolution: fixed
Status: newclosed

Merged it; closing. See #5406 for discussion.

comment:3 Changed 9 years ago by ln5

I've been running openssl101_aes_ctr for 8 days now without any
issues. It pushes a lot of traffic.

comment:4 Changed 8 years ago by nickm

Keywords: tor-relay added

comment:5 Changed 8 years ago by nickm

Component: Tor RelayTor
Note: See TracTickets for help on using tickets.