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

Raspberry Pi 5のPCI Express拡張ボードあれこれ / 20240420-...

Raspberry Pi 5のPCI Express拡張ボードあれこれ / 20240420-osunc2024-kawagoe

Open Source UN-Conference 2024 Kawagoeにて発表。1月のLTのアップデート版です。

Akira Ouchi

April 20, 2024
Tweet

More Decks by Akira Ouchi

Other Decks in Technology

Transcript

  1. ࣗݾ঺հ • ͖͋ͬ͌ Ͱ͢ – .BTUPEPONBHQJDDBLLJF – .JTTLFZJP!"LLJFTPGU • ͠ΎΈͷ͔ͭͲ͏

    – +BQBOFTF3BTQCFSSZ1J6TFST(SPVQ • ͜͏͍͏΍ͭͱ͔ • 3BTQJKQͱ͔ • ؾ͕޲͍ͨΒ(6*ΞϓϦͷ຋༁ͱ͔
  2. ͓͠Βͤ ࣥචϥογϡΩλʔ • ݄ץ*0೥݄߸3BTQCFSSZ1Jಛू – 3BTQCFSSZ1JΛੜ׆ʹऔΓೖΕΑ͏తͳςʔϚ Λ୲౰ – ࣗ୐ͷϥζϐοϐ঺հ •

    ΠϯϓϨε 1$8BUDI)PU)PU 3&7*&8 – ʮվΊͯݟΔɺʮ3BTQCFSSZ1Jʯͷ࣮ྗͱ࢖ ͍Ͳ͜Ζʯ – IUUQTQDXBUDIJNQSFTTDPKQEPDTDPMVNO IPUIPUIUNM – 1JͷϨϏϡʔ
  3. ൓Ԡ • ͦΜͳεϖοΫ͍ΒΜ • ͜ΕͳΒϛχ1$ങ͏ • ిݯ͕ – લͷϞσϧͰ΋ങΘͳ͍ཧ༝୳ͯͨ͠͠ ΞϚϊδϟΫ૚ͳͷͰ͸ʁʁʁ

    – Ͳ͏ͤϛχ1$΋ങΘΜͤ͘ʹω • ߴ͍ɺੲ͸ԁͩͬͨͷʹ – ԁ҆ͷ͍ͤͩ – ԁߴա͗Δ࣌ظʹੜ·Εͨϥζϐοϐͷ ໋॓ΈΛײ͡Δ
  4. 1$*&YQSFTTͷ࢓༷ • IUUQTXXXSBTQCFSSZQJDPNOFXTE PVCMFTUBOEBSET – ެ։ – )"5Λ֦ுͨ͠)"5 ن֨΋ಉ࣌ʹൃද •

    1$*FͷϐϯͷׂΓ౰ͯ΍έʔϒϧ௕ͷ ੍ݶ౳ʹ͍ͭͯهࡌ • ͜ΕʹԊͬͯ1J޲͚1$*FσόΠε͕ ࡞ΕΔΑ͏ʹͳͬͨ
  5. /7.FϞϊ • /7.F 44%Ͱര଎ετϨʔδΛ࣮ݱ • 1Jͷ1$*F͸Yαϙʔτ – ཧ࿦஋(CQT͘Β͍ – Y΋ಈ࡞อূ͸ͳ͍͚Ͳ༗ޮԽՄೳ

    • ͏·͘ಈ͚͹.#T͘Β͍ग़ͤΔ • ༻్ʹԠ༷ͯ͡ʑͳσβΠϯ – )"5ʹऩ·ΔλΠϓ – Ϙʔυͷ্ԼͲͪΒʹऩΊΔλΠϓ – σϡΞϧ44%ʢʁʂʣରԠ
  6. ϕϯνϚʔΫ͠·ͨ͠ • IUUQTXXXSBTQJKQSBTQCF SSZQJOWNFTTECPBSET • ઃఆखॱ΋ॻ͍ͨͷͰɺ ͜͜Λݟͳ͕Βઃఆͯ͠ΈͯͶ akkie@nvmepi1:~ $ sudo

    hdparm -t /dev/nvme0n1 /dev/nvme0n1: Timing buffered disk reads: 2454 MB in 3.00 seconds = 817.58 MB/sec akkie@nvmepi1:~ $ dd if=/dev/zero of=a.zero bs=1M count=10000 10000+0 records in 10000+0 records out 10485760000 bytes (10 GB, 9.8 GiB) copied, 15.0922 s, 695 MB/s