Submit Search
Upload
モバイルネットワークと広告配信
•
16 likes
•
32,094 views
Kazuhito Ohkawa
Follow
モバイル(ワイヤレス)ネットワークとLinuxのTCP再送アルゴリズムの相性の悪さをまとめた社内勉強会用資料
Read less
Read more
Science
Report
Share
Report
Share
1 of 35
Download now
Download to read offline
Recommended
GCEをTensorFlowの「計算エンジン」にする
GCEをTensorFlowの「計算エンジン」にする
Kiyoshi SATOH
Kogcoder LT
Kogcoder LT
teamcpaw
Kauli SSPにおけるVyOSの導入事例
Kauli SSPにおけるVyOSの導入事例
Kazuhito Ohkawa
VMware ESXi トラブルシューティング
VMware ESXi トラブルシューティング
Kazuhito Ohkawa
AHVでみるCVM Autopathの仕組み
AHVでみるCVM Autopathの仕組み
Kazuhito Ohkawa
Nutanixを導入してみて思ったこと(仮)
Nutanixを導入してみて思ったこと(仮)
Kazuhito Ohkawa
Nutanixってナニ?
Nutanixってナニ?
Kazuhito Ohkawa
自作サーバ同窓会スライド
自作サーバ同窓会スライド
Kazuhito Ohkawa
Recommended
GCEをTensorFlowの「計算エンジン」にする
GCEをTensorFlowの「計算エンジン」にする
Kiyoshi SATOH
Kogcoder LT
Kogcoder LT
teamcpaw
Kauli SSPにおけるVyOSの導入事例
Kauli SSPにおけるVyOSの導入事例
Kazuhito Ohkawa
VMware ESXi トラブルシューティング
VMware ESXi トラブルシューティング
Kazuhito Ohkawa
AHVでみるCVM Autopathの仕組み
AHVでみるCVM Autopathの仕組み
Kazuhito Ohkawa
Nutanixを導入してみて思ったこと(仮)
Nutanixを導入してみて思ったこと(仮)
Kazuhito Ohkawa
Nutanixってナニ?
Nutanixってナニ?
Kazuhito Ohkawa
自作サーバ同窓会スライド
自作サーバ同窓会スライド
Kazuhito Ohkawa
2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
Marius Sescu
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
Expeed Software
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
Pixeldarts
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
marketingartwork
Skeleton Culture Code
Skeleton Culture Code
Skeleton Technologies
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
Neil Kimberley
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
contently
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
Albert Qian
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
Search Engine Journal
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
SpeakerHub
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
Clark Boyd
Getting into the tech field. what next
Getting into the tech field. what next
Tessa Mero
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Lily Ray
How to have difficult conversations
How to have difficult conversations
Rajiv Jayarajah, MAppComm, ACC
Introduction to Data Science
Introduction to Data Science
Christy Abraham Joy
Time Management & Productivity - Best Practices
Time Management & Productivity - Best Practices
Vit Horky
The six step guide to practical project management
The six step guide to practical project management
MindGenius
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
RachelPearson36
More Related Content
Featured
2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
Marius Sescu
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
Expeed Software
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
Pixeldarts
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
marketingartwork
Skeleton Culture Code
Skeleton Culture Code
Skeleton Technologies
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
Neil Kimberley
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
contently
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
Albert Qian
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
Search Engine Journal
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
SpeakerHub
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
Clark Boyd
Getting into the tech field. what next
Getting into the tech field. what next
Tessa Mero
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Lily Ray
How to have difficult conversations
How to have difficult conversations
Rajiv Jayarajah, MAppComm, ACC
Introduction to Data Science
Introduction to Data Science
Christy Abraham Joy
Time Management & Productivity - Best Practices
Time Management & Productivity - Best Practices
Vit Horky
The six step guide to practical project management
The six step guide to practical project management
MindGenius
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
RachelPearson36
Featured
(20)
2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
Skeleton Culture Code
Skeleton Culture Code
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
Getting into the tech field. what next
Getting into the tech field. what next
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
How to have difficult conversations
How to have difficult conversations
Introduction to Data Science
Introduction to Data Science
Time Management & Productivity - Best Practices
Time Management & Productivity - Best Practices
The six step guide to practical project management
The six step guide to practical project management
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
モバイルネットワークと広告配信
1.
モバイルネットワークと広告配信 TCPの最適化を模索
2.
真面目に書いてたら論文になっちゃったから緩めで!
3.
TCPの設計思想
4.
速さはよりかは…
5.
効率的にたくさん
6.
UDPとか別のプロトコルもあるし
7.
広告配信が求めているもの
8.
積み荷はダンボール箱一個だけなのにこれ…?
9.
コレでしょ
10.
広告の通信はとても小さい 広告の通信はとても短いセッションで終わる 帯域より低遅延が求められる TCPの設計思想とは真逆の要求になるので 低遅延チューニングが必要
11.
さらにモバイルネットワークと Linux TCPスタックの相性がとても悪い RTO(TCP再送時間) SRTO(TCP再送アルゴリズム) の問題点
12.
通常のTCPフロー
13.
エロ画像よこせ 汝の望むは画像これか IYH!!!
14.
TCPの再送が発生する場合
15.
エロ画像よこせ 汝の望むは画像これか 返事がない ただの屍のようだ ☓ おーいJKのエロ画像だぞー IYH!!!111 経路の不具合 などで到達しない
16.
RTOってなにしてるの?
17.
エロ画像よこせ 汝の望むは画像これか 返事がない ただの屍のようだ ☓ おーいJKのエロ画像だぞー IYH!!!111 経路の不具合 などで到達しない TCP再送タイムアウト(RTO)
18.
RTOは最小値が200ms 一回再送するごとに倍の待ち時間に変化 200ms -> 400ms
-> 800ms … 通信内容によって再送回数は異なる
19.
RTOはRTT(Round Trip Time)より計算される 要はpingでみれるあれ
20.
エロ画像よこせ 汝の望むは画像これか RTT 20msか RTOは200msだな ☓ おーいJKのエロ画像だぞー IYH!!!111 RTT 20ms RTO
200ms
21.
エロ画像よこせ 汝の望むは画像これか RTT 500msとかww RTOは1500msだな ☓ おーいJKのエロ画像だぞー IYH!!!111 RTT 500ms RTO
1500ms
22.
現実はこうはいかず、モバイルに限らず ワイヤレスネットワークは不安定 RTTのゆらぎに対応するために SRTO(Smooth Tcp Retramsmit
Timeout) が考案される
23.
連続した通信の中でゆらぎのあるRTTの平均値を算 出して最適化する
24.
TTL 20ms TTL 220ms TTL
120ms 振れ幅でかいなあ… RTOは500msくらい にしておこう
25.
とてもよく考えられている しかしこれが広告配信だと無意味
26.
一回の通信が短いからRTTのゆらぎを補正できない
27.
広告タグはよ はいコレ
28.
これだけ。。。
29.
最初のRTTだけでRTOが計算されてしまう たまたまRTTが低いと相手がリッチだと信じてしまう 不安定なモバイルネットワークに対して再送をがん ばってしまう
30.
無駄な再送により現在ルーターが過負荷の状態 TCPの輻輳も起こしてマイクロバーストが発生してい るっぽい(スイッチのバッファ溢れ) SRTOの実装はカーネルに直接書かれているので、手 でRTOの値を変更することは不可能 再送回数を減らすしか対策がない
31.
実体を参照する
32.
ss -emoit 現在開かれているソケットのRTO,RTT等がわかる
33.
34.
とまあこれが最近の出来事です
35.
おわり
Download now