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

TCP Performance Re-Visitedを読んだ

TCP Performance Re-Visitedを読んだ

論文紹介スライド

Yuuki Tsubouchi (yuuk1)

November 22, 2012
Tweet

More Decks by Yuuki Tsubouchi (yuuk1)

Other Decks in Research

Transcript

  1. 5$11FSGPSNBODF3FWJTJUFE "OOJF1'PPOH 5IPNBT3)V⒎ )FSCFSU))VN +BJEFW11BUXBSEIBO  (SFH+3FHOJFS*OUFM$PSQPSBUJPO ISPASS '03 Proceedings

    of the 2003 IEEE International Symposium on Performance Analysis of Systems and Software JEZ@VVLJ!Z@VVLJ@
  2. *OUSPEVDUJPO ‣ (JHBCJU&UIFSOFUʢ(#&ʣͷొ৔ʹΑΓɼɹɹɹɹɹɹɹɹɹɹ ɹ ɹ 5$10GqPBE&OHJOFTʢ50&TʣपΓͷ׆ಈ͕੝ΜͰ͋Δ ‣ (#&Λॲཧ͢ΔͨΊͷϓϩηοαෛՙ͕ɼ$16ͷܭࢉೳྗͱϝϞ ϦͷଳҬ෯Λ্ճ͍ͬͯΔ ‣

    ࣮ࡍʹ࢖͑Δ50&T͕গͳ͍ ‣ 50&T͕ύϑΥʔϚϯεʹ༩͑ΔӨڹΛཧղ͢ΔͨΊʹɼ࠷৽ͷ5$1 ͷ࣮૷ͱύϑΥʔϚϯεʹ͍ͭͯཧղ͢Δඞཁ͕͋Δ ‣ ຊ࿦จͰ͸5$1ύϑΥʔϚϯεͷ࣮ଶͱɼ࠷৽ͷ࣮૷ʹରͯ͠ఏҊ͞Ε ͍ͯΔ࠷దԽख๏ͷଥ౰ੑΛ֬ೝ͢Δ
  3. *OUSPEVDUJPO ‣ 5$1ϓϩτίϧࣗମͷ໋ྩ਺͸খ͍͞<> ‣ ͭ·ΓɼϓϩτίϧͦΕࣗମΑΓ΋ɼ࣮૷ґଘͷΦʔόʔϔου͕͋Δ ‣ $16ͷෛՙΛܰݮ͢ΔͨΊʹɼωοτϫʔΫΞμϓλʹ͸ DIFDLTVNPGqPBEJOHɼJOUFSSVQUDPBMFTDJOH͓Αͼ TFHNFOUBUJPOPGqPBEJOHͷΑ͏ͳػೳ͕͋Δ ‣

    ͜ΕΒͷ/*$΍υϥΠό͕࠷దԽ͞ΕΔҰํͰɼ04ͷ5$1ॲཧͷ෼෍ ͸΄ͱΜͲมΘ͍ͬͯͳ͍ ‣ Ұൠʹ5$1ॲཧͷओཁͳϘτϧωοΫ͸ҎԼͷͭ ‣ QFSCZUFDPTUσʔλΞΫηεܥʢνΣοΫαϜܭࢉɼίϐʔʣ ‣ QFSQBDLFUDPTUׂΓࠐΈॲཧλΠϚʔॲཧίϯςΩετεΠονϯά [1] D. Clark, V. Jacobson, J. Romkey, and H. Salwen. An Analysis of TCP processing overhead. IEEE Commu- nications, June 1989.
  4. *OUSPEVDUJPO ‣ ຊ࿦จͰ͸ҎԼͷ؍఺Ͱ5$1ͷύϑΥʔϚϯεΛղੳ͢Δ ‣ σʔλૹ৴ॲཧͷओཁͳ෦෼ʹண໨ ‣ )[CQTͷܦݧଇΛݕূ͠ɼ5$1ʹ͓͚Δ$16ͷεέʔϦϯάΛ೺Ѳ͢Δ ‣ 5$1ॲཧͷ࣮ߦܦ࿏ͷղੳͱ࠷దԽͷؔ࿈෇͚ ‣

    5$1࣮૷ͷଌఆͱղੳ ‣ ϝϞϦଳҬ෯ͷফඅྔͱͲ͜ͰϝϞϦ͕ফඅ͞Ε͍ͯΔ͔ͷؔ࿈෇͚ ‣ ຊ࿦จͰ͸ɼҰൠͷωοτϫʔΫॲཧղੳͷςϯϓϨʔτΛఏҊ͢Δɹ ͜ͱΛ໨ඪͱ͢Δ
  5. .FUIPEPMPHZ ‣ 5PPMT*OUFM75VOF1FSGPSNBODF"OBMZ[FS ‣ 4ZTUFN%FTDSJQUJPOBOE-JNJUBUJPOT ‣ UUDQσʔλૹ৴ॲཧͷղੳʹ޿͘࢖ΘΕ͍ͯΔNJDSPCFODINBSL ‣ ͭͷϊʔυؒͰσʔλΛૹड৴ͯ͠εϧʔϓοτΛղੳ͢Δ ‣

    5$1*1ͷઃఆ͸σϑΥϧτͷ··Ͱνϡʔχϯά͸͓͜ͳ͍ͬͯͳ͍ ‣ FNPO$16ͷ໋ྩͷ౷ܭΛऩूʢϝϞϦΞΫηε໋ྩ਺΍෼ذ༧ଌϛεʣ ‣ .CQTͷ/*$
  6. *NQMFNFOUBUJPOPG5$1*1 ‣ -JOVY3FDFJWF ‣ όοϑΝΛࣄલ֬อ͠ͳ͍৔߹ ‣ ύέοτ͸࠷ॳʹDIFDLTVN͞ΕΔ ‣ "QQCV⒎FST͕֬อ͞Εͨͱ͖ʹDPQZ ‣

    όοϑΝΛࣄલ֬อ͢Δ৔߹ ‣ DIFDLTVNͱDPQZΛಉ࣌ʹ࣮ߦͰ͖ͯɹɹɹɹɹɹɹɹɹɹɹɹɹɹɹɹɹɹɹɹɹɹɹ ޮ཰͕ྑ͍ ‣ ࣮૷͸ҙ֎ͱ೉͘͠ɼ୯७ͳ࣮૷ɹɹɹɹɹɹɹɹɹɹɹɹɹɹɹɹɹ ʢ-JOVYʣͰ͸ੑೳ͕޲্ͤͣɼɹɹɹɹɹɹɹɹɹɹɹɹɹɹɹɹɹɹɹ -JOVYͰ͸ͭͷΩϡʔΛ༻ҙ ‣ Ճ͑ͯɼͭͷ৚݅Λຬͨ͢ඞཁ͕͋Δɹɹɹɹɹɹɹɹɹɹɹɹɹɹɹɹ ʢγʔέϯε൪߸͕࿈ଓBOEݱࡏͷϓϩηε͕SFBEJOHঢ়ଶBOE"QQ CV⒎FST͕े෼େ͖͍ʣ όοϑΝΛࣄલ֬อ όοϑΝΛࣄલ֬อ͠ͳ͍
  7. ‣ 5$1ʹ͸छྨͷϝϞϦෛՙ͕͋ΔͱݴΘΕ͍ͯΔ ‣ /*$͔Βͷ4PDLFUCV⒎FS΁ͷॻ͖ࠐΈʢసૹʣ ‣ $16͕4PDLFUCV⒎FSΛಡΉ ‣ $16͕4PDLFUCV⒎FSͷ಺༰Λ"QQMJDBUJPOCV⒎FSʹॻ͘ ‣ ࣮ࡍ͸ɼϝϞϦෛՙ͸ΞϓϦέʔγϣϯʹґଘ͢Δ͜ͱΛൃݟ

    ‣ ϝϞϦτϥϑΟοΫ$16ͱͷΞΫηε /*$ͱͷΞΫηε ‣ $16ͷΞΫηε͸'4#ʢ'SPOU4JEF#VTʣ ‣ /*$ͱͷΞΫηε͸%."ʢ%JSFDU.FNPSZ"DDFTTʣ 5$1*1.FNPSZ3FRVJSFNFOUT
  8. .FNPSZ3FRVJSFNFOUTʢૹ৴ʣ ‣ USBOTGFSTJ[F-DBDIFʢ.#ʣ ‣ ᶃ3FBEBQQCV⒎FS ‣ UUDQ͸BQQMJDBUJPOCV⒎FSΛ࠶ར༻ ‣ Ωϟογϡʹ͋ͨΔͨΊ'4#͸΄΅θϩ ‣

    ᶄ8SJUFTPDLFUCV⒎FS ‣ TPDLFUCV⒎FS͸େ఍,#ͳͷͰ-ʹऩ·Δ ‣ ॻ͖ࠐΈͳͷͰΩϟογϡ͸ߋ৽͞ΕΔ ‣ ᶅ/*$%."TGSPNTPDLFUCV⒎FS ‣ POF%."SFBE ‣ TPDLFUCV⒎FSͷϗετϝϞϦ΁ͷॻ͖໭͕͠ൃੜ
  9. .FNPSZ3FRVJSFNFOUTʢૹ৴ʣ ‣ USBOTGFSTJ[F-DBDIFʢ.#ʣ ‣ ᶃ3FBEBQQCV⒎FS ‣ BQQCV⒎FSTJ[F-ͳͷͰ࠷௿ճ͸'4#ʹSFBE ‣ ᶄ8SJUFTPDLFUCV⒎FS ‣

    TPDLFUCV⒎FS΋΄ͱΜͲΩϟογϡʹ͸৐Βͳ͍ ‣ ᶅ/*$%."TGSPNTPDLFUCV⒎FS ‣ ಉ্ ‣ '4#ͷSFBE͸ɼXSJUF͸ ‣ %."ͷSFBE͸ɼXSJUF͸
  10. $163FRVJSFNFOUT ‣ ()[(CQTͷܦݧଇͷݕূ ‣ SBUF )[CQT ΫϩοΫ )[ º$16ར༻཰ 

    ଳҬ෯ ‣ .)[ͱ()[ͰSBUFͷมԽ͕ͳ͍ΫϩοΫͰεέʔϧ͠ͳ͍ ‣ సૹྔͷ૿ՃϝϞϦͱ*0ͷ଴͕ͪ૿Ճ$16ར༻཰ͷ௿Լ ‣ ૹ৴ ड৴
  11. $PODMVTJPO ‣ $16͕()[Λ௒͑Δͱ()[(CQTͷܦݧଇ͸͋ͯʹͳΒͳ͍͔΋͠ Εͳ͍ʢύέοταΠζ͕খ͍࣌͞ʹಛʹݦஶʣ ‣ $16͕଎͘ʹͳΔʹͭΕͯɼϝϞϦΞΫηε෦෼ͷॏཁੑ͕ߴ·Δ ‣ )ZQFS5ISFBEJOHͷΑ͏ͳϝϞϦͷϨΠςϯγΛӅณ͢Δ৽͍ٕ͠ज़͕ ͜ͷΪϟοϓΛຒΊΔͩΖ͏ ‣

    ͦΕͰ΋΍͸Γɼ࣮ࡍ͸ωοτϫʔΫॲཧ଎౓͸ΫϩοΫʹൺྫ͠ͳ͍ ‣ DIFDLTVNPGqPBEʹΑΓύέοταΠζ͕େ͖͍࣌ʹ࠷େͰ޲্ ‣ TFHNFOUBUJPOPGqPBEʹ͍ͭͯ΋ɼసૹྔ͕ଟ͍ͱ͖ʹ༗ޮ