Rust(20) SIMD Performance Guide 

AUTOSAR (AUTomotive Open System ARchitecture)
http://autosar.org

は、２０１９年以降は、毎年１１月に新しい標準を発行している。
今年も一般公開を始めた。

Explanation of ARA Applications in Rust, AUTOSAR 1079, R23-11, AP
https://qiita.com/kaizen_nagoya/items/3d3e3349e00a598a5718

参考文献のNo.14は、

[14] Rust SIMD Performance Guide https://rust-lang.github.io/packed_simd/perf-guide/

書いてあることをdocker, macOS(M2)で動作させてみる。bookが、本に書いてあること。その次のbashが自分の機材での動作。

<この項は書きかけです。順次追記します。>
This article is not completed. I will add some words in order.
# docker
```macOS:bash
$ docker run -it rust /bin/bash

# apt update; apt -y upgrade
# apt install vim
# apt install perf
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package perf
root@ffc652d1f3f8:/simd# apt-get install linux-tools-common linux-tools-generic linux-tools-`uname -r`
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package linux-tools-common is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'linux-tools-common' has no installation candidate
E: Unable to locate package linux-tools-generic
E: Unable to locate package linux-tools-6.4.16-linuxkit
E: Couldn't find any package by glob 'linux-tools-6.4.16-linuxkit'
E: Couldn't find any package by regex 'linux-tools-6.4.16-linuxkit'
root@ffc652d1f3f8:/simd# apt-get install linux-tools-common linux-tools-generic 
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package linux-tools-common is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'linux-tools-common' has no installation candidate
E: Unable to locate package linux-tools-generic
root@ffc652d1f3f8:/simd# apt-get install linux-tools-common                    
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package linux-tools-common is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'linux-tools-common' has no installation candidate
root@ffc652d1f3f8:/simd# apt-get install linux-tools

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package linux-tools
root@ffc652d1f3f8:/simd# apt update
Hit:1 http://deb.debian.org/debian bookworm InRelease
Hit:2 http://deb.debian.org/debian bookworm-updates InRelease
Hit:3 http://deb.debian.org/debian-security bookworm-security InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
root@ffc652d1f3f8:/simd# apt -y upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@ffc652d1f3f8:/simd# apt install linux-perf
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  libbabeltrace1 libdw1 libopencsd1 libpython3.11 libslang2 libunwind8
Suggested packages:
  linux-doc-6.1
The following NEW packages will be installed:
  libbabeltrace1 libdw1 libopencsd1 libpython3.11 libslang2 libunwind8
  linux-perf
0 upgraded, 7 newly installed, 0 to remove and 0 not upgraded.
Need to get 5358 kB of archives.
After this operation, 20.8 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://deb.debian.org/debian bookworm/main arm64 libdw1 arm64 0.188-2.1 [219 kB]
Get:2 http://deb.debian.org/debian bookworm/main arm64 libbabeltrace1 arm64 1.5.11-1+b2 [158 kB]
Get:3 http://deb.debian.org/debian bookworm/main arm64 libopencsd1 arm64 1.3.3-1 [169 kB]
Get:4 http://deb.debian.org/debian bookworm/main arm64 libpython3.11 arm64 3.11.2-6 [1841 kB]
Get:5 http://deb.debian.org/debian bookworm/main arm64 libslang2 arm64 2.3.3-3 [502 kB]
Get:6 http://deb.debian.org/debian bookworm/main arm64 libunwind8 arm64 1.6.2-3 [47.4 kB]
Get:7 http://deb.debian.org/debian bookworm-updates/main arm64 linux-perf arm64 6.1.67-1 [2421 kB]
Fetched 5358 kB in 3s (1894 kB/s)     
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package libdw1:arm64.
(Reading database ... 25521 files and directories currently installed.)
Preparing to unpack .../0-libdw1_0.188-2.1_arm64.deb ...
Unpacking libdw1:arm64 (0.188-2.1) ...
Selecting previously unselected package libbabeltrace1:arm64.
Preparing to unpack .../1-libbabeltrace1_1.5.11-1+b2_arm64.deb ...
Unpacking libbabeltrace1:arm64 (1.5.11-1+b2) ...
Selecting previously unselected package libopencsd1:arm64.
Preparing to unpack .../2-libopencsd1_1.3.3-1_arm64.deb ...
Unpacking libopencsd1:arm64 (1.3.3-1) ...
Selecting previously unselected package libpython3.11:arm64.
Preparing to unpack .../3-libpython3.11_3.11.2-6_arm64.deb ...
Unpacking libpython3.11:arm64 (3.11.2-6) ...
Selecting previously unselected package libslang2:arm64.
Preparing to unpack .../4-libslang2_2.3.3-3_arm64.deb ...
Unpacking libslang2:arm64 (2.3.3-3) ...
Selecting previously unselected package libunwind8:arm64.
Preparing to unpack .../5-libunwind8_1.6.2-3_arm64.deb ...
Unpacking libunwind8:arm64 (1.6.2-3) ...
Selecting previously unselected package linux-perf.
Preparing to unpack .../6-linux-perf_6.1.67-1_arm64.deb ...
Adding 'diversion of /usr/bin/perf to /usr/bin/perf.wrapper by linux-perf'
Adding 'diversion of /usr/share/bash-completion/completions/perf to /usr/share/bash-completion/completions/perf.wrapper by linux-perf'
Adding 'diversion of /usr/share/man/man1/perf.1.gz to /usr/share/man/man1/perf.wrapper.1.gz by linux-perf'
Unpacking linux-perf (6.1.67-1) ...
Setting up libdw1:arm64 (0.188-2.1) ...
Setting up libpython3.11:arm64 (3.11.2-6) ...
Setting up libunwind8:arm64 (1.6.2-3) ...
Setting up libslang2:arm64 (2.3.3-3) ...
Setting up libopencsd1:arm64 (1.3.3-1) ...
Setting up libbabeltrace1:arm64 (1.5.11-1+b2) ...
Setting up linux-perf (6.1.67-1) ...
Processing triggers for libc-bin (2.36-9+deb12u3) ...

```

https://askubuntu.com/questions/50145/how-to-install-perf-monitoring-tool

# 参考資料(reference)

Programming Rust on docker(149)
https://qiita.com/kaizen_nagoya/items/d71b2c1932562ac1ecfc

dockerでRUST
https://qiita.com/kaizen_nagoya/items/c07350f6ab6ec656c42c

初めてのRUST
https://qiita.com/kaizen_nagoya/items/dd8f5e3b218d48fb79e1

Rust入門
https://qiita.com/kaizen_nagoya/items/b3a42bf5a849dabe52c5

## 補足資料（Additions）

2023 Countdown Calendar 主催・参加一覧
https://qiita.com/kaizen_nagoya/items/c4c2f08ac97f38d08543

CountDownCalendar月間　いいねをいただいた記事群　views　順
https://qiita.com/kaizen_nagoya/items/583c5cbc225dac23398a

物理記事　上位100
https://qiita.com/kaizen_nagoya/items/66e90fe31fbe3facc6ff

数学関連記事１００
https://qiita.com/kaizen_nagoya/items/d8dadb49a6397e854c6d

言語・文学記事　１００
https://qiita.com/kaizen_nagoya/items/42d58d5ef7fb53c407d6

医工連携関連記事一覧
https://qiita.com/kaizen_nagoya/items/6ab51c12ba51bc260a82

通信記事１００
https://qiita.com/kaizen_nagoya/items/1d67de5e1cd207b05ef7

自動車　記事　１００
https://qiita.com/kaizen_nagoya/items/f7f0b9ab36569ad409c5

Qiita(0)Qiita関連記事一覧（自分）
https://qiita.com/kaizen_nagoya/items/58db5fbf036b28e9dfa6

鉄道（０）鉄道のシステム考察はてっちゃんがてつだってくれる
https://qiita.com/kaizen_nagoya/items/26bda595f341a27901a0

日本語（０）一欄
https://qiita.com/kaizen_nagoya/items/7498dcfa3a9ba7fd1e68

英語(0) 一覧
https://qiita.com/kaizen_nagoya/items/680e3f5cbf9430486c7d

転職(0)一覧
https://qiita.com/kaizen_nagoya/items/f77520d378d33451d6fe

仮説（0）一覧（目標100現在40）
https://qiita.com/kaizen_nagoya/items/f000506fe1837b3590df

安全（0）安全工学シンポジウムに向けて: 21
https://qiita.com/kaizen_nagoya/items/c5d78f3def8195cb2409

Error一覧 error(0)
https://qiita.com/kaizen_nagoya/items/48b6cbc8d68eae2c42b8

Ethernet 記事一覧　Ethernet(0)
https://qiita.com/kaizen_nagoya/items/88d35e99f74aefc98794

Wireshark 一覧 wireshark(0)、Ethernet(48) 
https://qiita.com/kaizen_nagoya/items/fbed841f61875c4731d0

線網（Wi-Fi）空中線(antenna)(0) 記事一覧(118/300目標)
https://qiita.com/kaizen_nagoya/items/5e5464ac2b24bd4cd001

OSEK OS設計の基礎　OSEK(100)
https://qiita.com/kaizen_nagoya/items/7528a22a14242d2d58a3

官公庁・学校・公的団体（NPOを含む）システムの課題、官（０）
https://qiita.com/kaizen_nagoya/items/04ee6eaf7ec13d3af4c3

Error一覧(C/C++, python, bash...) Error(0)
https://qiita.com/kaizen_nagoya/items/48b6cbc8d68eae2c42b8

C++ Support(0)　
https://qiita.com/kaizen_nagoya/items/8720d26f762369a80514

Coding Rules(0) C Secure , MISRA and so on 
https://qiita.com/kaizen_nagoya/items/400725644a8a0e90fbb0

なぜdockerで機械学習するか 書籍・ソース一覧作成中 (目標100)
https://qiita.com/kaizen_nagoya/items/ddd12477544bf5ba85e2

言語処理100本ノックをdockerで。python覚えるのに最適。:10+12
https://qiita.com/kaizen_nagoya/items/7e7eb7c543e0c18438c4

プログラムちょい替え（0）一覧:4件
https://qiita.com/kaizen_nagoya/items/296d87ef4bfd516bc394

TOPPERSまとめ　#名古屋のIoTは名古屋のOSで
https://qiita.com/kaizen_nagoya/items/9026c049cb0309b9d451

自動制御、制御工学一覧（０）
https://qiita.com/kaizen_nagoya/items/7767a4e19a6ae1479e6b

プログラマが知っていると良い「公序良俗」
https://qiita.com/kaizen_nagoya/items/9fe7c0dfac2fbd77a945

一覧の一覧( The directory of directories of mine.) Qiita(100)
https://qiita.com/kaizen_nagoya/items/7eb0e006543886138f39

自動制御、制御工学一覧（０）
https://qiita.com/kaizen_nagoya/items/7767a4e19a6ae1479e6b

Rust(0) 一覧　
https://qiita.com/kaizen_nagoya/items/5e8bb080ba6ca0281927

小川清最終講義、小川清最終講義（再）計画, Ethernet(100) 英語(100) 安全(100)
https://qiita.com/kaizen_nagoya/items/e2df642e3951e35e6a53

＜この記事は個人の過去の経験に基づく個人の感想です。現在所属する組織、業務とは関係がありません。＞
This article is an individual impression based on the individual's experience. It has nothing to do with the organization or business to which I currently belong.
### 文書履歴(document history)
ver. 0.01 初稿 　20231231
### 最後までおよみいただきありがとうございました。
いいね　💚、フォローをお願いします。
#### Thank you very much for reading to the last sentence.
Please press the like icon 💚　and follow me for your happy life.