Emil
6b0ba99e86
feature: added SJF scheduler and Regression based prediction ( #385 )
...
* feature: added SJF scheduler
added REGRESSION based prediction support
* fix: error handling
* fixed the default values for def.server when not given
* fix: replace GET by POST for hey requests (fix by Xioasu)
* - update .clang-format props to match composite (almost)
- reformat C codes in the repo
- refactor the format.sh script
- fetch latest AWSM master
* Addressed Gabe's comments
* error handling for when model_scale and model_beta2 is zero
* fix the multi-tenantcy-predictions run.sh script
* - upgraded to LLVM_VERSION=13 both on sledge & AWSM
- updated dockerfile, main.yaml
- added new uninstall_llvm.sh script to ease LLVM removal
8 months ago
Sean McBride
0c3b661301
feat: Latency perflog ( #364 )
...
* feat: latency perf_window
* chore: Increase perf window capacity
* chore: fix Makefile
* fix: Restore route_latency precomputed idx
* fix: clang-format nit
* fix: clang-format
* fix: Restore accidental deletion
* fixed: perf_window_get_percentile was not considering cases where perf_count<CAP
* - removed the globals for p50_idx and p90_idx
- changed latency unit from ms to us
* undo renaming perf_window
* upgrade sandbox_total type to u64
make sure sandbox_id starts from 1
* improve Makefile comments
Co-authored-by: emil <emil916@gmail.com>
2 years ago
Sean McBride
cd73d7d172
refactor: reorder metrics
2 years ago
Sean McBride
9458c5ad7f
refactor: http route total counters
2 years ago
Sean McBride
876634b87b
refactor: admissions control flags
2 years ago
Sean McBride
edf98efa51
refactor: http total counters Makefile
2 years ago
Sean McBride
51b3f74b5e
refactor: Remove LOG_LOCK_OVERHEAD reporting
2 years ago
Emil
cb09ed51ea
Updated deferable server ( #352 )
...
* refactor: use var accross the Makefile instead of sledgert string
* refactor bash libraries
- remove hash symbol for scv_to_dat
- add set_print_pretty for gdb mode
- add logging for client
- change printf format for perf log in table from float to int since usec
* cleanup: generalize redundant files in the experiments:
- remove individual gitignore, have single gitignore in parent (tests)
- remove individual env files, have single copies in 'common' dir
- remove individual install.sh, have install_tools.sh (in bash libs)
* - add comment into install_tools.sh
- rename mts to mtds
* update the env files dir to common
* move multi-tenancy env files to another directory (temp)
* apply the deferable server to the new master
* add the deferrable server env file to github CI test
* clang-format
* add deferable server attributes to all experiment specs
* remove previously added generic interface that was only for Def Serv
* Accomodated important changes Sean requested:
- remove unnecessary assertions from pri_queue.h
- set the runtime queue size to MAX_TENANT
- add the scheduler updates back to the sandbox_interrupt state transition
3 years ago
Emil
9946f23eb7
General Cleanup ( #351 )
...
* refactor: use var accross the Makefile instead of sledgert string
* refactor bash libraries
- remove hash symbol for scv_to_dat
- add set_print_pretty for gdb mode
- add logging for client
- change printf format for perf log in table from float to int since usec
* cleanup: generalize redundant files in the experiments:
- remove individual gitignore, have single gitignore in parent (tests)
- remove individual env files, have single copies in 'common' dir
- remove individual install.sh, have install_tools.sh (in bash libs)
* - add comment into install_tools.sh
- rename mts to mtds
* update the env files dir to common
* move multi-tenancy env files to another directory (temp)
3 years ago
Sean McBride
89b1c07146
feat: LOG_TENANT_LOADING
3 years ago
Sean McBride
01cca785f4
feat: partial tenant implementation
3 years ago
Sean McBride
ee24d1f5b0
refactor: http-session
3 years ago
Sean McBride
7cacac64c0
WIP: WASI Support ( #267 )
...
* feat: Preliminary WASI with fib workload
* refactor: Clarify initialize globals
* chore: Update empty to WASI
* chore: cleanup fib test
* chore: cleanup build tooling
* chore: cleanup test Makefiles and some nits
* chore: Update LLVM and install WASI-SDK
* chore: Update build tools and specs
* docs: Update example module spec in README
* refactor: Clean up HTTP handling
* feat: Implement exit WASI call
* style: apply clang-format
* ci: rewrite compile sledge step
* build: Remove LLVM install shims
* build: Try manually adding libunwind
* build: Try adding libunwind-dev
* ci: break out aWsm compile step
* fix: Correct test build error
* fix: Correct error in WASI fd_write
* chore: Increase gocr http buffer size
* test: Correct image resize test
* chore: Remove zombie wasmception functions
* chore: Reduce dummy args to single arg
* chore: Add debugging makefile fivebyeight
* chore: Remove erronious PHONYs in tests Makefile
* ci: Disable gocr tests
* chore: Add wat Make rule to fibonacci test
* chore: fix apt package name
* chore: Enable clean of failed ck install
* chore: use LLVM 12
* test: Disable gocr tests
* chore: Enhance test makefile
* chore: Add CFILES as sledgert dep
* chore: Add NULL check for function table pointer
* chore: Add missing header
* chore: uncomment cleanup in imageresize test
* refactor: Remove unused linear memory functions
* build: Add bimodal debug makefile
* chore: Add linear memory debug logs
* refactor: Cleanup region initialization
* build: Correct PHONY in runtime Makefile
* chore: deb install script for outside of container
* refactor: Remove zombie extern.
* feat: WebAssembly traps
* refactor: Use C18 features
* chore: Remove git diff annotations
* fix: tweaks to run all sample apps with WASI
* test: convert shell script to Makefile
* build: clean generated ck Makefile
* chore: Use awsm branch with fixes
* chore: Revert name changes
* fix: Correct type issues
* refactor: Reverse additional name change
* refactor: Remove awsm compat shims
* chore: Remove libc association
* build: Better detect header file changes
* refactor: current_wasm_module_instance_trap
* test: reenable tests
* chore: Delete copied script
* build: Fix test workloads
* fix: Implement HTTP 500
* fix: Protect against overflow on comparison
* build: Replace test.sh with makefile
* refactor: blow away tmp directory conflicts
* refactor: centralize wasm in single submodule
* feat: libsledge and sledge ABI
* chore: move tests
* refactor: tests
* chore: update wasm_apps with new sample data
* doc: Initial ABI README
* feat: globals table
* docs: Merge aWsm ABI docs
* docs: libsledge ABI
* build: rename apps to keep consistent
* build: Disable wasm proposals
* build: Update wasm apps and fix typo
* test: test makefiles
* test: Additional test makefiles
* build: top-level build and install rules wo Docker
* docs: Add wasm lld comment
* build: top level makefile
* chore: merge debug flags
* fix: Correct out of bounds error
* feat: indirection to awsm ABI
* fix: Correct link hack with proper flag
* fix: gps typo
* chore: format nit
* ci: update makefile rules
* ci: check WASI_SDK_PATH
* fix: Adjust paths
* ci: fix make rule name
* refactor: Attempt to use generic vec
* refactor: Remove type-specific vec
* fix: Resolve assorted TODOs
* chore: fix clang format issue
* ci: Invalidate app cache on libsledge changes
* fix: Correct wasm trap check
* fix: free wasm globals
* docs: example of running top level tests via make
* chore: option to log unsupported wasi
* test: add preempt client generator for fib bimodal
* refactor: Allocate wasm memory with 4096 align
* fix: Handle build without runtime globals
* refactor: bypass runtime call for first global
* fix: Correct sandbox logging
* test: fix incorrect paths in test.mk
* refactor: remove wasm traps
* refactor: Revert additional traps and changes
* refactor: Remove additional traps
* refactor: Disable exit support
* fix: block preemption in memory allocation
* feat: wasm g0 write back
* build: cleanup applications Makefile
* chore: Reorder bash variables
* docs: Add comment explaining LOG_SANDBOX_STDERR
* fix: Remove tracking of nonpreemptive siglarms
* chore: Validate Linux, C, and POSIX requirements
* build: Dry up libsledge makefile
* refactor: Remove unused macros
* fix: Writeback global 0 on cooperative sched
* refactor: Fork WASI from aWsm uvwasi example
* build: remove awsm-wasi rules
* chore: clang-format 15
* ci: apt update
* chore: clang 13
* ci: use llvm script
* ci: Use LLVM 13
* refactor: Remove WASI indirection
3 years ago
Sean McBride
5d19891e63
feat: libsledge pattern for wasmception ( #299 )
...
* feat: libsledge pattern for wasmception
* ci: build libsledge
* ci: fix YAML whitespace issue
* ci: fix another YAML whitespace issue
* fix: Correct type issues in memcpy
* ci: debug permissions
* ci: restore build rules
* chore: Change wasmception init symbol
* chore: Assored cleanup
* fix: update g0 cache on preemption
* refactor: inline global vec in sandbox struct
* chore: trailing newline on JSON
* chore: Clean up extraneous file associations
* docs: Explain export and weak symbols
* docs: Remove comment
* refactor: Replace CHAR_BIT with limits.h
* refactor: Remove redundant unlikely define
* docs: Wasmception fn type checking disabled note
3 years ago
Sean McBride
e888a14e51
refactor: Eliminate sandbox request
3 years ago
Sean McBride
f4ede43b52
feat: WIP restage of memory allocation features
3 years ago
Sean McBride
3982c2db5a
build: Revert sledgert command
3 years ago
Sean McBride
43592da622
feat: signal tracking and pretty printing
3 years ago
Sean McBride
3a60134d44
refactor: scheduler cleanup
3 years ago
Sean McBride
f62ba1459b
build: Cleanup runtime Makefile
3 years ago
Sean McBride
613310d4c5
chore: disable debug flag
3 years ago
Sean McBride
815546852c
feat: Modified scheduler state machine
3 years ago
Sean McBride
ebf6dc2e84
refactor: Use C18 features
3 years ago
Sean McBride
1bb92816c8
docs: Remove zombie comment
3 years ago
Sean McBride
0846092782
build: Fix thirdparty linkage issues
3 years ago
Sean McBride
9d95308a57
build: Makefile cleanup
3 years ago
Emil
9778db645a
Fixed the Dynamic read of the Number of CPU Cores ( #261 )
...
* Fixed the Dynamic read of the Number of CPU Cores
Closes #260
* removed a commented line
* small changes per Sean's review
* Accomadate Gabe's comments:
- Validate runtime_worker_threads array before usage
- final cleanup
4 years ago
Sean McBride
6926d66183
chore: revert Makefile changes
4 years ago
Sean McBride
8603ea12db
feat: lpd using framework
4 years ago
Sean McBride
6b1dde7257
refactor: Clean up listener core locks and org
4 years ago
Sean McBride
3f18cf0cfc
feat: make preemption toggle runtime config
4 years ago
Sean McBride
cc4cc96cc3
feat: better test driver and more resilient tests
4 years ago
Sean McBride
02a15aeffb
chore: Add clang sanizer boilerplate
4 years ago
Sean McBride
661748afe4
feat: Basic memory profiling
4 years ago
Sean McBride
0bd5b5782f
chore: remove libuv
4 years ago
Sean McBride
5968d9b72e
feat: more explicit config logging and validation
4 years ago
Sean McBride
648ee411f9
chore: improve documentation of preempt_disable
4 years ago
Sean McBride
b5f63edfee
chore: Update logs and flags
4 years ago
Sean McBride
0307760810
chore: remove uv related prepocessor stuff
4 years ago
Sean McBride
8aef688553
feat: runtime configurable sandbox perf logging
4 years ago
Sean McBride
fbbcfe0792
chore: Remove configs that are now dynamic
4 years ago
Sean McBride
76b5346339
feat: Complete application experiment
4 years ago
Sean McBride
09834fb37f
chore: restore default NCORES
4 years ago
Sean McBride
7620179862
test: add concurrency experiment
4 years ago
Sean McBride
25d746c2e4
feat: WIP
4 years ago
Sean McBride
575d64eba8
chore: restore max cores
4 years ago
Sean McBride
2a82fe96f3
feat: get epoll implementation working
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
0e521668f8
feat: refactor workers for nonblocking sockets
4 years ago