Upgrade to Pro — share decks privately, control downloads, hide ads and more …

ラズピッピ・ファイブ / 20231024-rpi-jam-tokyo

ラズピッピ・ファイブ / 20231024-rpi-jam-tokyo

Raspberry JAM Tokyo 2023.10にて発表

内容は https://raspi.jp のベンチマーク記事の焼き直しなどなので、詳細は←のURLもぜひ

Akira Ouchi

October 24, 2023
Tweet

More Decks by Akira Ouchi

Other Decks in Technology

Transcript

  1. ࣗݾ঺հ • ͖͋ͬ͌ Ͱ͢ – .BTUPEPONBHQJDDBLLJF • ͠ΎΈͷ͔ͭͲ͏ – +BQBOFTF3BTQCFSSZ1J6TFST(SPVQ

    • ͜͏͍͏΍ͭͱ͔ • 3BTQJKQͱ͔ • ؾ͕޲͍ͨΒ(6*ΞϓϦͷ຋༁ͱ͔
  2. ࢼݧํ๏ • εΠοναΠΤϯε͞Μ͔Βआ༻ͷి೾҉ശ Λ࢖༻ • ʮٕదະऔಘػثΛ༻͍࣮ͨݧ౳ͷ ಛྫ੍౓ʯ͸ະ࢖༻ – ૹ৴ిྗN8ҎԼ͔Ͳ͏͔ͷ֬ೝ͕ Ͱ͖ͳ͔ͬͨ

    – Ϣʔβʔձ͔Β-UEͷ୲౰ʹ૬ஊ͔͠Β ʮͪΌΜͱٕదऔΔ͔Β଴ͬͯͯͶὑʯͱ ་͞Εͨ • ˞ࠓޙಛྫਃ੥͢Δͭ΋ΓͰ1Jͷ༧໿͍ͯ͠ΔਓΛ ࢭΊΑ͏ͱ͢Δ΋ͷͰ͸ͳ͍Ͱ͢
  3. ྺ୅ͷ3BTQCFSSZ1Jͱ "3.ͷϦϦʔε೥ൺֱ 31JϦϦʔε೥ "3.$PSF "3.$PSF ϦϦʔε೥ ೥ͷࠩ 3BTQCFSSZ1J  "3.+;'

      3BTQCFSSZ1J  $PSUFY"   3BTQCFSSZ1J  $PSUFY"   3BTQCFSSZ1J  $PSUFY"   3BTQCFSSZ1J  $PSUFY"  
  4. $16͸ߴ଎Խ͕ͨ͠ɺ ΍Γ͗͢ͱ͍͏͜ͱ͸ͳ͍ • $PSUFY" – ೥ൃදͷ"3.ͷ$16 – ೥લ • 31J͕ಛผഎ৳ͼͨ͠ײ͸ͳ͍

    • ࠓ೔ίετతʹదͨ͠ͷ͕͜Εͱਪଌ • εϚϗࢢ৔֦େͱ͔ͰਐԽͨ͠"3.ͷ ੑೳ޲্͕͍͢͝ͱ͍͏͔Μ͡
  5. ΋͔ͯ͠͠4BOEZ#SJEHF ͓͡͞Μͷ4#$൛ʜʁ • ʮͦͦ͜͜ੑೳͰ҆Ձͳͷ͕ྑ͍ͷʹʯ – ͦͦͬͯ͜͜ͳΜͩΑ – #΋ " ΋

    ;FSP8΋ 1JDP΋͋Δ͔Β ͖͢ͳੑೳͷ΋ͷΛબ΂͹ྑ͍ͷͰ͸ • ʮສ௒͑ͷϥζύΠʹັྗͳ͠ʯ – Ձ֨͸ԁ҆ͷ͍ͤͳͷͰͲ͏ʹ΋ͳΒΜ – υϧԁͩͬͨΒԁͪΐ͍Ͱ (#3".͕ങ͔͑ͯͨ΋͠Ε·ͤΜͶʙ
  6. 31ͱ͔ݴ͏͛͢ʔ΍ͭ • 1Jͷα΢εϒϦοδతͳνοϓ • 4P$͔Β1$*FYͰ઀ଓ • (1*0ɾ64# Yɾ(C&ɾ.*1*ɾ ΞφϩάϏσΦΛఏڙ •

    ೥͔Β։ൃ –  ສυϧ౤͡ΒΕͨͱ͔ݴͬͯΔ • ୯඼ͰചͬͨΒചΕͦ͏ʙͱࢥ͏͚Ͳɺ ͦΜͳ೔͸͕͢͞ʹ͜ͳͦ͞͏
  7. ެࣜͷྫྷ٫Φϓγϣϯ • ެࣜέʔε͸தʹϑΝϯ͕ඪ४ఴ෇ • ެࣜͷ"DUJWF$PPMFS͸ώʔτγϯΫͱ ϑΝϯͰߏ੒ – ଟগͳΜ͔΍ͬͯͯ΋ʙ౓୆ʹ Ωʔϓ͞ΕΔ –

    ෛՙ͕ແ͍ͱ͖͸ࢭ·͍ͬͯΔ͸ͣ • ެࣜᐌ͘ඞਢͰ͸ͳ͍Β͍͚͠Ͳɺ ৗ࣌Քಇͱ͔ෛՙ͔͚ΔͳΒ͋Ε͹҆৺
  8. ެࣜέʔε • υϧ • ϑΝϯඪ४ఴ෇ • )"5ࡌͤͳ͕Β ࢖͑ΔΑ͏ʹ • ͦ͜ʹ͕݀։͍ͨͷ

    ͰελοΩϯά΋ Ͱ͖ΔΑ͏ʹ • ଟ෼͓͢͢Ί – ࣮ࡍ࢖ͬͯͳ͍ͷͰ ࣗ৴͸ͳ͠
  9. ిؾ৯͏ΜͰ͠ΐ • ࠷খ7" – 64#ϙʔτͷ߹ܭ༰ྔ͕N"ʹ੍ݶ – 64#ϒʔτ͸ෆՄ • ىಈ࣌ʹిݯϘλϯճԡ͔͠ɺDPOGJHUYUʹ Φϓγϣϯ௥هͰɺແࢹ͸Մೳ

    • ਪ঑7" – 1PXFS%FMJWFSZͷΧελϜ1%0ͱͯ͠ ిݯʙ1JͰωΰγΤʔγϣϯ͕ඞཁ – 64#ϙʔτͷ߹ܭ༰ྔ͕N"ʹมΘΔ
  10. Ҿ༻  +BNFT&YBDUMZ ZFBI"OEPUIFSUIJOHTQMVHHFEJO)"5T  1$*&YQSFTT UIJOHTMJLFUIBU'BO4PXFXBOUFENPSFQPXFSUP UIFCPBSE/PXUIFQSPCMFNJTŠ BOEXFTPSUPGMFGUUIJTPQFO GPSBMJUUMFXIJMF

    XIJDIJTLJOEPGPOFPGUIFSFBTPOT1%FOEFE VQJOUIFSFBOZXBZŠ JTUIBUZPVDPVMEEPUIBUCZSFRVFTUJOH UIF1%TVQQMZHJWFZPV TBZ OJOFWPMUTBUUISFFBNQT XIJDI JTZPVLOPX XBUUT UIBU`TUIFTUBOEBSE#VUUIFOZPV`WF HPUUPDPOWFSUUIBUPOUIFCPBSEGSPNOJOFWPMUTEPXOUPGJWF WPMUTBOEBMMUIFPUIFSSBJMTʢ1%͸7"ͱ͍͏ඪ४తͳ8ͷ Ϟʔυ͕͋Δ͕ɺ7͔Β7ʹɺͦͯ͠ଞͷϨʔϧʢ7ͱ͔ʁʣʹ ม׵͢Δඞཁ͕͋ͬͨʣ &CFO "OEUIBU`TDPTUŠʢͦΕ͸ίετ΍ΜͶʣ
  11. Ͳ͏͢Ε͹ • 1J޲͚ͷ1P& )"5͕ޙ͔Βग़ΔͷͰɺ ͜ΕΛ࢖͏ͷ͕ϥΫઆʁ • 1P& ͷΠϯδΣΫλʔ͚ͩ༻ҙ͢Ε͹ ʜʜ –

    ͜͜Ͱ"NB[POͷ҆෺Λങͬͯ14&͕ ͳ͔ͬͨΒຊ຤స౗ͳͷͰ஫ҙ • ·ͣ͸7"ͷిݯͰ΍ͬͯΈͯ ෆ଍͔ͯ͠Βߟ͑ΔͷͰ΋ྑͦ͞͏
  12. $16 • IUUQTXXXSBTQJKQSBTQCF SSZQJCFODINBSLSFWJFX • 6OJY#FODIͰ͸1JΑΓഒ͍ۙείΞ • "&4҉߸Խ͕$16Ͱαϙʔτ͞ΕͨͷͰ 0QFO44-ͷύϑΥʔϚϯε͕େ෯ʹ޲্ type

    16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes 16384 bytes (Pi4) aes- 256-cbc 33279.44k 35311.38k 36007.17k 36201.13k 36255.06k 36252.33k (Pi5) aes- 256-cbc 622174.58k 1062045.76k 1278014.63k 1339694.42k 1365753.86k 1368260.61k Pi5/Pi4 18.7 30.08 35.49 37.01 37.67 37.74
  13. MTDQV  $ lscpu Architecture: aarch64 CPU op-mode(s): 32-bit, 64-bit

    Byte Order: Little Endian CPU(s): 4 On-line CPU(s) list: 0-3 Vendor ID: ARM Model name: Cortex-A76 Model: 1 Thread(s) per core: 1 Core(s) per cluster: 4 Socket(s): - Cluster(s): 1 Stepping: r4p1 CPU(s) scaling MHz: 42% CPU max MHz: 2400.0000 CPU min MHz: 1000.0000 BogoMIPS: 108.00 Flags: fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm lrcpc dcpop asimddp
  14. MTDQV  Vulnerabilities: Gather data sampling: Not affected Itlb multihit:

    Not affected L1tf: Not affected Mds: Not affected Meltdown: Not affected Mmio stale data: Not affected Retbleed: Not affected Spec rstack overflow: Not affected Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl Spectre v1: Mitigation; __user pointer sanitization Spectre v2: Mitigation; CSV2, BHB Srbds: Not affected Tsx async abort: Not affected
  15. .JDSP4%ΧʔυಡΈॻ͖ੑೳ • 4%3ʹରԠ – .JDSP4%Χʔυͷن֨ͷҰछ – .#TʹରԠ • 1J͸ଟ෼4%3ʢ.#TʣͳͷͰഒ •

    IEQBSN – 1J͸.#Tɺ1J͸.#T • EEͰθϩຒΊΠϝʔδ࡞੒ – 1J͸.#Tɺ1J͸.#T – 8JOEPXTػͰࢼͨ͠Β.#TͩͬͨͷͰ ͪΌΜͱੑೳͰͯΔ
  16. ௨ి։࢝࣌ͷग़ྗ͸ ͜Μͳײ͡ RPi: BOOTSYS release VERSION:3094eda5 DATE: 2023/09/21 TIME: 17:58:43

    BOOTMODE: 0x06 partition 0 build-ts BUILD_TIMESTAMP=1695315523 serial ******** boardrev d04170 stc ******* AON_RESET: 00000003 PM_RSTS 00001000 RP1_BOOT chip ID: 0x20001927 PM_RSTS: 0x00001000 part 00000000 reset_info 00000000 PMIC reset-event 00000000 rtc 00000004 alarm 00000000 enabled 0 uSD voltage 3.3V Initialising SDRAM 'Micron' 32Gb x2 total-size: 64 Gbit 4267 DDR 4267 1 0 64 152 RP1_BOOT chip ID: 0x20001927 RP1_BOOT chip ID: 0x20001927 RP1_BOOT: fw size 25968 PCI2 init PCI2 reset PCIe scan 00001de4:00000001 RP1_CHIP_INFO 20001927
  17. 4%Λݟ͚ͭͯಡΈࠐΜͰ ͍Δͱ͜Ζ Trying partition: 0 type: 32 lba: 8192 'mkfs.fat'

    ' bootfs ' clusters 261116 (4) rsc 32 fat-sectors 2040 root dir cluster 2 sectors 0 entries 0 FAT32 clusters 261116 [sdcard] autoboot.txt not found Trying partition: 0 type: 32 lba: 8192 'mkfs.fat' ' bootfs ' clusters 261116 (4) rsc 32 fat-sectors 2040 root dir cluster 2 sectors 0 entries 0 FAT32 clusters 261116 Read config.txt bytes 1229 hnd 0xfef7 [sdcard] pieeprom.upd not found usb_max_current_enable default 0 max-current 3000 Read bcm2712-rpi-5-b.dtb bytes 71797 hnd 0xcb56 dt-match: compatible: raspberrypi,5-model-b match: brcm,bcm2712 dt-match: compatible: brcm,bcm2712 match: brcm,bcm2712 PM_RSTS 00001000 Selecting USB low current limit
  18. ·ͱ·ΒΜ·ͱΊ • ਐԽ͗͢͠ʹݟ͑Δ͔΋͠Εͳ͍͚Ͳɺ ܏޲͔Βݟͯਖ਼ৗਐԽͰ͸͋Δ – ਐԽ͠ա͗ʹݟ͑ͨΒ4BOEZ#SJEHF͓͡͞Μ ʹͳ͍ͬͯΔ͔΋ʢࣗռʣ • ٕదͱ͔14&Λ଴ͱ͏ –

    ઌ૸ͬͯങͬͯಛྫ࢖ͬͯ΋ɺࢼݧޙ͸ ࢖͑Μϋʔυʹ໭Δ͚ͩ – Α΄ͲݩΛऔΕΔΞς͕͋Δͱ͔ɺۀ຿্ Ͳ͏ͯ͠΋ࢼݧ͕ඞཁͱ͔Ͱͳ͍ݶΓ͸ʜʜ
  19. ݸਓతʹ͸Ͳ͏࢖͏ • ·ͣ͸ීஈͷ࡞ۀ༻ʹ – 1JͰηοτΞοϓͯ͠;FSP8Ͱຊ൪ӡ༻ Έ͍ͨͳ࢖͍ํ – ͜Ε·Ͱͦͷ໾ׂͩͬͨ1JΒ͸ৗઃ༻ͱ͠ ͯɺৗઃͷݹ͍1JΛԡ͠ग़͢ •

    ձࣾͷ0QFO71/αʔόʔΛ1Jʹ͢Δ – ҉߸Խ͕ڧ͘ͳͬͨͷͰ΍Δ͔͠ʹ͌ – 1P& )"5ࡌͤͯ1P&Ͱ΍Γ͍ͨͶ • αʔόʔϧʔϜͷεΠον͕1P& ͍͚ΔͷͰ