Efficient algorithms for collecting the statistics of large-scale IP address data
Computer Science and Information Systems, Tome 22 (2025) no. 3
Voir la notice de l'article provenant de la source Computer Science and Information Systems website
Compiling the statistics of large-scale IP address data is an essential task in network traffic measurement. The statistical results are used to evaluate the potential impact of user behaviors on network traffic. This requires algorithms that are capable of storing and retrieving a high volume of IP addresses within time and memory constraints. In this paper, we present two efficient algorithms for collecting the statistics of large-scale IP addresses that balance time efficiency and memory consumption. The proposed solutions take into account the sparse nature of the statistics of IP addresses while maintaining a dynamic balance among layered memory blocks. There are two layers in the first proposed method, each of which contains a limited number of memory blocks. Each memory block contains 256 elements of size 256 × 8 bytes for a 64-bit system. In contrast to built-in hash mapping functions, the proposed solution completely avoids expensive hash collisions while retaining the linear time complexity of hash-based solutions. Moreover, the mechanism dynamically determines the hash index length according to the range of IP addresses, and can balance the time and memory constraints. In addition, we propose an efficient parallel scheme to speed up the collection of statistics. The experimental results on several synthetic datasets show that the proposed method substantially outperforms the baselines with respect to time and memory space efficiency.
Keywords:
large-scale IP addresses, memory blocks, hash table, sorting, network traffic
Hui Liu; Yi Cao; Zehan Cai; Hua Mao; Jie Chen. Efficient algorithms for collecting the statistics of large-scale IP address data. Computer Science and Information Systems, Tome 22 (2025) no. 3. http://geodesic.mathdoc.fr/item/CSIS_2025_22_3_a12/
@article{CSIS_2025_22_3_a12,
author = {Hui Liu and Yi Cao and Zehan Cai and Hua Mao and Jie Chen},
title = {Efficient algorithms for collecting the statistics of large-scale {IP} address data},
journal = {Computer Science and Information Systems},
year = {2025},
volume = {22},
number = {3},
url = {http://geodesic.mathdoc.fr/item/CSIS_2025_22_3_a12/}
}
TY - JOUR AU - Hui Liu AU - Yi Cao AU - Zehan Cai AU - Hua Mao AU - Jie Chen TI - Efficient algorithms for collecting the statistics of large-scale IP address data JO - Computer Science and Information Systems PY - 2025 VL - 22 IS - 3 UR - http://geodesic.mathdoc.fr/item/CSIS_2025_22_3_a12/ ID - CSIS_2025_22_3_a12 ER -
%0 Journal Article %A Hui Liu %A Yi Cao %A Zehan Cai %A Hua Mao %A Jie Chen %T Efficient algorithms for collecting the statistics of large-scale IP address data %J Computer Science and Information Systems %D 2025 %V 22 %N 3 %U http://geodesic.mathdoc.fr/item/CSIS_2025_22_3_a12/ %F CSIS_2025_22_3_a12