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

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

Akira Ouchi
October 24, 2023

ラズピッピ・ファイブ / 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. ϥζϐοϐɾϑΝΠϒ
    ͖͋ͬ͌
    +BQBOFTF3BTQCFSSZ1J6TFST(SPVQ

    3BTQCFSSZ+".

    View full-size slide

  2. ࣗݾ঺հ
    • ͖͋ͬ͌ Ͱ͢
    – .BTUPEPONBHQJDDBLLJF
    • ͠ΎΈͷ͔ͭͲ͏
    – +BQBOFTF3BTQCFSSZ1J6TFST(SPVQ
    • ͜͏͍͏΍ͭͱ͔
    • 3BTQJKQͱ͔
    • ؾ͕޲͍ͨΒ(6*ΞϓϦͷ຋༁ͱ͔

    View full-size slide

  3. ࠓ೔ͷ಺༰
    • 3BTQCFSSZ1JΛ࣮ࡍʹಈ͔ͯ͠
    Θ͔ͬͨ͜ͱΛશྗͰ͓఻͑͢Δ
    • ࠓճ΋ྑ͍ͱ͜ΖϠόͦ͏ͳͱ͜Ζ
    ੝Γͩ͘͞Μʢʁʁʁʣ
    • ग़ՙ͸͖ͷ͏ແࣄ։࢝ͨ͠Β͍͠
    • IUUQTXXXSBTQCFSSZQJDPNOFXT
    SBTQCFSSZQJBWBJMBCMFOPX

    View full-size slide

  4. 9月のARイベントレポ

    View full-size slide

  5. αϚϦ
    • ߦ͖ͷඈߦػܽߤɺ୅ସͰϑΟϯϥϯυ
    Λܦ༝
    • Πϕϯτ։࢝෼͘Β͍஗ΕͰ౸ண
    • Πϕϯτத͸جຊ/%"·ΈΕͳͷͰུ
    • ެࣜετΞͰ$.ήοτ
    • ࢒Γ͸ϩϯυϯͰͻͨ͢Β؍ޫ
    – γΣϑΟʔϧυʹߦ͘༧ఆ͕Ωϟϯηϧʹ
    ͳͬͯ͠·ͬͨͨΊ

    View full-size slide

  6. ݄ͷ"3Πϕϯτͷࢥ͍ग़
    • &MZͷڭձͰ൩࢏ձதɺ
    1PLFNPO(PΛ΍Γʹ
    ڭձ಺Λ;Β͍ͭͯͨ
    Β-J[ʹݺͼࢭΊΒΕͯ
    ʮεϚϗͷి೾͕ೖΒ
    ͳͯ͘ϝʔϧݟΕͳ͍
    ͷΑɺͳʹɺ͖͋ͬ͌
    1PLFNPO΍ͬͯΔͷʁ
    ςβϦϯάͯ͠ʂʯͬ
    ͯݴΘΕͨ͜ͱ

    View full-size slide

  7. 本題:
    Raspberry Pi 5
    試験環境について

    View full-size slide

  8. ࢼݧํ๏
    • εΠοναΠΤϯε͞Μ͔Βआ༻ͷి೾҉ശ
    Λ࢖༻
    • ʮٕదະऔಘػثΛ༻͍࣮ͨݧ౳ͷ
    ಛྫ੍౓ʯ͸ະ࢖༻
    – ૹ৴ిྗN8ҎԼ͔Ͳ͏͔ͷ֬ೝ͕
    Ͱ͖ͳ͔ͬͨ
    – Ϣʔβʔձ͔Β-UEͷ୲౰ʹ૬ஊ͔͠Β
    ʮͪΌΜͱٕదऔΔ͔Β଴ͬͯͯͶὑʯͱ
    ་͞Εͨ
    • ˞ࠓޙಛྫਃ੥͢Δͭ΋ΓͰ1Jͷ༧໿͍ͯ͠ΔਓΛ
    ࢭΊΑ͏ͱ͢Δ΋ͷͰ͸ͳ͍Ͱ͢

    View full-size slide

  9. ͪͳΈʹ
    • '$$͸͡Ίɺೝূؔ࿈ͷࢿྉ͸
    ʙʹ͔͚֤ͯॴͰެ։ࡁΈ
    • IUUQTQJQSBTQCFSSZQJDPN
    DBUFHPSJFTBQQSPWBMT

    View full-size slide

  10. ࢼݧ؀ڥ コンセントへ
    (ワットモニター経由)
    USB2.0ポートx2
    シリアル通信(ねんのため)
    Pi 4 で作った
    雑L2ブリッジ
    ※ 青: USB 緑: Ethernet 赤: 電源 黄色: UART
    シールドボックス

    View full-size slide

  11. インターフェイスを
    舐め回す

    View full-size slide

  12. $16
    • $PSFT$PSUFY"()[
    • ೥ͷ"3.ίΞɻ೥ͷ1$ฒ

    View full-size slide

  13. (16
    • 7JEFP$PSF 7**
    • %VBM,QXJUI)%3ͱ͔ύϫϑϧ

    View full-size slide

  14. 3".
    • -1%%39 ࠷ॳ͸
    (#(#छ
    • νοϓӈଆʹ༰ྔΛࣔ͢νοϓ͕ͭ͘

    View full-size slide

  15. 31νοϓ
    • *0ؔ࿈Λ࿫͏ࣗࣾνοϓ
    • ৄࡉ͸ޙड़

    View full-size slide

  16. '"/ίωΫλʢॳʣ
    • ΦϑΟγϟϧͷྫྷ٫੡඼ʹ઀ଓͯ͠࢖༻

    View full-size slide

  17. 64#
    • 64#͸֤ϙʔτ(CQTʹରԠ
    • ϙʔτ͋ͨΓͷੑೳ΋޲্

    View full-size slide

  18. &UIFSOFU1P&ϐϯ
    • ഑ஔ͕ઌ૆ฦΓ
    • 1P&ϐϯ͸ॳͷҠಈɻରԠϘʔυ͸ޙ೔ൃ

    View full-size slide

  19. $4*%4*྆༻ίωΫλY
    • ΧϝϥͱσΟεϓϨΠ͕ڞ༻ʹ
    • ෺ཧܗঢ়͸;FSPͱಉ౳ɻέʔϒϧ͸ผ్
    ൃച

    View full-size slide

  20. ಠཱ6"35ϙʔτʢॳʣ
    • %FCVH1SPCFͰ઀ଓՄೳͳϙʔτ
    • 04ىಈલͷ਍அ͔ΒऔಘՄೳ

    View full-size slide

  21. 1.*$35$όοςϦʔ
    ίωΫλʢॳʣ
    • %JBMPHࣾͱͷڞಉ։ൃ1.*$ɻ35$͕ॳ಺
    ଂɻެ͔ࣜΒి஑͕ൃച༧ఆɻ

    View full-size slide

  22. ిݯϘλϯʢॳʣ
    • ిݯϘλϯ͕଴๬ͷ࣮૷ɻόοςϦʔ
    ίωΫλʔͷԼʹεϧʔϗʔϧ༗

    View full-size slide

  23. 1$*&YQSFTTYʢॳʣ
    • NNϐονϐϯͷ'1$ͰҾ͖ग़ͯ͠
    ࢖༻ɻࠓޙ.)"5͕ൃച༧ఆ

    View full-size slide

  24. • ଎౓͕ഒʢ.#Tˠ.#Tʣʹ
    • .JDSP4%ϒʔτͰ΋͔ͬ͠Γߴ଎ʹ
    .JDSP4% 4%3

    View full-size slide

  25. • (1*0ͱ64#-"/ͷ଍͕ඈͼग़͞ͳ͘
    ͳͬͨɻ
    Ϧϑϩʔํ๏ͷมߋ

    View full-size slide

  26. • (/%઀ଓͷ࢛֯ͷ෦඼͕৽ͨͳ଍ͱͳΓ
    .JDSP4%ͱࡾ఺Ͱཱࣗ͢Δ

    View full-size slide

  27. ج൘ͷϑνͷ͘͞͞Ε͕
    ͳ͘ͳͬͨ
    • ͜Ε·Ͱͷ3BTQCFSSZ1J͸ج൘ͷϑν͕
    ͘͞͞Ε͍ͯͯɺࢦʹࢗ͞Δͱ௧͍΍ͭ
    ͩͬͨ
    – ͜Εɺࢴ΍͢Γ͕গ͠࡟Δͱྑ͘ͳΓ·͢
    • 1J͸ϑν͕͖Ε͍ʹॲཧ͞ΕΔΑ͏ʹ
    ͳΓɺࢦͰ৮ͬͯ΋҆શʹͳͬͨ
    • ݸਓతʹ݁ߏؾʹೖͬͯΔϙΠϯτ

    View full-size slide

  28. Raspberry Pi 5のスペック
    もうちょい深掘り

    View full-size slide

  29. ྺ୅ͷ3BTQCFSSZ1Jͱ
    "3.ͷϦϦʔε೥ൺֱ
    31JϦϦʔε೥ "3.$PSF
    "3.$PSF
    ϦϦʔε೥
    ೥ͷࠩ
    3BTQCFSSZ1J "3.+;'
    3BTQCFSSZ1J $PSUFY"
    3BTQCFSSZ1J $PSUFY"
    3BTQCFSSZ1J $PSUFY"
    3BTQCFSSZ1J $PSUFY"

    View full-size slide

  30. $16͸ߴ଎Խ͕ͨ͠ɺ
    ΍Γ͗͢ͱ͍͏͜ͱ͸ͳ͍
    • $PSUFY"
    – ೥ൃදͷ"3.ͷ$16
    – ೥લ
    • 31J͕ಛผഎ৳ͼͨ͠ײ͸ͳ͍
    • ࠓ೔ίετతʹదͨ͠ͷ͕͜Εͱਪଌ
    • εϚϗࢢ৔֦େͱ͔ͰਐԽͨ͠"3.ͷ
    ੑೳ޲্͕͍͢͝ͱ͍͏͔Μ͡

    View full-size slide

  31. ΋͔ͯ͠͠4BOEZ#SJEHF
    ͓͡͞Μͷ4#$൛ʜʁ
    • ʮͦͦ͜͜ੑೳͰ҆Ձͳͷ͕ྑ͍ͷʹʯ
    – ͦͦͬͯ͜͜ͳΜͩΑ
    – #΋ "΋ ;FSP8΋ 1JDP΋͋Δ͔Β
    ͖͢ͳੑೳͷ΋ͷΛબ΂͹ྑ͍ͷͰ͸
    • ʮສ௒͑ͷϥζύΠʹັྗͳ͠ʯ
    – Ձ֨͸ԁ҆ͷ͍ͤͳͷͰͲ͏ʹ΋ͳΒΜ
    – υϧԁͩͬͨΒԁͪΐ͍Ͱ
    (#3".͕ങ͔͑ͯͨ΋͠Ε·ͤΜͶʙ

    View full-size slide

  32. $16ɺ҉߸Խ΋͍͢͝κ
    • ී௨ͷੑೳ͸ʙഒ͘Β͍
    • 1J͸ॳΊͯ"&4ͱ͔ͷ
    ҉߸Խػೳ͕$16ʹ౥ࡌ
    • 1JൺֱͰഒͱ͔ͰΔɺ΍͹͍

    View full-size slide

  33. 31ͱ͔ݴ͏͛͢ʔ΍ͭ
    • 1Jͷα΢εϒϦοδతͳνοϓ
    • 4P$͔Β1$*FYͰ઀ଓ
    • (1*0ɾ64#Yɾ(C&ɾ.*1*ɾ
    ΞφϩάϏσΦΛఏڙ
    • ೥͔Β։ൃ
    – ສυϧ౤͡ΒΕͨͱ͔ݴͬͯΔ
    • ୯඼ͰചͬͨΒചΕͦ͏ʙͱࢥ͏͚Ͳɺ
    ͦΜͳ೔͸͕͢͞ʹ͜ͳͦ͞͏

    View full-size slide

  34. Ձ֨ͱੑೳͷόϥϯε
    • Ձ֨ͱੑೳͷόϥϯε͸1JΑΓ΋ྑ͍
    – ੑೳʙഒ͚ͩͲՁ֨͸ഒʹͳͬͯͳ͍
    – υϧ্͔͕ͬͯ͠ͳ͍
    • ೔ຊԁʹ௚ͯ͠Ϧηʔϥʔͷརӹͱ͔
    ߟ͑ͨΒ͜ͷ͘Β͍ʁ
    – (#3". ԁʁ
    – (#3". ԁ
    – (#3". ͱԾఆ
    ԁʁ
    • (#3".͕ग़Ε͹4#͓͡͞Μ΋χοίϦ

    View full-size slide

  35. よくあるコメント

    View full-size slide

  36. ൃ೤͢ΔΜͰ͠ΐ
    • ͦΕ͸ͦ͏
    • ࡶͳώʔτγϯΫ͚ͩͩͱΞΠυϧ࣌
    ౓͘Β͍ʢശͷதͰແ෩ͳ఺ʹཹҙʣ
    – ϚΠΫϥ+BWB൛αʔόʔΛಈ͔ͨ͠Βʙ
    ౓ͩͱ΋ࣗ෼Ͱॻ͍ͯͯΔͷͰɺؾԹมಈ
    ΋·ͨཹҙ
    • ΋ͬͱڧྗʹγό͚͹ ZFTͱ͔
    εϩοτ
    Ϧϯά͕࢝·Δ౓ʹ౸ୡͰ͖Δ

    View full-size slide

  37. ެࣜͷྫྷ٫Φϓγϣϯ
    • ެࣜέʔε͸தʹϑΝϯ͕ඪ४ఴ෇
    • ެࣜͷ"DUJWF$PPMFS͸ώʔτγϯΫͱ
    ϑΝϯͰߏ੒
    – ଟগͳΜ͔΍ͬͯͯ΋ʙ౓୆ʹ
    Ωʔϓ͞ΕΔ
    – ෛՙ͕ແ͍ͱ͖͸ࢭ·͍ͬͯΔ͸ͣ
    • ެࣜᐌ͘ඞਢͰ͸ͳ͍Β͍͚͠Ͳɺ
    ৗ࣌Քಇͱ͔ෛՙ͔͚ΔͳΒ͋Ε͹҆৺

    View full-size slide

  38. ެࣜέʔε
    • υϧ
    • ϑΝϯඪ४ఴ෇
    • )"5ࡌͤͳ͕Β
    ࢖͑ΔΑ͏ʹ
    • ͦ͜ʹ͕݀։͍ͨͷ
    ͰελοΩϯά΋
    Ͱ͖ΔΑ͏ʹ
    • ଟ෼͓͢͢Ί
    – ࣮ࡍ࢖ͬͯͳ͍ͷͰ
    ࣗ৴͸ͳ͠

    View full-size slide

  39. "DUJWF$PPMFS
    • υϧ
    • 1JNPSPOJͩͱ
    (#1ʢ˞੫ࠐʣ
    – 1J#PXͱ૬ੑ˕

    View full-size slide

  40. ѲΓͳ͕Β࢖͏΍ͭ͸͓ΒΜ
    • ຖϞσϧ͝ͱʹʮ৮Εͳ͘ͳΔ΄Ͳ೤͘
    ͳͬͨʂʯͱݴΘΕΔ͚Ͳɺ4P$ʹࢦΛ
    ৐ͤͳ͕Β࢖ͬͨΓѲΓͳ͕Β࢖͏ਓؒ
    ͳΜ͔͍ͳ͍
    – ࣗ࡞1$ͰͦΜͳ࿩ฉ͔ΜͰ͠ΐ
    • ϑΝϯ౥ࡌͷਪ঑౓্͕͕ͬͯΔͷ͸
    ͪΐͬͱ೰·͍͚͠ͲɺώʔτγϯΫ
    Ͱ΋ଟ෼·ͩઓ͑ΔͷͰ͸

    View full-size slide

  41. ిؾ৯͏ΜͰ͠ΐ
    • ࠷খ7"
    – 64#ϙʔτͷ߹ܭ༰ྔ͕N"ʹ੍ݶ
    – 64#ϒʔτ͸ෆՄ
    • ىಈ࣌ʹిݯϘλϯճԡ͔͠ɺDPOGJHUYUʹ
    Φϓγϣϯ௥هͰɺແࢹ͸Մೳ
    • ਪ঑7"
    – 1PXFS%FMJWFSZͷΧελϜ1%0ͱͯ͠
    ిݯʙ1JͰωΰγΤʔγϣϯ͕ඞཁ
    – 64#ϙʔτͷ߹ܭ༰ྔ͕N"ʹมΘΔ

    View full-size slide

  42. 7"Ͱ΋ྑ͍࣌
    • 64#͸ಛʹ࢖Θͳ͍
    • 64#ϒʔτ΋͠ͳ͍
    • (1*0΋ిؾΛ৯͏΋ͷ͸ಛʹܨ͕ͳ͍

    View full-size slide

  43. 7"͕ඞཁͳ࣌
    • 64#ϒʔτ͢Δ࣌
    • 64#ͷ44%ͱ͔ͭͳ͍͗ͨ࣌
    – ίϨ΋΋͔ͨ͠͠Βηϧϑύϫʔϋϒͱ͔
    ט·ͨ͠Β7"Ͱ଍ΓΔ͔΋ʁ
    • (1*0ʹσΟεϓϨΠ৐ͤΔͱ͔
    ΨοπϦ࢖͏࣌

    View full-size slide

  44. ެࣜిݯͲ͏ͳΔ
    • ిݯΞμϓλʔʹ΋
    14&ͱ͍͏ೝূ͕͋Δ
    • ࠃ಺ͷاۀ͕औಘ͢Δ
    ඞཁ͕͋Δ
    – Մೳੑ͕ߴ͍ͷ͸
    ࣾϦηʔϥʔͷ
    ͲͪΒ͔
    • ٕదΑΓ΋ઌ͕ಡΊͳ
    ͍ͷͰɺଟ෼Ұ൪΍͖
    ΋͖͢Δ͜ͱʹͳΔ

    View full-size slide

  45. ͦͷลͷ64#1%ిݯ͸ʁ
    • ͦͷลͷ1%ిݯ͸ɺ8ͱ͔8ͱ͔
    ͷిݯͩͬͨͱͯ͠΋ɺػثʹରͯ͠
    ʮ7͸"ΛڅిՄೳʯͱ஻Δ΍ͭ͸
    جຊతʹ͍ͳ͍
    • ੈؒҰൠʹ1%ͷ7͸"ͳͷͰɺ
    1Jʹ΋7"͔͠ڙڅ͞Εͳ͍

    View full-size slide

  46. ͳͥ͜Μͳ͜ͱʹ
    • Α͍͘ΘΕΔͷ͕ʮ1%ͷ7"͡Όμϝ
    ͩͬͨͷ͔ʁʯ
    • ౴͑͸͜ͷهࣄͷಈըʹ͋Δ
    – IUUQTXXXSBTQCFSSZQJDPNOFXTKBNF
    TBEBNTBOEFCFOVQUPOPOEFTJHOJOH
    SBTQCFSSZQJ
    – ʙʢςΩετॻ͖ى͔͜͠Βʣ

    View full-size slide

  47. Ҿ༻

    +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ŠʢͦΕ͸ίετ΍ΜͶʣ

    View full-size slide

  48. Ҿ༻ͷଓ͖Λཁ໿
    • ిѹม׵͸ޮ཰͕མͪɺΤωϧΪʔ͕
    ແବʹͳΔ
    • 64#$ίωΫλࣗମ͸"αϙʔτ͋Δ
    – 1%͸7"΋͋Δ͠Ͷ
    • ௿ిѹͰେిྲྀΛྲྀ͢ͷ͸೉͍͚͠Ͳ
    Ͱ͖ͳ͘ͳ͍͔Β΍ͬͨ
    • ͜ΕͰϘʔυ͸͍͡ΒͣʹࡁΈɺ
    ిྗ΋ແବʹͤͣʹࡁΉ

    View full-size slide

  49. Ͳ͏͢Ε͹
    • 1J޲͚ͷ1P&)"5͕ޙ͔Βग़ΔͷͰɺ
    ͜ΕΛ࢖͏ͷ͕ϥΫઆʁ
    • 1P&ͷΠϯδΣΫλʔ͚ͩ༻ҙ͢Ε͹
    ʜʜ
    – ͜͜Ͱ"NB[POͷ҆෺Λങͬͯ14&͕
    ͳ͔ͬͨΒຊ຤స౗ͳͷͰ஫ҙ
    • ·ͣ͸7"ͷిݯͰ΍ͬͯΈͯ
    ෆ଍͔ͯ͠Βߟ͑ΔͷͰ΋ྑͦ͞͏

    View full-size slide

  50. ݸਓ࢖༻Ͱ༌ೖ͸0,Ͱ͸
    • ྫ͑͹1JNPSPOJ͔Βങͬͯࣗ෼Ͱ࢖͏
    ৔߹͸0,ͱ͍͏આ͕άάΕ͹ग़Δ
    – ܦ࢈ল͕౴͑ͯΔͱ͔ݴ͏هࣄ΋ग़Δ͚Ͳɺ
    ୲౰ʹΑͬͯݟղ͕ϒϨΔ͜ͱ΋͋ΔͷͰɺ
    ͋Μ·Γա৴͠ͳ͍΄͏͕ྑ͍
    • ༑ୡͱ͔ʹ༌ೖΛख఻ͬͯ΋Β͏ͱ༑ୡ
    ͕ۀऀͱ͍͏ѻ͍ʹͳΔͬΆ͍ͷͰ஫ҙ
    • ࢖༻΋ࣗݾ੹೚Λ൐͏ͷͰ஫ҙ

    View full-size slide

  51. OSを動かして
    パフォーマンスとかを見る

    View full-size slide

  52. 31J04#PPLXPSN
    • 1J͸3BTQCFSSZ1J04#PPLXPSNҎ߱
    Λαϙʔτ
    – #VMMTFZFҎલ͸ಈ͔ͳ͍ͷͰ஫ҙ
    • ςετ͸#PPLXPSNͷςετ΋݉ͶΔ
    ঢ়ଶͩͬͨ
    – όάใࠂͨ͠Β1JͬͯΑΓ΋#PPLXPSNͷ
    όάͩͬͨΈ͍ͨͳ͜ͱ΋ʜʜ

    View full-size slide

  53. $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

    View full-size slide

  54. 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

    View full-size slide

  55. 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

    View full-size slide

  56. .JDSP4%ΧʔυಡΈॻ͖ੑೳ
    • 4%3ʹରԠ
    – .JDSP4%Χʔυͷن֨ͷҰछ
    – .#TʹରԠ
    • 1J͸ଟ෼4%3ʢ.#TʣͳͷͰഒ
    • IEQBSN
    – 1J͸.#Tɺ1J͸.#T
    • EEͰθϩຒΊΠϝʔδ࡞੒
    – 1J͸.#Tɺ1J͸.#T
    – 8JOEPXTػͰࢼͨ͠Β.#TͩͬͨͷͰ
    ͪΌΜͱੑೳͰͯΔ

    View full-size slide

  57. 64#΋ੑೳΞοϓ
    • 1J͸1$*FYͷ7-νοϓʹͿΒ
    Լ͕͍ͬͯΔͨΊɺϙʔτͰ.#T
    ͘Β͍ΛଳҬڞ༗
    • 1J͸1$*FYͷ31νοϓ͔Β
    64#64#ίϯτϩʔϥʔ͕
    ͭग़͍ͯΔͨΊɺ֤ϙʔτ(CQT

    View full-size slide

  58. 64#44%Ͱϕϯν
    • ಉҰ44%Λ1Jͱ1JͰଌఆ
    • IEQBSN
    – 1J͸.#Tɺ1J͸.#T
    • EEͰθϩຒΊΠϝʔδ࡞੒
    – 1J͸.#Tɺ1J͸.#T
    • ര଎ʙὑ

    View full-size slide

  59. ୆ಉ࣌΋͸΍ʙ͍ὑ
    • ಉ࣌ʹIEQBSN rU
    – 44%ࣗମ͸ผͷܕ൪
    • TEB.#T
    • TEC.#T
    • ·ɺϚδ͔ʜʜ31͓ͦΔ΂͠

    View full-size slide

  60. 6"35ϙʔτ͸ศར
    • ىಈલͷϑΝʔϜ΢ΣΞ෦෼͔ΒऔಘͰ
    ͖Δ
    – ىಈ͠ͳ͍ͱ͖ͷ੾Γ෼͚ͱ͔
    – ిݯͷ৘ใͱ͔
    • %FCVH1SPCF͕ඞཁʢ ԁ͘Β͍ʣ
    • ݸਓతʹ͸ྫྷ٫ΞΫηαϦങ͏ΑΓ͜Ε
    Λങ͏ͷΛ͓͢͢Ί͍ͨ͠

    View full-size slide

  61. ௨ి։࢝࣌ͷग़ྗ͸
    ͜Μͳײ͡
    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

    View full-size slide

  62. 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

    View full-size slide

  63. Pi 5のその他

    View full-size slide

  64. 1J͸.PEFM#͔ʁ
    • ৔ॴʹΑͬͯ͸
    ʮ3BTQCFSSZ1J.PEFM#ʯͱ
    දه͍ͯ͠Δͱ͜Ζ͕͋Δ
    • ϦϦʔεޙͰ΋தͷਓͷݟղ͸
    ϒϨ͍ͯͨ
    • ޙ͔Β.PEFM#͕࡟ΒΕ͖͍ͯͯΔ
    – 1J&&130.*NBHFͷߋ৽Ͱ.PEFM#ͷ
    දه͕࡟ΒΕͨ

    View full-size slide

  65. ͡Ό͋1J.PEFM"ͷ
    Մೳੑ͸ͳ͘ͳͬͨͷ͔
    • Θ͔ΒΜ
    • Ͱ΋31ͷ෺ཧ഑ஔతʹ"͸࡞Εͳͦ͞͏
    • 31Λলུͨ͠Βͱͯ͠੒Γཱͨͳ͍ͷ
    Ͱɺ.PEFM"Λ࡞Δͷ͸೉͍͠આʁ
    – 31ͷ྿Ձ൛Λ࡞Βͳ͍ͱίετతʹ
    ೉ͦ͠͏ͳؾ͕͢Δʁ

    View full-size slide

  66. $.ͱ͔1J͸
    • ͦΕΈΜͳݴͬͯͨ
    • ͚Ͳશ෦ద౰ʹ୙͞Εͯͨ
    • ग़ͯͷָ͓͠ΈͳͷͰ͸

    View full-size slide

  67. ·ͱ·ΒΜ·ͱΊ
    • ਐԽ͗͢͠ʹݟ͑Δ͔΋͠Εͳ͍͚Ͳɺ
    ܏޲͔Βݟͯਖ਼ৗਐԽͰ͸͋Δ
    – ਐԽ͠ա͗ʹݟ͑ͨΒ4BOEZ#SJEHF͓͡͞Μ
    ʹͳ͍ͬͯΔ͔΋ʢࣗռʣ
    • ٕదͱ͔14&Λ଴ͱ͏
    – ઌ૸ͬͯങͬͯಛྫ࢖ͬͯ΋ɺࢼݧޙ͸
    ࢖͑Μϋʔυʹ໭Δ͚ͩ
    – Α΄ͲݩΛऔΕΔΞς͕͋Δͱ͔ɺۀ຿্
    Ͳ͏ͯ͠΋ࢼݧ͕ඞཁͱ͔Ͱͳ͍ݶΓ͸ʜʜ

    View full-size slide

  68. ݸਓతʹ͸Ͳ͏࢖͏
    • ·ͣ͸ීஈͷ࡞ۀ༻ʹ
    – 1JͰηοτΞοϓͯ͠;FSP8Ͱຊ൪ӡ༻
    Έ͍ͨͳ࢖͍ํ
    – ͜Ε·Ͱͦͷ໾ׂͩͬͨ1JΒ͸ৗઃ༻ͱ͠
    ͯɺৗઃͷݹ͍1JΛԡ͠ग़͢
    • ձࣾͷ0QFO71/αʔόʔΛ1Jʹ͢Δ
    – ҉߸Խ͕ڧ͘ͳͬͨͷͰ΍Δ͔͠ʹ͌
    – 1P&)"5ࡌͤͯ1P&Ͱ΍Γ͍ͨͶ
    • αʔόʔϧʔϜͷεΠον͕1P&͍͚ΔͷͰ

    View full-size slide

  69. おわり。質問とか、
    俺はこう使うみたいなのが
    あればぜひ!

    View full-size slide