From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on sa.local.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding:content-language; bh=g8rKqkzxQ2MY4nB94YzxQ53zZbhwkuuFvSggy1GIC44=; b=HFNXLMgFxJAw/dYul8UBoFDD9fjNpD/dky1d8sWoABSaFjPg38qgE+3jqfEZcTsLEd qE+lNaifUGY4/3EK+x8vP2TjzBsABGtpn+UZ1DJozf2NrP3FVOTAEZ9cw1bjKvyPW+tz NEwXne5XQQFXnX5dZpSu+eDbQyeqUISmKF14nc3Pn0J6c1tWJB0zF2jLo+CvwUjRF7lY T2OlO0xDoz8ufMqH4D/3qZMDRwlA7aqaYrC+pItQLn4r+eKXEo679VRe82u6cu8EyY0e ryrVev9qDQZ3GdNsMW+An+qU5OJjDP49Uj15u+Cv8GF3iZiJQTa3FCn1z7sC8BWjPQRa Ri7A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=g8rKqkzxQ2MY4nB94YzxQ53zZbhwkuuFvSggy1GIC44=; b=U3pz8ruwPHUmdiBmbRYnxGWPU8qWAnXY49T1BovDfyxFPd92b08MMiMcrOr8Cu0IKF nnUc5B4J53rg6xoCgnZm3u4GWU+HIjI20fmbTZgIVSkYtTthvJM43+0XDeNBy+hnU1z4 OKmCs96UvOQpWgj8Qo7ad5dq7GhDmgtK7QTss6y1riG6t3hY/k+f6e2tn4O6JBmcegJW wa2KWWJcNXjWAH+o+xams6Ys3Xxs1BpejsGwka2eqo2hks3JkATzAaXhdq04TU6Z1F6Q c79mQ/p2TgxU97HJLTJkblIdd9htSQ5OEKHUNycd1L2k4uRfd0f2mZugAc3Ty0Oh3tXf B2rA== X-Gm-Message-State: AGi0PuajPa6LU2fYNCE9OGuRv5XTk9GGXHxKGX/lM1VpXeIgHEneCAPZ MqLr2BTWCNr41PaoT9hm99wtwJJK X-Google-Smtp-Source: APiQypJ8ElSxletsiU0AXikv/1dV40OCgqe6OEEftbTdk2evu4B8ghsMSSn5wWXgtjxW80UaQPww6A== X-Received: by 2002:a05:651c:97:: with SMTP id 23mr11460802ljq.17.1587894934041; Sun, 26 Apr 2020 02:55:34 -0700 (PDT) To: devel@lists.altlinux.org References: From: Leonid Krivoshein Message-ID: Date: Sun, 26 Apr 2020 12:55:32 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: ru Subject: Re: [devel] =?utf-8?b?0JDQv9C/0LDRgNCw0YLQvdGL0LkgQUVTINC4INC90LA=?= =?utf-8?q?=D1=88_p7zip?= X-BeenThere: devel@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: ALT Linux Team development discussions List-Id: ALT Linux Team development discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Apr 2020 09:55:36 -0000 Archived-At: List-Archive: List-Post: 22.04.2020 23:09, Andrey Cherepanov пишет: > > cas ~ # lscpu | grep -ow aes > aes > cas ~ # 7z b -mm=AES256CBC:2 > > 7-Zip [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21 > p7zip Version 16.02 (locale=ru_RU.UTF-8,Utf16=on,HugeFiles=on,64 > bits,4 CPUs x64) > > x64 > CPU Freq: 64000000 - - 64000000 - - - - - > > RAM size:    3833 MB,  # CPU hardware threads:   4 > RAM usage:    882 MB,  # Benchmark threads:      4 > >                        Compressing  | Decompressing > Dict     Speed Usage    R/U Rating  |      Speed Usage R/U Rating >          KiB/s     %   MIPS   MIPS  |      KiB/s     % MIPS   MIPS > > 22: > > > System ERROR: > E_NOTIMPL > > # lsmod | grep aes > aesni_intel           372736  10 > crypto_simd            16384  1 aesni_intel > glue_helper            16384  1 aesni_intel > > Кто может пояснить, почему у нас этот тест не срабатывает? > По-моему, потому что надо использовать третий, а не второй на этом железе: AES256CBC:1 - software AES AES256CBC:2 - hardware AES-NI supported by most modern CPUs AES256CBC:3 - hardware VAES (Vector AES) supported only by new Intel Ice Lake $ 7z b -mm=AES256CBC:2 7-Zip [64] 15.09 beta : Copyright (c) 1999-2015 Igor Pavlov : 2015-10-16 p7zip Version 15.09 beta (locale=ru_RU.utf8,Utf16=on,HugeFiles=on,64 bits,8 CPUs x64) x64 CPU Freq:  2542  2781  3024  3280  3380  3377  3373  3359  3173 RAM size:   32051 MB,  # CPU hardware threads:   8 RAM usage:   1701 MB,  # Benchmark threads:      8                        Compressing  |                  Decompressing Dict     Speed Usage    R/U Rating  |      Speed Usage    R/U Rating          KiB/s     %   MIPS   MIPS  |      KiB/s     %   MIPS   MIPS 22: System ERROR: E_NOTIMPL $ 7z b -mm=AES256CBC:3 7-Zip [64] 15.09 beta : Copyright (c) 1999-2015 Igor Pavlov : 2015-10-16 p7zip Version 15.09 beta (locale=ru_RU.utf8,Utf16=on,HugeFiles=on,64 bits,8 CPUs x64) x64 CPU Freq:  2533  2776  2996  3313  3296  3370  3364  3326  3295 RAM size:   32051 MB,  # CPU hardware threads:   8 RAM usage:   1701 MB,  # Benchmark threads:      8                        Compressing  |                  Decompressing Dict     Speed Usage    R/U Rating  |      Speed Usage    R/U Rating          KiB/s     %   MIPS   MIPS  |      KiB/s     %   MIPS   MIPS 22:     920054   795   2842  22611  |     893816   783   2805  21966 23:     867794   796   2680  21327  |     857621   781   2699  21077 24:     819505   774   2603  20140  |     839577   786   2626  20633 25:     817169   783   2564  20083  |     837326   792   2597  20578 ----------------------------------  | ------------------------------ Avr:             787   2672  21040  |              786   2682  21064 Tot:             786   2677  21052 $  lscpu | grep -ow aes aes -- Best regards, Leonid Krivoshein.