cryptsetup benchmark

elatllat
elatllat New Member Posts: 9
Please post your up board. cryptsetup benchmark results.
sudo -i
apt-get -y install cryptsetup && cryptsetup benchmark
uname -a; cat /etc/*release /etc/*version

Comments

  • elatllat
    elatllat New Member Posts: 9
  • LennStar
    LennStar New Member Posts: 23
    Your chances of someone using this benchmark and posting here may be bigger after people have actually got their UP.
  • Collin
    Collin New Member Posts: 3
    edited June 2016
    How long is the wait currently, from buying to recieving? (or I suppose how long have people been waiting?)
  • elatllat
    elatllat New Member Posts: 9
    LennStar wrote:
    Your chances of someone using this benchmark and posting here may be bigger after people have actually got their UP.
    I would have thought Aaeon Europe and Emutex woud be active in there own forms and they have had prototypes for like 8 months. Bad support if it's community only and no official mods on the forms.
  • Javier Arteaga
    Javier Arteaga Emutex Posts: 163 mod
    Hi elatllat,

    Apologies for this post slipping through. We do intend to post detailed performance metrics shortly. For accuracy, we prefer publishing only results for the final revision, that only went into production (and shipment) recently.

    (In the meantime, just to give you a *very* rough idea: the CPU does support AES-NI. For full disk encryption usecases, for example, you can expect AES-512-XTS encryption/decryption performances no lower than 200 MiB/s.)
  • elatllat
    elatllat New Member Posts: 9
    edited June 2017
    Thanks for the answer. If that number is similar to the aes-cbc of the test it does sound like an improvement over the ARM SBC I'm using.

    http://forum.odroid.com/viewtopic.php?f=95&t=15574&p=101808&hilit=cryptsetup#p101808
  • elatllat
    elatllat New Member Posts: 9
    Any chance someone can post this benchmark before the UP is replaced with the UP^2?.
  • DCleri
    DCleri Administrator, AAEON Posts: 1,213 admin
    edited December 2016
    Hi Elatlatt,

    Cryptsetup 1.6.6 on ubuntu 16.04 with UP Board 4.4 Kernel (without any kernel/governor optimization) shows these results:
    # Tests are approximate using memory only (no storage IO).
    PBKDF2-sha1       258015 iterations per second
    PBKDF2-sha256     168907 iterations per second
    PBKDF2-sha512     102400 iterations per second
    PBKDF2-ripemd160  196215 iterations per second
    PBKDF2-whirlpool   43115 iterations per second
    #  Algorithm | Key |  Encryption |  Decryption
     aes-cbc               128b   216.9 MiB/s   312.0 MiB/s
     serpent-cbc   128b    24.7 MiB/s    71.1 MiB/s
     twofish-cbc   128b    57.3 MiB/s    65.6 MiB/s
     aes-cbc              256b   172.0 MiB/s   245.0 MiB/s
     serpent-cbc   256b    27.6 MiB/s    71.1 MiB/s
     twofish-cbc   256b    62.6 MiB/s    65.5 MiB/s
     aes-xts              256b   271.1 MiB/s   274.8 MiB/s
     serpent-xts   256b    65.8 MiB/s    66.7 MiB/s
     twofish-xts   256b    61.1 MiB/s    61.0 MiB/s
     aes-xts              512b   219.8 MiB/s   221.2 MiB/s
     serpent-xts   512b    67.2 MiB/s    66.7 MiB/s
     twofish-xts   512b    61.1 MiB/s    61.0 MiB/s
    

    while playing with the UP2, I am getting some really interesting results... stay tuned for the next episode! :)
  • elatllat
    elatllat New Member Posts: 9
    Thanks for the benchmark, I expect the up^2 is about the same speed (assuming it's cpu options all have the same aes)?
  • DCleri
    DCleri Administrator, AAEON Posts: 1,213 admin
    Hi elatllat,

    The results are a bit different...
    # Tests are approximate using memory only (no storage IO).
    PBKDF2-sha1       572366 iterations per second for 256-bit key
    PBKDF2-sha256     736359 iterations per second for 256-bit key
    PBKDF2-sha512     520126 iterations per second for 256-bit key
    PBKDF2-ripemd160  439838 iterations per second for 256-bit key
    PBKDF2-whirlpool  254015 iterations per second for 256-bit key
    #  Algorithm | Key |  Encryption |  Decryption
         aes-cbc   128b   377.3 MiB/s   914.7 MiB/s
     serpent-cbc   128b    38.8 MiB/s   145.9 MiB/s
     twofish-cbc   128b    80.5 MiB/s   116.7 MiB/s
         aes-cbc   256b   347.5 MiB/s   750.6 MiB/s
     serpent-cbc   256b    50.4 MiB/s   142.8 MiB/s
     twofish-cbc   256b   101.1 MiB/s   116.6 MiB/s                                           
         aes-xts   256b   802.2 MiB/s   804.7 MiB/s                                           
     serpent-xts   256b   139.5 MiB/s   137.8 MiB/s                                           
     twofish-xts   256b   110.7 MiB/s   109.7 MiB/s                                           
         aes-xts   512b   674.9 MiB/s   666.1 MiB/s                                           
     serpent-xts   512b   139.3 MiB/s   139.0 MiB/s                                           
     twofish-xts   512b   109.1 MiB/s   109.3 MiB/s                                           
    root@ubilinux4:~# uname -a; cat /etc/*release /etc/*version
    Linux ubilinux4 4.9.18-ubilinux+ #5 SMP Wed May 3 12:26:05 IST 2017 x86_64 GNU/Linux      
    DISTRIB_ID=ubilinux                                                                       
    DISTRIB_DESCRIPTION="ubilinux 4-beta1 (dolcetto)"                                         
    DISTRIB_RELEASE=4.0                                                                       
    DISTRIB_CODENAME=dolcetto                                                                 
    PRETTY_NAME="ubilinux 4-beta1"                                                            
    NAME="ubilinux"                                                                           
    VERSION_ID="4-beta1"                                                                      
    VERSION="4-beta1 (dolcetto)"                                                              
    ID=ubilinux                                                                               
    ID_LIKE=debian                                                                            
    ANSI_COLOR=1;34                                                                           
    HOME_URL="https://ubilinux.org/"                                                          
    SUPPORT_URL="mailto:ubilinux@emutex.com"                                                  
    BUG_REPORT_URL="mailto:ubilinux@emutex.com"
    9.0
    
  • elatllat
    elatllat New Member Posts: 9
    edited June 2017
    Thanks, there are a few versions of the up^2 which one was that (N3350, N4200, x5-E3940)?
    cat /proc/cpuinfo | grep model | tail -n 1
    
  • DCleri
    DCleri Administrator, AAEON Posts: 1,213 admin
    I performed the test on a N4200 with 8GB DDR4.