通过以下 Referral 链接购买 DigitalOcean 主机,你将可以帮助 V2EX 持续发展
DigitalOcean - SSD Cloud Servers
daiqiangbudainiu
V2EX  ›  VPS

VPS 上 cat /proc/cpuinfo 发现没有 aes 和 ssse3 这两个指令集,就是说明不支持吗?

  •  
  •   daiqiangbudainiu · Dec 7, 2017 · 761 views
    This topic created in 3082 days ago, the information mentioned may be changed or developed.

    开了个 vps,然后去 cat /proc/cpuinfo 时,看到的结果是这样的

    wp		: yes
    flags		: fpu de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pse36 clflush mmx fxsr sse sse2 syscall nx lm rep_good nopl cpuid pni cx16 hypervisor lahf_lm abm
    bugs		:
    bogomips	: 3999.99
    clflush size	: 64
    cache_alignment	: 64
    address sizes	: 46 bits physical, 48 bits virtual
    

    发工单询问,回复说 CPU 为 E5-2658v3,是支持的

    我想知道,如果我用$$的 aes-256-gcm 加密方式,会获得硬件支持吗?

    6 replies    2017-12-08 11:30:55 +08:00
    affyun
        1
    affyun  
       Dec 7, 2017
    即使有 aes-ni 加持。也还是 chacha20 更快
    msg7086
        2
    msg7086  
       Dec 8, 2017
    你可以看看能不能跑一下 openssl benchmark。
    daiqiangbudainiu
        3
    daiqiangbudainiu  
    OP
       Dec 8, 2017
    @msg7086 openssl speed 这个命令吗?
    msg7086
        4
    msg7086  
       Dec 8, 2017
    @warcraft1236 嗯,具体不记得了可以查查帮助。
    daiqiangbudainiu
        5
    daiqiangbudainiu  
    OP
       Dec 8, 2017
    @msg7086 我跑了一下,发现 aes 确实没有 chacha20 快,然而在我本地的电脑上,aes 高于 chacha20
    msg7086
        6
    msg7086  
       Dec 8, 2017
    @warcraft1236 可能是 aes 的指令集没有暴露给小鸡吧。索性用插插好了。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3038 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 08:53 · PVG 16:53 · LAX 01:53 · JFK 04:53
    ♥ Do have faith in what you're doing.