{'fraction_non_alphanumeric': 0.021780303030303032, 'fraction_numerical': 0.003787878787878788, 'mean_word_length': 4.8397790055248615, '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}}
Minimizing memory requirement for a multi-rate continuous media server

We examine and construct a mathematical model of the buffer sharing problem for a multi-rate continuous media (CM) server, which supports media streams of different bit rates. On the basis of the developed model, we derive the maximal required buffer of a multi-rate CM server with different disk scheduling policies. Based on the observations from some experiments, we learn that not only the data retrieval timing for each stream but also the retrieval sequence of the streams has led to surprising impacts on the maximal buffer requirement of a multi-rate CM server. Therefore, we elaborate a novel disk scheduling scheme to obtain a better retrieval sequence, which can reduce the memory requirement of a multi-rate CM server by using memory sharing. According to the simulation results, the proposed method can reduce the memory buffer by up to 36% of that of the conventional non-sharing scheme, and about 15% of that of the worst case of the conventional buffer-sharing scheme.