meta data for this page
  •  

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Last revisionBoth sides next revision
vm:proxmox:kvm [2020/10/06 08:07] niziakvm:proxmox:kvm [2022/12/29 17:39] niziak
Line 1: Line 1:
 ====== KVM ====== ====== KVM ======
 +
 +===== AES =====
 +
 +Enable AES in CPU flags. Default KVM64 CPU doesn't expose AES flag.
 +Simple openssl benchmark:
 +<code bash>
 +openssl speed -evp aes-128-cbc aes-256-cbc aes-256-ecb
 +
 +# Without AES
 +type             16 bytes     64 bytes    256 bytes   1024 bytes   8192 bytes  16384 bytes
 +aes-256 cbc     185216.65k   190818.37k   191588.35k   193247.23k   193489.58k   193353.05k
 +aes-128-cbc     220375.57k   245515.09k   249103.70k   254411.43k   255770.62k   255393.79k
 +
 +
 +# With AES
 +type             16 bytes     64 bytes    256 bytes   1024 bytes   8192 bytes  16384 bytes
 +aes-256 cbc     183729.40k   191020.12k   190906.71k   193176.58k   193333.93k   194065.47k
 +aes-128-cbc     587427.84k  1272103.38k  1317980.93k  1329665.71k  1332060.16k  1332663.64k
 +</code>