366 Commits (6a55c17813f83b0b742060621a096986b3877981)

Author SHA1 Message Date
lyuxiaosu 9b97152632 apply traiged sending sig alarm to other worker thread for SRSF
3 years ago
lyuxiaosu f2853d2783 record each thread worker's queuelength when an alarm signal come in
3 years ago
xiaosuGW 9c8e7f0b88 make running_time more accurate
3 years ago
xiaosuGW 1eceb58278 remove assert(current_sandbox->state == SANDBOX_RUNNING from software_interrupt.c and substract scheduling time from running time
3 years ago
xiaosuGW 9ff138f0f8 fix bug: execution time unit is ms and deadline is cpu cycles
3 years ago
xiaosuGW 66b20d20c0 add workload counter for each worker thread
3 years ago
xiaosuGW bf306fc0c9 fix assert failed problem: assert failed at current_sandbox is not in RUNNING_STATE
3 years ago
xiaosuGW 7d7e28853c add more debug log
3 years ago
xiaosuGW f53255bbf3 fix bug: negative remaining slack turns to be a large number when assign it to a uint64_t type of value
3 years ago
xiaosuGW c64a45b214 fix one bug of SRSF
3 years ago
xiaosuGW af467d5b88 print total time after request is complete
3 years ago
xiaosuGW 5af9fffd55 modify priority function for srsf: if remaining slack is negative, return 0 priority
3 years ago
xiaosuGW 9ab4001f8d handle some unfeasible assert() and negative remaining slack vs the return type of uint64_t of priority function
3 years ago
xiaosuGW da7f5506d6 implement srsf
3 years ago
xiaosuGW 90600ff160 replace running_duration with total_time in the perf_window
3 years ago
xiaosuGW c5a3f9bc41 use completion_timestamp instead of now() to check if the request missed deadline or not
3 years ago
xiaosuGW a20d8897ec printf meet deadline or miss deadline when a sandbox is complete
3 years ago
xiaosuGW 416b1ae80b 1. move operations for perf_window out of the admission control macro. 2. memory printf the execution times when window is full
3 years ago
xiaosuGW b648b62bfe replace "assert" with "return" if FILE pointer is NULL in memlogging.c
3 years ago
xiaosuGW b4a5fc7af2 1.Implement memory-based logging for each worker thread. 2. Dump all memory-based log to a file when receiving SIGINT signal
3 years ago
xiaosuGW 417427ab39 1. optimization: avoid global queue if the next sandbox has the same deadline with the current sandbox. 2. correct format and enrich comments
3 years ago
xiaosuGW 90d666bbc3 correct typo that causes compiling failed
3 years ago
xiaosuGW 870962313c remove redundent comments
3 years ago
xiaosuGW 404d6fce1a remove redundent comments
3 years ago
xiaosuGW 5d77f8efb5 remove redundent comments
3 years ago
xiaosuGW 24502d316b 1. Change compliler optimization level. 2. remove unaccurate execution time calculation
3 years ago
xiaosuGW 5dbbf31ba5 correct queuing time and total time for chain function
3 years ago
xiaosuGW cc51da253a 1. let each sandbox in the chain share the same request id. 2. fflush after fprintf
3 years ago
xiaosuGW b27fb75d46 output client port number in the log
3 years ago
xiaosuGW 74912c5460 recover monitoring fd in each sandbox in the chain, otherwise, sledge will stuck at sometimes, the reason needs time to dive in later
3 years ago
xiaosuGW 0bfc08e59a do not print http request content
3 years ago
xiaosuGW 857c11d140 do not monitor client fd with epoll if the sandbox is not the last one in the chain
3 years ago
xiaosuGW a642082b73 remove some redundant parameters
3 years ago
xiaosuGW 3bbc2f28fd support linear chain function calling by using list to chain modules
3 years ago
xiaosuGW e6be55b1ed support chain function calling by introducing hashtable for retrieving module struct
3 years ago
Sean McBride a221d7938b chore: shift off core 0
4 years ago
Sean McBride 7f8a11f2d5 feat: Round robin for FIFO preemption
4 years ago
Sean McBride 69b2a476d4 docs: remove useless comments
4 years ago
Sean McBride d3a418f6fb doc: Related TODO to GitHub issue
4 years ago
Sean McBride e798474982 chroe: remove extra header in AARCH64
4 years ago
Sean McBride b924ed812d feat: Simplify softint disable logic
4 years ago
Sean McBride 85856148e1 refactor: Additional cleanup
4 years ago
Sean McBride 0f0d0fcb18 feat: rework of scheduler logic
4 years ago
Sean McBride 91c429cd8f feat: simplified sigalrms
4 years ago
Sean McBride 0b6e8e891f refactor: Additional static inlines
4 years ago
Sean McBride 064dac1aaf refactor: assorted header cleanup
4 years ago
Sean McBride 9e3530427a refactor: assorted fixed from clang warnings
4 years ago
Sean McBride d269c04c69 refactor: Namespace cleanup
4 years ago
Sean McBride faacc5c785 refactor: http header cleanup
4 years ago
Sean McBride f435cea9c8 refactor: Shift sandbox inlines
4 years ago