{'fraction_non_alphanumeric': 0.02060133630289532, 'fraction_numerical': 0.0011135857461024498, 'mean_word_length': 5.05050505050505, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
A Methodology for the Optimal Configuration of TCP Traffic in Network Simulations under Link Load Constraints

Given that more than 90% of the Internet load is carried by TCP, most network simulation studies use TCP flows to generate the background traffic. A basic, but unresolved, question, however, is the following: how can one decide how many TCP flows to simulate from one network node to another? Simulating too many flows on a link can cause an unrealistically high loss rate on that link, while simulating too few flows can result in undesirably light load conditions. Similarly, to simulate realistic network conditions, one has to carefully control the load distribution on various network links (e.g., edge vs. core links), as well as the hop count (path length) of the simulated TCP flows. Previous simulation studies have dealt with these issues in a trial-and-error manner, experimenting with several traffic configurations until a realistic distribution of link load and loss rate is achieved. In this article, the authors present a methodology that determines the number of TCP flows that should be simulated between each pair of nodes in a network based on the network topology, a specification of the utilization and loss rate for certain links, and an average number of hops for the TCP flows. The proposed methodology is based on a linear program formulation that, while meeting the utilization and loss rate specifications, minimizes the number of required TCP flows. This optimization criterion minimizes the memory requirement of the simulation. The evaluations show that the proposed methodology can closely approximate the specified link conditions in terms of utilization and loss rate. The authors also analyze the largest approximation errors and reveal their causes.