[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: aes performance



I wrote:
> 
> as I understood tor spends most of its cpu time within openssl library aes crypto.
> Which result of "openssl speed aes" applies to tor? Is it aes-128 cbc 16 bytes?
> In this case my old Prestonia P4 Netburst Xeon box's throughput is supposed to
> be roughly about 40 MBit/s as middleman. Correct?
> 
> type             16 bytes     64 bytes    256 bytes   1024 bytes   8192 bytes
> aes-128 cbc      84098.99k   119729.69k   138053.97k   142741.16k   144386.04k
> aes-192 cbc      75035.35k   104143.72k   115681.81k   120099.84k   120949.42k
> aes-256 cbc      69559.47k    92221.78k   102006.05k   105361.75k   100274.74k

stupid! I mixed up openssl's benchmark bytes/s from the table above with
bits/s network throughput. Now it appears only 10% tor's cpu usage is
spent within aes crypto. What the heck is tor doing the remaining 90%?

confused, Olaf