Enabling Stateful TCP Performance Profiling With Key Event Capturing
TCP ensures reliable transmission through its stateful implementation and remains crucial today. TCP performance profiling is essential for tasks like diagnosing network performance problems, optimizing transmission performance, and developing new TCP variants, etc. Existing profiling methods lack enough attention to TCP state transition to provide detailed insights on TCP performance. Thus, we build TcpSight, a tool focusing on TCP state transition throughout connection lifetimes. TcpSight conducts stateful analysis by capturing key events using an efficient per-connection lock-free data management mechanism. Besides, TcpSight enhances profiling by integrating application layer information collected from the TCP stack. With the profiling results, users can identify the culprit of TCP performance degradation, and evaluate the performance of TCP algorithms. We design optional modules and filtering mechanisms to reduce TcpSights overhead. Our evaluation presents that TcpSight incurs an additional CPU consumption of about 16.6% (without filtering) and 10.6% (with filtering) when the servers load is 55.7%, and generates storage consumption about 1.88 KB per connection on average. We also give application cases of TcpSight and the deployment experiences in Alibaba Cloud. TcpSight helps in revealing meaningful findings and insights into exploiting TCP in the production deployment.
Authors
- Peng Cheng (ORCID: https://orcid.org/0000-0002-4221-2162)
- Shaokai Zhang
- Ruopeng Geng (ORCID: https://orcid.org/0009-0007-9302-9011)
- Chongrong Fang (ORCID: https://orcid.org/0000-0003-2357-0228)
- Shunmin Zhu (ORCID: https://orcid.org/0000-0001-7756-0952)
- Biao Lyu (ORCID: https://orcid.org/0000-0002-8096-5528)
- Jiming Chen (ORCID: https://orcid.org/0000-0003-3155-3145)
- Jianyuan Lu (ORCID: https://orcid.org/0000-0003-2502-8686)
- Jiangu Zhao
- Zhigang Zong
Institutions
- Ministry of Education of the People's Republic of China (CN)
- Shanghai Jiao Tong University (CN)
- State Key Laboratory of Industrial Control Technology (CN)
- Alibaba Group (China) (CN)
- Zhejiang University (CN)
Publication Details
- Journal
- IEEE Transactions on Network and Service Management
- Published
- 2025-05-05
- DOI
- https://doi.org/10.1109/tnsm.2025.3564336
- Primary Topic
- Network Security and Intrusion Detection
- Type
- article
- Field-Weighted Citation Impact
- 0.00