786 Commits (main)

Author SHA1 Message Date
Sean McBride 6c8a2c78c1 refactor: current sandbox
4 years ago
Sean McBride d507a0730d refactor: module database
4 years ago
Sean McBride 1be32fa2d2 refactor: http total
4 years ago
Sean McBride 5cab06fac4 refactor: http request
4 years ago
Sean McBride f665c6ab1f refactor: generic thread
4 years ago
Sean McBride aa77d07f75 refactor: client socket
4 years ago
Sean McBride 3fc750263d refactor: admissions info
4 years ago
Sean McBride 067cbf6fc9 chore: Encapsulate Admissions Control
4 years ago
Sean McBride 6b1dde7257 refactor: Clean up listener core locks and org
4 years ago
Sean McBride de8def59cc chore: rlimit cleanup
4 years ago
Sean McBride 9227d30d41 chore: use triaged and fix small test nits
4 years ago
Sean McBride 5102647b96 chore: Disable preemption logging
4 years ago
Sean McBride 9a673da0a1 chore: make command check silent
4 years ago
Sean McBride d92fc7e8e4 fix: Correct typo in error log
4 years ago
Sean McBride eb4e5b276a fix: Revert sigmask change
4 years ago
Sean McBride ec935601cb fix: Unset environment variables on test run
4 years ago
Sean McBride a5b5e0f29a fix: Stop handling signals in initialize thread
4 years ago
Sean McBride b3e93a087e feat: WIP implementation
4 years ago
Sean McBride 56f61e50ab chore: Enhance experimental framework with dotenv
4 years ago
Sean McBride dcedafdc44 fix: Bash callstack correction
4 years ago
Sean McBride ea6c40ab3c chore: Configurable quantum
4 years ago
Sean McBride 3f18cf0cfc feat: make preemption toggle runtime config
4 years ago
Sean McBride 5c2877ff58 test: Silence hey in bimodal
4 years ago
Sean McBride fd837a9ce5 chore: selectively use sudo
4 years ago
Sean McBride 7fdef27570 chore: try sudo
4 years ago
Sean McBride 8efe2af177 chore: Install hey if needed
4 years ago
Sean McBride 97818e5e32 test: log bimodal
4 years ago
Sean McBride 69c82ead61 test: Do not fail imageresize on curl non 0 exit status
4 years ago
Sean McBride 5f2804939c chore: additional resize by resolution debugging
4 years ago
Sean McBride a904164f88 chore: Debug image resize
4 years ago
Sean McBride f311f55e4d chore: Add missing headers to sockclient
4 years ago
Sean McBride 2aea1bb348 test: Increase image resize sleep
4 years ago
Sean McBride ade19936c3 chore: clarify implicit type coercion
4 years ago
Sean McBride 989b72b6bf fix: Add missing headers
4 years ago
Sean McBride 2257c09357 chore: Quieter builds
4 years ago
Sean McBride 50768f9bef chore: remove iteration echo
4 years ago
Sean McBride 199449a2bc feat: Quieter gocr build
4 years ago
Sean McBride 97df7292a7 fix: correct Makefile build cachine issues
4 years ago
Sean McBride cc4cc96cc3 feat: better test driver and more resilient tests
4 years ago
Sean McBride 1500935d1c docs: Add note for RTLD_DEEPBING flag w sanitizers
4 years ago
Sean McBride 8ca49ba160 fix: Correct sandbox double free
4 years ago
Sean McBride 02a15aeffb chore: Add clang sanizer boilerplate
4 years ago
Sean McBride 375ce5019f chore: Resolve some undefined sanitizer type nits
4 years ago
Sean McBride a11258af11 chore: Add valgrind debugging
4 years ago
Sean McBride b510214e37 fix: Make module reference count atomic
4 years ago
Sean McBride 7dbb0a625c chore: Better out-of-memory error
4 years ago
Sean McBride a3b3dfe8ef doc: Correct copypasta debugging message
4 years ago
Sean McBride e1f7dbe6c3 fix: type error and typo
4 years ago
Sean McBride 7dd623fd6f chore: fix typo in comment
4 years ago
Sean McBride a0810a4533 chore: log client info on socket descriptor error
4 years ago
Sean McBride 64fca85cc4 fix: correct socket address lifetime error
4 years ago
Sean McBride 41db0f7a13 chore: Initialize and early out on completion queue free
4 years ago
Sean McBride 40f34f6076 chore: no gdb print on SIGUSR1 or SIGPIPE
4 years ago
Sean McBride d17c9c25b9
Merge pull request #193 from gwsystems/remove-policy-from-framework
4 years ago
Sean McBride 419eba4dc1 feat: Remove policy args in favor of ENV VARS
4 years ago
Sean McBride 2c13e111fa fix: Correct assert typo
4 years ago
Sean McBride 003b57a76c fix: explicitly convert void*
4 years ago
Sean McBride 67af09ca48 chore: Delete useless script
4 years ago
Sean McBride 4955d3bab7 fix: Correct hardcoded localhost and DRY up sample code
4 years ago
Sean McBride 7e62eceb0e refactor: concurrency and payload use framework
4 years ago
Sean McBride d678e34ce3 test: centralize bimodal and refactor concurrency
4 years ago
Sean McBride 5693c65dd2 fix: correct server arg in deadline driver
4 years ago
Sean McBride db0c3504c0 chore: Validate perf on baremetal server
4 years ago
Sean McBride e32339bbc1 feat: Complete deadline experiment cleanup
4 years ago
Sean McBride 1a72791c1b feat: first pass at new run format
4 years ago
Sean McBride 97e8c58cca fix: Remove extra % in awk printf
4 years ago
Sean McBride 14a96de776 chore: bash cleanup
4 years ago
Sean McBride 06b717ec4a fix: Add missing awsm parameters
4 years ago
Sean McBride 124d1180bd chore: Cleanup dl error handling
4 years ago
Sean McBride 21d0f28572 chore: Fix missing csv comma
4 years ago
Sean McBride de5ee9af53 chore: Apply shfmt to shell scripts
4 years ago
Sean McBride 1517db0759 fix: Correct implicit pointer cast
4 years ago
Sean McBride 65e8b27775 chore: Mask ARM source if not AARCH64 not defined
4 years ago
Sean McBride c81ca379fa chore: Mask all includes if USE_MEM_VM not defined
4 years ago
Sean McBride 661748afe4 feat: Basic memory profiling
4 years ago
Sean McBride 2d717e736d fix: Limit granularity check to admissions control
4 years ago
Sean McBride fc6b46252d chore: Remove absolute path from sod
4 years ago
Sean McBride 02b6510a4e chore: Use relative paths and cleanup workflow
4 years ago
Sean McBride c1b5cdaf5c chore: Makefile cleanup sod
4 years ago
Sean McBride 794baeaf2f chore: Update CMSIS submodule and makefile rule
4 years ago
Sean McBride e0c105b3a4 chore: Update gocr submodule
4 years ago
Sean McBride b589a2010f chore: update gocr and TinyEDF submodules
4 years ago
Sean McBride 771535f121 chore: Update TinyEKF submodule
4 years ago
Sean McBride 8491837870 fix: Update tinyekf build
4 years ago
Sean McBride 518f0ff900 chore: Revert duplicate logic from rebase
4 years ago
Sean McBride 6ebf9e9a65 chore: add github test action
4 years ago
Sean McBride 2bdbb62902 test: Improve test runner
4 years ago
Sean McBride 41ca2f802e chore: Update sod
4 years ago
Sean McBride ba7ec149d7 test: driver script
4 years ago
Sean McBride 0bd5b5782f chore: remove libuv
4 years ago
Sean McBride 2ad7711884 chore: update tests to handle stricter validation
4 years ago
Sean McBride 86b1a274e9 chore: validation and active as boolean
4 years ago
Sean McBride 5968d9b72e feat: more explicit config logging and validation
4 years ago
Sean McBride 0d44e473e3 chore: formatting nits
4 years ago
Sean McBride e771e7e1e0 feat: add memory to sandbox log
4 years ago
Sean McBride 770b137df2 test: first pass at lpd by plate count
4 years ago
Sean McBride 97c5faf0f2 feat: log resolution experiment data
4 years ago
Sean McBride 0a15932acd feat: implement mremap
4 years ago
Sean McBride 47069ddb44 doc: Update image resize READMEs
4 years ago
Sean McBride 192f539f36 test: Improve Image resize
4 years ago
Sean McBride 8f1e68857e docs: Update by_iter readme
4 years ago
Sean McBride b0a4f9f662 test: ekf by_iter
4 years ago
Sean McBride 1f2d2cea90 chore: Move one_iteration test
4 years ago
Sean McBride a8193d50cd chore: move handwriting into ocr dir
4 years ago
Sean McBride e2a30d873d chore: move fivebyeight into ocr dir
4 years ago
Sean McBride c93c380771 chore: move hyde into ocr dir
4 years ago
Sean McBride bc48284d37 chore: move by_word into ocr dir
4 years ago
Sean McBride d809869ed7 chore: move by_font into ocr dir
4 years ago
Sean McBride 09e7f9c084 chore: move by_dpi into ocr dir
4 years ago
Sean McBride d52d8e68a6 chore: clean up dpi and update READMEs
4 years ago
Sean McBride 4c1c6f0ff4 test: Add experiments for by font and by size
4 years ago
Sean McBride 4aac097566 test: Add by word experiment
4 years ago
Sean McBride 8dd53dfd96 fix: Flush log on sigterm
4 years ago
Sean McBride 2f9b72bdc2 chore: Improve testing
4 years ago
Sean McBride e895d3fed9 feat: WIP speech to text
4 years ago
Sean McBride e3b62d61b2 chore: add speechtotext submodule
4 years ago
Sean McBride 6e998a8143 fix: Ensure workers init before softints
4 years ago
Sean McBride 86d997e2e2 chore: Update submodules
4 years ago
Sean McBride 9690cd1823 chore: Change default to bmp
4 years ago
Sean McBride a591206fc4 chore: Add bmp and png images
4 years ago
Sean McBride 6435fa2cf8 fix: add missing fib spec
4 years ago
Sean McBride 66dd582fc5 test: Complete ekf test
4 years ago
Sean McBride 1bf4bc5a82 chore: Update image classifier with @emil916 fix
4 years ago
Sean McBride c026a0641b test: start of ekf cleanup
4 years ago
Sean McBride efcc3acfb7 test: cleanup of License Plate detection
4 years ago
Sean McBride 78da289a65 chore: rename resize to imageresize
4 years ago
Sean McBride c47fa120f1 test: cleanup cifar10 image classification
4 years ago
Sean McBride 487e37d1b5 chore: Update fivebyeight spec
4 years ago
Sean McBride b3d558f83e chore: Initial pass at resize experiment
4 years ago
Sean McBride b2cdc1c5cf chore: Update handwriting spec to standard format
4 years ago
Sean McBride 092f837869 chore: Update hyde spec path to standard format
4 years ago
Sean McBride 9b2b9ad47c chore: add sample apps as submodules
4 years ago
Sean McBride 53ffbbc830 chore: Add issue for memory leak
4 years ago
Sean McBride 022a9c5133 chore: remove zombie error handling
4 years ago
Sean McBride adfbefa135 chore: Add issue for context restore new
4 years ago
Sean McBride 87fd40957b chore: Add issue for epoll error handling
4 years ago
Sean McBride de4d7853d9 chore: add issue for fixme
4 years ago
Sean McBride 8a48e64dd0 chore: remove zombie scripts using wrk
4 years ago
Sean McBride bd03a7e3bf chore: driver script fiddling
4 years ago
Sean McBride 0b6fd56af6 chore: adjust deadline parameters
4 years ago
Sean McBride 9c5b8e71cd chore: increase request queue size
4 years ago
Sean McBride 9ebc2e6bb0 feat: admissions control headspace for overhead
4 years ago
Sean McBride 28ccac11b7 chore: improve experimental scripts
4 years ago
Sean McBride cbfad57af9 fix: correct assorted bugs
4 years ago
Sean McBride 36d649e098 chore: improve documentation of preempt_disable
4 years ago
Sean McBride c9e4477f64 chore: log invalid context
4 years ago
Sean McBride aad8d83ce6 chore: fix missing include
4 years ago
Sean McBride 84d632bbfb chore: debug current_sandbox_get
4 years ago
Sean McBride 1f7036d1fb chore: add client for preemption
4 years ago
Sean McBride f5e2032ef7 chore: push update of experiments
4 years ago
Sean McBride daec8f5753 chore: make quantum smaller
4 years ago
Sean McBride ec627968c0 fix: correct sloppy overflow
4 years ago
Sean McBride 134aad35f9 chore: remove redundant highest_priority updates
4 years ago
Sean McBride 46d7f14116 chore: Update logs and flags
4 years ago
Sean McBride abdcda28d0 docs: Update zombie funciton comment
4 years ago
Sean McBride f9c8ceca15 chore: update extern to match integral MHz
4 years ago
Sean McBride f005983709 chore: Refactor processor speed to use int
4 years ago
Sean McBride 7cd695b84d fix: correct PQ bug
4 years ago
Sean McBride 74a4397bbc chore: Update preemption with new keys
4 years ago
Sean McBride 5327ac1e8c chore: refactor away DEBUG define
4 years ago
Sean McBride 4d2e2641f4 feat: Refactor of conditional compilation units
4 years ago
Sean McBride ac55d309ff chore: rename state in unhygienic lock macros
4 years ago
Sean McBride 012729ada1 chore: assorted socket error handling
4 years ago
Sean McBride 9d19d55179 fix: correct allocate error handling
4 years ago
Sean McBride 696f9e092f chore: remove uv related prepocessor stuff
4 years ago
Sean McBride 51c26bb952 feat: remove libuv, rework pq, http close DRY up
4 years ago
Sean McBride 3afe74ae78 feat: runtime configurable sandbox perf logging
4 years ago
Sean McBride aa5c873c2a chore: Remove configs that are now dynamic
4 years ago
Sean McBride 0a08453f29 chore: DRY up scripts
4 years ago
Sean McBride b0f20d62fc fix: correct error code
4 years ago
Sean McBride 0b41d21476 feat: expose NWORKERS as environment var
4 years ago
Sean McBride cf29da6517 chore: update preeption experiment
4 years ago
Sean McBride abce89b981 feat: Expose scheduler as runtime config
4 years ago
Sean McBride 306eb39b16 feat: Complete application experiment
4 years ago
Sean McBride e19d007ca7 feat: Additional syscalls
4 years ago
Sean McBride e7723e3331 fix: correct http-parser bug
4 years ago
Sean McBride 887c2de312 test: Add payload experiment
4 years ago
Sean McBride d860adc81e chore: Add gocr application
4 years ago
Sean McBride 5d9be6e926 fix: restore additional syscalls
4 years ago
Sean McBride bc8c16c44e chore: Remove experiment results
4 years ago
Sean McBride f8d3e8d961 chore: Move preeption to experiments directory
4 years ago
Sean McBride 61ae0375af docs: add documentation for concurrency experiment
4 years ago
Sean McBride d5ba4b03bc chore: restore default NCORES
4 years ago
Sean McBride 0509874d6f test: add concurrency experiment
4 years ago
Sean McBride c6dacb99ac chore: add client debug logging
4 years ago
Sean McBride a54a72724b fix: ignore SIGPIPE
4 years ago
Sean McBride 20f965af61 fix: Ignore SIGPIPEs
4 years ago
Sean McBride ec40ad0c0c chore: Various experiments
4 years ago
Sean McBride b283f8b8f1 docs: Remove incorrect comment
4 years ago
Sean McBride 368478374f chore: fix error handling
4 years ago
Sean McBride 7bf48e3aaa feat: WIP
4 years ago
Sean McBride 2bed1bf2e3 refactor: set flags to bool
4 years ago
Sean McBride f356cff4a2 chore: Return sane errno on unimplemented syscall
4 years ago
Sean McBride 106db3d348 chore: clarified syscall backing functions
4 years ago
Sean McBride 81a4d65a2e docs: Add attribution to syscall.c
4 years ago
Sean McBride a307d6193a fix: correct atomics
4 years ago
Sean McBride 575d64eba8 chore: restore max cores
4 years ago
Sean McBride 455d73d719 chore: fix error on NDEBUG
4 years ago
Sean McBride 2a82fe96f3 feat: get epoll implementation working
4 years ago
Sean McBride ff8c04a6e9 chore: Change client parsing from error to log
4 years ago
Sean McBride 10ad100847 feat: Use integers for admissions control
4 years ago
Sean McBride c3dbe76173 chore: Change panic to assert
4 years ago
Sean McBride 3159ab8d88 chore: Replace assert with runtime panic
4 years ago
Sean McBride 1429eb1218 chore: remove extra casts
4 years ago
Sean McBride c855d013c8 fix: remove atomics from threadlocal
4 years ago
Sean McBride bf6b5d3c61 fix: cleanup lock API
4 years ago
Sean McBride 69aa03d68f fix: correct async write 4XX
4 years ago
Sean McBride 83c0fcd26a fix: correct so compiles on USE_HTTP_UVIO
4 years ago
Sean McBride cded94e68d refactor: Clear pointer earlier
4 years ago
Sean McBride 6ade9a2927 docs: add missing returns
4 years ago
Sean McBride 3c7e062548 refactor: cleanup module DB
4 years ago
Sean McBride e0a80711f9 chore: Simplify module db add
4 years ago
Sean McBride d3df215963 chore: Improve docs and asserts of req parsing
4 years ago
Sean McBride a34f98f579 fix: Improve module_listen error handling
4 years ago
Sean McBride a4da76c303 chore: Document alternate CC_OPTIONS
4 years ago
Sean McBride 92c17d7717 chore: Assorted debugging enhancements
4 years ago
Sean McBride c8c7c6a000 feat: check for accidental sandbox returns
4 years ago
Sean McBride f93a18e685 chore: change perror to debuglog
4 years ago
Sean McBride e91f9feb8e fix: disable interrupts when lock is held
4 years ago
Sean McBride 6c718dfa6e chore: Stop adding to unused database
4 years ago
Sean McBride 0e521668f8 feat: refactor workers for nonblocking sockets
4 years ago
Sean McBride a7293a7a0a feat: non-blocking listener core
4 years ago
Sean McBride 0787b27b4f fix: correct module db errors
4 years ago
Sean McBride 019130b43c chore: Cleanup module_database_dd
4 years ago
Sean McBride c1663f59ac chore: Improve module listen error handling
4 years ago
Sean McBride 296a907107 docs: better document epoll backlog
4 years ago
Sean McBride c1edca2a42 chore: assorted socket error handling
4 years ago
Sean McBride 9ead528dfc chore: better debugging and small socket fixes
4 years ago
Sean McBride 47a98d8518 chore: increase relative deadline fib2
4 years ago
Sean McBride 587e2ab354 feat: Only dequeue request if actually earlier
4 years ago
Sean McBride e3261244ee chore: replace aborts with panics
4 years ago
Sean McBride 9bed646e3b chore: enhance log granularity
4 years ago
Sean McBride 9749299672 chore: replace spinloop with return to main loop
4 years ago
Sean McBride 01d32c19f8 chore: replace asserts with abort to be use NDEBUG
4 years ago
Sean McBride 84cdcf7b6c chore: Remove extra softint disable/enable
4 years ago
Sean McBride 04e63c2a02 chore: panic on recursive softint disables
4 years ago
Sean McBride 6021807256 feat: formalize idle loop
4 years ago
Sean McBride 3fcc9c123a chore: fix logging error
4 years ago
Sean McBride c30018eb4a chore: Improve buffer names
4 years ago
Sean McBride 82d0505104 chore: make durations uint32_t
4 years ago
Sean McBride 392d04423a chore: ignore loop of asserts on NDEBUG
4 years ago
Sean McBride d1d27a9162 feat: percentiles for execution estimates
4 years ago
Sean McBride c9bcf086fa fix: correct locking issue
4 years ago
Sean McBride f8f1db7eaf feat: complete lock refactor
4 years ago
Sean McBride b3215c6dbc feat: all but trylock
4 years ago
Sean McBride 6673734857 feat: mcs locks and profiling
4 years ago
Sean McBride c291b049c8 fix: Properly close malformed requests
4 years ago
Sean McBride e430202c1f fix: correct control flow bug
4 years ago
Sean McBride e445e76870 feat: add ability to reject request
4 years ago
Sean McBride 76ba308c16 feat: Initial MVP of admissions control
4 years ago