tcpquiclab report finished

This commit is contained in:
2026-01-21 22:40:51 +08:00
parent 866490dae4
commit 14cbd41039

View File

@@ -1,5 +1,6 @@
#import "labtemplate.typ": *
#show: nudtlabpaper.with(title: "TCP 与 QUIC 协议性能对比分析实验",
#show: nudtlabpaper.with(
title: "TCP 与 QUIC 协议性能对比分析实验",
author: "程景愉",
id: "202302723005",
training_type: "无军籍",
@@ -14,33 +15,33 @@
)
#set page(header: [
#set par(spacing: 6pt)
#align(center)[#text(size: 11pt)[《计算机网络》实验报告]]
#v(-0.3em)
#line(length: 100%, stroke: (thickness: 1pt))
],)
#set par(spacing: 6pt)
#align(center)[#text(size: 11pt)[《计算机网络》实验报告]]
#v(-0.3em)
#line(length: 100%, stroke: (thickness: 1pt))
])
#show heading: it => box(width: 100%)[
#v(0.50em)
#set text(font: hei)
#it.body
]
#show heading: it => box(width: 100%)[
#v(0.50em)
#set text(font: hei)
#it.body
]
#outline(title: "目录",depth: 3, indent: 1em)
#outline(title: "目录", depth: 3, indent: 1em)
// #pagebreak()
// #outline(
// title: [图目录],
// target: figure.where(kind: image),
// )
#show heading: it => box(width: 100%)[
#v(0.50em)
#set text(font: hei)
#counter(heading).display()
// #h(0.5em)
#it.body
]
#set enum(indent: 0.5em,body-indent: 0.5em,)
#show heading: it => box(width: 100%)[
#v(0.50em)
#set text(font: hei)
#counter(heading).display()
// #h(0.5em)
#it.body
]
#set enum(indent: 0.5em, body-indent: 0.5em)
#pagebreak()
@@ -157,17 +158,15 @@ QUIC 协议是基于 UDP 的传输层协议,旨在解决 TCP 的局限性。QU
== 实验设备与软件
#align(center)[#table(
columns: (auto, auto),
rows:(auto,auto,auto,auto,auto),
rows: (auto, auto, auto, auto, auto),
inset: 10pt,
align: horizon+center,
table.header(
[*名称*], [*型号或版本*],
),
align: horizon + center,
table.header([*名称*], [*型号或版本*]),
"操作系统", "Linux 6.18.6-2-cachyos",
"Tailscale", "Tailscale 虚拟局域网",
"编译器", "GCC",
"构建工具", "Make",
"Wireshark", "Wireshark 4.6.3"
"Wireshark", "Wireshark 4.6.3",
)]
=== 软件环境
本实验的软件开发环境包括以下工具和库:
@@ -771,7 +770,10 @@ Connection closed.
使用 Wireshark 抓包工具捕获 TCP QUIC 的数据传输过程,可以观察到两种协议的报文格式和传输特性。下图展示了 Wireshark 抓包界面,可以看到 TCP QUIC 协议的数据包。
#figure(image("wireshark.png", format: "png", width: 100%, fit: "stretch"), caption: "Wireshark 抓包工具捕获 TCP 和 QUIC 协议数据包")
#figure(
image("wireshark.png", format: "png", width: 100%, fit: "stretch"),
caption: "Wireshark 抓包工具捕获 TCP 和 QUIC 协议数据包",
)
5% 丢包环境下QUIC 的性能优于 TCP