From: Lonnie A. <li...@lo...> - 2015-11-28 00:23:52
|
On Nov 27, 2015, at 10:59 AM, Lonnie Abelbeck <li...@lo...> wrote: > > Over the next month or two, before we release AstLinux 1.2.5, we all should think about how to guide users which architecture to use. Possibly... > > 2) Virtual machines, since all VM hosts are x86_64, would a x86_64 image run more efficiently ? or does the somewhat lower memory usage of i586 the deciding factor ? In an attempt to answer that question, I used VMware Fusion 7 on a Mac Pro, created identical VM's... 512 GB RAM, 2-cores, but one with the latest i586 build and the other with x86_64. Data below, but quick summary: PHP test was 16% faster with x86_64, Asterisk transcoding 20-40% faster with x86_64, but openssl AES test was nearly identical (not shown). Lonnie -------------------------------------- VMware Fusion 7 on Mac Pro ==== i586 build ==== 503 MB, Free 365 MB pbx-vmware ~ # /mnt/kd/scripts/php-benchmark -------------------------------------- | PHP BENCHMARK SCRIPT | -------------------------------------- Start : 2015-11-27 16:29:28 CPU : Intel(R) Xeon(R) CPU E5-1620 v2 @ 3.70GHz PHP version : 5.5.30 Platform : Linux i586 -------------------------------------- test_math : 1.189 sec. test_stringmanipulation : 1.303 sec. test_loops : 0.691 sec. test_ifelse : 0.587 sec. -------------------------------------- Total time: : 3.77 sec. (Asterisk 1.8.32.3) # asterisk -rx "core show translation recalc 10" g723 gsm ulaw alaw g726aal2 adpcm slin lpc10 g729 speex ilbc g726 g722 siren7 siren14 slin16 g719 speex16 testlaw g723 - - - - - - - - - - - - - - - - - - - gsm - - 300 300 1998 399 299 1498 - - 4898 1998 599 - - 1198 - - 300 ulaw - 900 - 1 1700 101 1 1200 - - 4600 1700 301 - - 900 - - 2 ilbc - 1698 800 800 2498 899 799 1998 - - - 2498 1099 - - 1698 - - 800 ==== x86_64 build ==== 497 MB, Free 323 MB pbx-vmware ~ # /mnt/kd/scripts/php-benchmark -------------------------------------- | PHP BENCHMARK SCRIPT | -------------------------------------- Start : 2015-11-27 16:59:33 CPU : Intel(R) Xeon(R) CPU E5-1620 v2 @ 3.70GHz PHP version : 5.5.30 Platform : Linux x86_64 -------------------------------------- test_math : 0.981 sec. test_stringmanipulation : 1.083 sec. test_loops : 0.650 sec. test_ifelse : 0.523 sec. -------------------------------------- Total time: : 3.237 sec. (Asterisk 1.8.32.3) # asterisk -rx "core show translation recalc 10" Recalculating Codec Translation (number of sample seconds: 10) Translation times between formats (in microseconds) for one second of data Source Format (Rows) Destination Format (Columns) g723 gsm ulaw alaw g726aal2 adpcm slin lpc10 g729 speex ilbc g726 g722 siren7 siren14 slin16 g719 speex16 testlaw g723 - - - - - - - - - - - - - - - - - - - gsm - - 201 201 1699 300 200 999 - - 4199 1499 399 - - 699 - - 201 ulaw - 699 - 1 1599 200 100 899 - - 4099 1399 299 - - 599 - - 101 ilbc - 1198 600 600 2098 699 599 1398 - - - 1898 798 - - 1098 - - 600 -- |