[tor-bugs] #4443 [Tor Relay]: Implement counter mode faster on x86 and x86_64
Tor Bug Tracker & Wiki
torproject-admin at torproject.org
Wed Nov 9 22:00:26 UTC 2011
#4443: Implement counter mode faster on x86 and x86_64
-------------------------+--------------------------------------------------
Reporter: nickm | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Tor: 0.2.3.x-final
Component: Tor Relay | Version:
Keywords: | Parent:
Points: | Actualpoints:
-------------------------+--------------------------------------------------
Comment(by tmpname0901):
> unaligned integer access is just as fast as aligned integer access (this
seems to be the case on x86 and x86_64
This is definitely not true. There is a performance penalty across the
x86(_64) line for memory accesses which are not aligned to data type.
From a performance perspective, unaligned memory access are Bad; accesses
straddling cache lines are Really Bad; accesses straddling pages are
Horrifically Bad. I think you get the idea :-)
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/4443#comment:1>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list