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

UPFの下周り性能ネタ(gtp5g他)

 UPFの下周り性能ネタ(gtp5g他)

Masakazu Asama

October 04, 2021
Tweet

More Decks by Masakazu Asama

Other Decks in Technology

Transcript

  1. 61'ͷԼपΓੑೳωλ HUQHଞ

    ઙؒਖ਼࿨ ༗ݶձࣾۜ࠲ಊ
    !0./*.FFUVQ

    1

    View full-size slide

  2. ࢼݧߏ੒
    5FTUFS
    $FOU04-JOVY
    53FYW
    %65
    6CVOUV
    HUQHW
    ip addr add 172.16.1.1/24 dev ens1f0


    ip addr add 10.1.1.1/24 dev ens1f1


    ip link set ens1f0 up


    ip link set ens1f1 up


    gtp5g-link add gtp5gtest &


    gtp5g-tunnel add qer gtp5gtest 1 --qer-id 1 --qfi 1


    gtp5g-tunnel add far gtp5gtest 1 --action 2


    gtp5g-tunnel add far gtp5gtest 2 --action 2 --hdr-creation 0 87 172.16.1.2 2152


    gtp5g-tunnel add pdr gtp5gtest 1 --pcd 1 --hdr-rm 0 --ue-ipv4 192.168.1.11 --f-teid 78 172.16.1.1 --far-id 1 --qer-id 1


    gtp5g-tunnel add pdr gtp5gtest 2 --pcd 2 --ue-ipv4 192.168.1.11 --far-id 2 --qer-id 1


    ip route add 192.168.1.0/24 dev gtp5gtest


    ip neigh add 172.16.1.2 lladdr 0c:c4:7a:b7:59:3a dev ens1f0


    ip neigh add 10.1.1.11 lladdr 0c:c4:7a:b7:59:3b dev ens1f1
    5FTUFS͸ૹ৴ϙʔτ͔ΒύέοτΛૹ৴͠
    ड৴ϙʔτͰड৴ͨ͠਺Λ֬ೝ͢Δ
    ྫ͑͹࠷ॳʹ(CQTྲྀͯ͠ϩετ͕͋ͬͨΒ
    (CQTʹམͱͯ͠શύέοτड৴Ͱ͖ͨΒ(CQTʹͯ͠
    ͱ͍͏;͏ʹύέοτΛϩετ͠ͳ͍ଳҬ෯Λௐ΂Δ
    ࢼߦඵؒͱ͠dࢼߦ܁Γฦ͢
    ϋʔυ΢ΣΞߏ੒
    *OUFM9FPO&()[$5
    *OUFMDIJQTFU
    %%3.)[(#
    *OUFM&4(JHBCJU4'*4'1Y
    2

    View full-size slide

  3. ϕϯνϚʔΫ݁ՌHUQH
    .CQT






    JNJY VEQC VEQC VEQC VEQC VEQC VEQC VEQC
















    6- %-
    3
    ˞CQTʹ͸&UIFSOFUϔομCZUFΛؚΉ

    View full-size slide

  4. ϕϯνϚʔΫ݁ՌHUQH
    LQQT







    JNJY VEQC VEQC VEQC VEQC VEQC VEQC VEQC















    6- %-
    4

    View full-size slide

  5. O
    ff
    HPVQG
    w /''(P ޙड़
    Ͱ61'Λ࣮૷ͨ͠ΒͲΕ͘
    Β͍ͷੑೳ͕ग़Δͷ͔ؾʹͳͬͨͷͰͱΓ
    ࣮͋͑ͣ૷ͯ͠Έͨ
    w ͨͩ͠
    w 1'$1͸ະ࣮૷ ӈͷΑ͏ͳ:".-Ͱઃ
    ఆΛॻ͍ͯಡΈࠐΉ

    w "31΍ϧʔςΟϯά΋ະ࣮૷ ӈͷΑ͏
    ʹѼઌ."$ΞυϨεΛϋʔυίʔυ

    w 3PVUFSPOBTUJDLߏ੒ͷΈαϙʔτ
    w 4%''JMUFSະ࣮૷ Ͳ͏ͤ΍ΔͳΒͪΌΜ
    ͱ*1'JMUFS3VMFܕͷύʔαॻ͖͍ͨ

    w ͨͩ͠
    w 2&3͸ΩονϦ΍Δ
    IUUQTHJUIVCDPNNBTBNBO
    ff
    HPVQGCMPCNBJODPO
    fi
    HZBNMTBNQMF͔ΒҾ༻
    5

    View full-size slide

  6. /''(P
    w *OUFM͞Μ͕ΦʔϓϯιʔεͰެ։͍ͯ͠Δ
    (PݴޠͷͨΊͷ/FUXPSL'VODUJPO
    'SBNFXPSL
    w ಺෦Ͱ ಉ͘͡*OUFM͞Μ͕Φʔϓϯιʔε
    Ͱެ։͍ͯ͠Δ
    %1%,Λ༻͍͍ͯΔ ͷͰ
    "31΍ϧʔςΟϯάͳͲ͸શͯࣗલͰ࣮૷
    ͢Δඞཁ͕͋Δ

    w ύέοτͷྲྀΕΛlϑϩʔzͱͯ͠ѻ͏
    w ϑϩʔΛ෼ׂͨ͠Γ 4FQBSBUPS
    ॲཧΛࢪ͠
    ͨΓ )BOEMFS
    ू໿ͨ͠Γ .FSHFS
    ഁغ͠
    ͨΓ 4UPQQFS
    ͱ͍ͬͨ͜ͱ͕Ͱ͖ΔΑ͏ʹ
    ͳ͍ͬͯΔ
    w ϑϩʔΛόοϑΝ͢Δํ๏͸ͳ͍ͬΆ͍ʁ
    IUUQTHJUIVCDPNJOUFMHPO
    ff
    HP͔ΒҾ༻
    6

    View full-size slide

  7. /''(P΁όοϑΝػೳ௥Ճ
    w /''(PΛ͍ͬͯ͡ϑϩʔΛόοϑΝ͢Δ
    ػೳΛ࣮૷
    w ར༻ऀଆ ྫO
    ff
    HPVQG
    ͸
    w όοϑΝ͢Δ͔൱͔Λ൑ఆ͠όοϑΝ͢
    Δ৔߹͸಺෦ͰͦͷύέοτΛόοϑΝ
    ͢Δؔ਺FORGΛఆٛ
    w όοϑΝ͠ͳ͔ͬͨ৔߹͸ଈ࠲ʹഁغ
    w όοϑΝͨ͠ύέοτʹૹ৴Մೳͳ΋ͷ
    ͕͋Δ͔Λ൑ఆ͋ͬͨ͠৔߹͸࣍ͷॲཧ
    ʹճؔ͢਺EFRGΛఆٛ
    w औΓग़ͯ͠ഁغ͢Δέʔε΋͋Δ
    w Λఆٛ͠ઃఆ͢Δ͜ͱͰͦΕΒ͕ϧʔϓͰ
    ճ͞ΕΔ
    IUUQTHJUIVCDPNNBTBNBO
    ff
    HPCMPCFOREFR
    fl
    PX
    fl
    PXHP͔ΒҾ༻
    7

    View full-size slide

  8. ࢼݧߏ੒
    5FTUFS
    $FOU04-JOVY
    53FYW
    %65
    6CVOUV
    O
    ff
    HP!CFDF
    FOREFRվ଄൛
    5FTUFS͸ૹ৴ϙʔτ͔ΒύέοτΛૹ৴͠
    ड৴ϙʔτͰड৴ͨ͠਺Λ֬ೝ͢Δ
    ྫ͑͹࠷ॳʹ(CQTྲྀͯ͠ϩετ͕͋ͬͨΒ
    (CQTʹམͱͯ͠શύέοτड৴Ͱ͖ͨΒ(CQTʹͯ͠
    ͱ͍͏;͏ʹύέοτΛϩετ͠ͳ͍ଳҬ෯Λௐ΂Δ
    ࢼߦඵؒͱ͠dࢼߦ܁Γฦ͢
    ϋʔυ΢ΣΞߏ੒
    *OUFM9FPO&()[$5
    *OUFMDIJQTFU
    %%3.)[(#
    *OUFM&4(JHBCJU4'*4'1Y
    8

    View full-size slide

  9. ϕϯνϚʔΫ݁Ռ6-
    .CQT






    JNJY VEQC VEQC VEQC VEQC VEQC VEQC VEQC
















    HUQH O
    ff
    HPVQG
    9
    ˞CQTܭࢉ࣌ͷ&UIFSOFUϔομ͸CZUFͰ׵ࢉ

    View full-size slide

  10. ϕϯνϚʔΫ݁Ռ%-
    .CQT






    JNJY VEQC VEQC VEQC VEQC VEQC VEQC VEQC















    HUQH O
    ff
    HPVQG
    10
    ˞CQTܭࢉ࣌ͷ&UIFSOFUϔομ͸CZUFͰ׵ࢉ

    View full-size slide

  11. ϕϯνϚʔΫ݁Ռ6-
    LQQT









    JNJY VEQC VEQC VEQC VEQC VEQC VEQC VEQC
















    HUQH O
    ff
    HPVQG
    11

    View full-size slide

  12. ϕϯνϚʔΫ݁Ռ%-
    LQQT









    JNJY VEQC VEQC VEQC VEQC VEQC VEQC VEQC
















    HUQH O
    ff
    HPVQG
    12

    View full-size slide

  13. ߜΓํ
    4 4
    (CQT
    (CQT
    (CQT
    Ў
    Ў
    ଳҬ෯͕8ɺύέοταΠζ͕4Ͱ
    ͜ͷύέοτͷૹ৴࣌ࠁΛ5Oͱͨ͠ͱ͖
    ͜ͷ࣍ͷύέοτΛૹ৴ͯ͠ྑ͍ૹ৴࣌ࠁ5O͸
    5O5OЎ
    Ў4º×8
    ʹͳΔ
    8
    ύέοτΛૹ৴ͨ͠ͱ͖ʹͦͷૹ৴ͨ͠ύέοταΠζ
    ͔Β࣍ճૹ৴࣌ࠁΛܭࢉ͓͖ͯ͠ɺ࣍ͷύέοτ͸ͦͷ
    ࣌ࠁ·Ͱ஗Ԇ͔ͤͯ͞Βૹ৴͢ΔΑ͏ʹ͢Ε͹ྑ͍ʁ
    ύέοτͷྲྀΕΔํ޲
    13

    View full-size slide

  14. όοϑΝͷ࢓ํ
    1%3
    ํ޲6-
    ࣍ͷૹ৴࣌ࠁ

    1%3
    ํ޲%-
    ࣍ͷૹ৴࣌ࠁ

    1%3
    ํ޲6-
    ࣍ͷૹ৴࣌ࠁ

    1%3
    ํ޲%-
    ࣍ͷૹ৴࣌ࠁ
    2&3
    6-.#3.CQT
    ࣍ͷૹ৴࣌ࠁ
    %-.#3.CQT
    ࣍ͷૹ৴࣌ࠁ
    2&3
    6-.#3.CQT
    ࣍ͷૹ৴࣌ࠁ
    %-.#3.CQT
    ࣍ͷૹ৴࣌ࠁ
    2VFVFE1%3T
    3FE#MBDL5SFF3PPU

    1%3ʹରԠ͢ΔόοϑΝ '*'0

    ύέοτ ਺ࣈ͸ड৴࣌ࠁ

    ࣍ͷૹ৴࣌ࠁ͸ͦͷ1%3͕ରԠ
    ͚ͮΒΕͨ2&3ͷରԠ͢Δํ޲
    ͷ࣍ͷૹ৴࣌ࠁͷ࠷େ஋
    όοϑΝ '*'0
    ʹগͳ͘ͱ΋ͭ
    ύέοτΛ࣋ͭ1%3ΛҎԼͷ༏ઌ
    ॱҐͰ੔ྻͨ͠΋ͷ
    1%3ͷ
    ࣍ͷૹ৴࣌ࠁ

    όοϑΝ '*'0
    ͷઌ಄ύέοτ
    ͷड৴࣌ࠁ

    1%3ߏ଄ମͷϙΠϯλΞυϨε
    14

    View full-size slide

  15. όοϑΝͷ࢓ํFOR
    1%3
    ํ޲6-
    ࣍ͷૹ৴࣌ࠁ

    1%3
    ํ޲%-
    ࣍ͷૹ৴࣌ࠁ

    1%3
    ํ޲6-
    ࣍ͷૹ৴࣌ࠁ

    1%3
    ํ޲%-
    ࣍ͷૹ৴࣌ࠁ
    2&3
    6-.#3.CQT
    ࣍ͷૹ৴࣌ࠁ
    %-.#3.CQT
    ࣍ͷૹ৴࣌ࠁ
    2&3
    6-.#3.CQT
    ࣍ͷૹ৴࣌ࠁ
    %-.#3.CQT
    ࣍ͷૹ৴࣌ࠁ
    2VFVFE1%3T
    3FE#MBDL5SFF3PPU

    4UFQύέοτ͔Β
    1%3Λ୳͢ ௨ৗͷ
    61'ͷॲཧ

    4UFQB1%3͕͢Ͱʹ
    2VFVFE1%3Tʹଘࡏ͢Δ
    ৔߹͸όοϑΝʹύέοτ
    ΛೖΕͯऴྃ

    15

    View full-size slide

  16. όοϑΝͷ࢓ํFOR
    1%3
    ํ޲6-
    ࣍ͷૹ৴࣌ࠁ

    1%3
    ํ޲%-
    ࣍ͷૹ৴࣌ࠁ

    1%3
    ํ޲6-
    ࣍ͷૹ৴࣌ࠁ

    1%3
    ํ޲%-
    ࣍ͷૹ৴࣌ࠁ
    2&3
    6-.#3.CQT
    ࣍ͷૹ৴࣌ࠁ
    %-.#3.CQT
    ࣍ͷૹ৴࣌ࠁ
    2&3
    6-.#3.CQT
    ࣍ͷૹ৴࣌ࠁ
    %-.#3.CQT
    ࣍ͷૹ৴࣌ࠁ
    2VFVFE1%3T
    3FE#MBDL5SFF3PPU

    4UFQύέοτ͔Β
    1%3Λ୳͢ ௨ৗͷ
    61'ͷॲཧ

    4UFQC1%3͕2VFVFE1%3T
    ʹଘࡏ͠ͳ͍࣌͸όοϑΝʹೖΕͨ
    ͋ͱ2VFVFE1%3Tʹ΋ೖΕΔ
    16

    View full-size slide

  17. όοϑΝͷ࢓ํEFR
    1%3
    ํ޲6-
    ࣍ͷૹ৴࣌ࠁ

    1%3
    ํ޲%-
    ࣍ͷૹ৴࣌ࠁ

    1%3
    ํ޲6-
    ࣍ͷૹ৴࣌ࠁ

    1%3
    ํ޲%-
    ࣍ͷૹ৴࣌ࠁ
    2&3
    6-.#3.CQT
    ࣍ͷૹ৴࣌ࠁ
    %-.#3.CQT
    ࣍ͷૹ৴࣌ࠁ
    2&3
    6-.#3.CQT
    ࣍ͷૹ৴࣌ࠁ
    %-.#3.CQT
    ࣍ͷૹ৴࣌ࠁ
    2VFVFE1%3T
    3FE#MBDL5SFF3PPU

    4UFQ2VFVFE1%3Tͷઌ಄1%3ͷ
    l࣍ͷૹ৴࣌ࠁz͕ݱࡏ࣌ࠁҎ্͔ௐ΂Δ
    ະຬͷ࣌͸ͦ͜Ͱऴྃ
    Ҏ্ͷ࣌͸όοϑΝͷઌ಄ͷύέοτΛ
    औΓग़͢
    4UFQऔΓग़ͨ͠ύέοτͷαΠζ͔Β
    ͦͷ1%3͕ଐ͢શͯͷ2&3ͷ֘౰͢Δ
    ํ޲ͷl࣍ͷૹ৴࣌ࠁzΛߋ৽
    4UFQ࣍ͷૹ৴࣌ࠁΛॻ͖׵͑ͨ2&3ʹ
    ଐ͢શͯͷ1%3Ͱ֤ʑͷl࣍ͷૹ৴࣌ࠁz͕
    ରԠ͢Δ2&3ͷ֘౰͢Δํ޲ͷl࣍ͷૹ৴
    ࣌ࠁzͷ࠷େ஋ʹͳΔΑ͏ʹॻ͖׵͑Δ
    17

    View full-size slide

  18. όοϑΝͷ࢓ํEFR
    1%3
    ํ޲%-
    ࣍ͷૹ৴࣌ࠁ


    1%3
    ํ޲6-
    ࣍ͷૹ৴࣌ࠁ


    1%3
    ํ޲6-
    ࣍ͷૹ৴࣌ࠁ

    1%3
    ํ޲%-
    ࣍ͷૹ৴࣌ࠁ
    2&3
    6-.#3.CQT
    ࣍ͷૹ৴࣌ࠁ
    %-.#3.CQT
    ࣍ͷૹ৴࣌ࠁ
    2&3
    6-.#3.CQT
    ࣍ͷૹ৴࣌ࠁ
    %-.#3.CQT
    ࣍ͷૹ৴࣌ࠁ
    2VFVFE1%3T
    3FE#MBDL5SFF3PPU

    4UFQ2VFVFE1%3TΛฒͼସ͑Δ
    4UFQ΋͠όοϑΝ͔ΒύέοτΛऔΓ
    ग़ͨ͋͠ͱόοϑΝ͕ۭʹͳͬͨ࣌͸
    2VFVFE1%3T͔Β֘౰͢Δ1%3Λ

    औΓআ͘
    4UFQऔΓग़ͨ͠ύέοτΛૹ৴͢Δ
    18

    View full-size slide

  19. ϕϯνϚʔΫ݁Ռ.#3.CQT'MPX
    .CQT







    JNJY VEQC VEQC VEQC VEQC VEQC VEQC VEQC
















    6- %-
    19
    ˞CQT͸*1ϔομҎ߱Ͱܭࢉ

    View full-size slide

  20. ϕϯνϚʔΫ݁Ռ.#3.CQT'MPXT
    .CQT







    JNJY VEQC VEQC VEQC VEQC VEQC VEQC VEQC
















    6- %-
    20
    ˞CQT͸*1ϔομҎ߱Ͱܭࢉ

    View full-size slide

  21. ϕϯνϚʔΫ݁Ռ.#3.CQT'MPXT
    .CQT







    JNJY VEQC VEQC VEQC VEQC VEQC VEQC VEQC















    6- %-
    21
    ˞CQT͸*1ϔομҎ߱Ͱܭࢉ

    View full-size slide

  22. ϕϯνϚʔΫ݁Ռ.#3.CQTL'MPXT
    .CQT







    JNJY VEQC VEQC VEQC VEQC VEQC VEQC VEQC















    6- %-
    22
    ˞CQT͸*1ϔομҎ߱Ͱܭࢉ

    View full-size slide

  23. ϕϯνϚʔΫ݁Ռ1BDLFU3BUFLQQT'MPX
    LQQT












    JNJY VEQC VEQC VEQC VEQC VEQC VEQC VEQC















    6- %-
    23

    View full-size slide

  24. ϕϯνϚʔΫ݁Ռ1BDLFU3BUFLQQT'MPXT
    LQQT












    JNJY VEQC VEQC VEQC VEQC VEQC VEQC VEQC















    6- %-
    24

    View full-size slide

  25. ϕϯνϚʔΫ݁Ռ1BDLFU3BUFLQQT'MPXT
    LQQT












    JNJY VEQC VEQC VEQC VEQC VEQC VEQC VEQC















    6- %-
    25

    View full-size slide

  26. ϕϯνϚʔΫ݁Ռ1BDLFU3BUFLQQTL'MPXT
    LQQT












    JNJY VEQC VEQC VEQC VEQC VEQC VEQC VEQC
















    6- %-
    26

    View full-size slide

  27. ͳΜͰएׯଟΊʁ
    ૹ৴
    ड৴
    ૹ৴ظؒ ඵ

    ຊ౰ͳΒ͜ͷඵؒͰड৴͖͠Εͯͳ͍ͱμϝͳΜͩΖ͏͚Ͳʜ
    ࠓճ͸͜ͷඵؒͰर͑Ε͹0,ͬͯ͜ͱʹͯ͠͠·ͬͨʜ
    ༧උ ඵ

    27

    View full-size slide

  28. ͓ʁ(#3΋͍͚Δ͔ʁ
    1%3
    ํ޲%-
    ࣍ͷૹ৴࣌ࠁ

    1%3
    ํ޲%-
    ࣍ͷૹ৴࣌ࠁ


    1%3
    ํ޲%-
    ࣍ͷૹ৴࣌ࠁ
    2&3
    6-.#3.CQT
    ࣍ͷૹ৴࣌ࠁ
    %-.#3.CQT
    ࣍ͷૹ৴࣌ࠁ
    2VFVFE1%3T
    3FE#MBDL5SFF3PPU

    ϙʔτͷଳҬ෯Λఆ্ٛͨ͠Ͱ
    lଳҬ෯(#3zͷ.#3Λ
    (#3ʹଐ͞ͳ͍1%3શͯʹඥ෇͚Ε͹
    (#3΋͍͚Δ͔ʁʁ


    ྫ͑͹͜ͷҰ൪্ͷ1%3ʹ(#3͕͋ͬͨ৔߹ʜ
    28

    View full-size slide

  29. ϕϯνϚʔΫ݁Ռ(#3.CQT'MPXVEQC
    LQQT









    4FTTJPO 4FTTJPOT 4FTTJPOT 4FTTJPOT








    6- %-
    29

    View full-size slide

  30. ·ͱΊ
    w ͋ͱ͸1'$1Λ࣮૷͢Ε͹2&3͕੾Εͯ
    ͦͦ͜͜ੑೳ΋ग़Δ61'͕Ͱ͖Δ͔΋ʁ
    w 1'$1͸!XNOTLENNT͞ΜͷHP
    QGDQ͕͋Ε͹͍͚Δʂʂʂ
    w ͋ʔ͋ͱ4%''JMUFS΋΍Μͳ͍ͱ͔ʜ
    w "31΍*1ϧʔςΟϯά͸-εΠονͷ
    7331."$ΞυϨε޲͚ͱ͖ΌͱΓ͋͑
    ͣ͸͍͍͔ʜʁ
    w Ͱ΋"31ͷฦࣄ͘Β͍͸࣮૷ͨ͠ํ͕
    ྑ͍ͷ͔ͳʜʁ
    w ͔ͭO
    ff
    HPͷվ଄͸औΓࠐΜͰ΋Β͑ͨΓ
    ͢Μͷ͔ͳʜ
    30

    View full-size slide

  31. ͓·͚#"3
    w ͍Δʁʁʁ
    31

    View full-size slide