{'fraction_non_alphanumeric': 0.010416666666666666, 'fraction_numerical': 0.0, 'mean_word_length': 5.30327868852459, '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 Novel Least Slack First Scheduling Algorithm Optimized by Threshold

In order to prevent that the least slack first scheduling algorithm may frequently cause switching among tasks, a novel least slack first scheduling algorithm based on dynamic fuzzy preemption is presented. The notion of threshold coefficient was defined in this paper, linguistic fuzzy sets were used to describe the uncertain characters and the fuzzy threshold coefficient was gotten by fuzzy logic. The slack time of the running task is reduced to its fuzzy threshold to avoid thrashing. Comparing to the traditional least slack first scheduling algorithm, the simulation results show that, the switching number of the novel algorithm is smaller and the missed deadline percentage is decreased.