{'fraction_non_alphanumeric': 0.022350993377483443, 'fraction_numerical': 0.0008278145695364238, 'mean_word_length': 5.716666666666667, '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}}
VRHS : an Application Specific Reflective Hierarchical Scheduler

In a dynamically changing real-time environment, it is not possible to make scheduling decisions offline. A Real-Time Operating System (RTOS) with a single fixed scheduler cannot satisfy the demands of multiple complex multi-threaded applications. These applications are best scheduled using an application specific scheduler. Thus, for multiple such applications, multiple schedulers need to co-exist in the system. Existing hierarchical scheduling models or other scheduling APIs incur huge overheads thereby making the system infeasible. This paper proposes the design of a Virtual Reflective Hierarchical Scheduler (VRHS) model that allows applications to introduce application-specific scheduling policies into the OS such that several such schedulers can co-exist with other traditional schedulers. This Model does not compromise system integrity and performance. We implemented the VRHS model using a reflective RTOS, DAMROS [3]. Results demonstrate that by using reflection it is possible to eliminate the overheads caused by traditional approaches, yielding better performance and also providing more flexibility to the applications.