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
11 months ago
Sean McBride
eb74a306ff
Wasm traps ( #301 )
...
* 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: cleanup basic traps logic
* test: trap_divzero
* fix: Correct inverted trap control flow
* ci: Invalidate awsm cache
* ci: divide by zero trap
* chore: Assorted cleanup
* ci: Install httpie
* chore: Remove stdio calls in libsledge
* chore: update submodules
3 years ago
Sean McBride
522809de8d
chore: pin clang-format 11
3 years ago
Sean McBride
84820219e0
format: clang-format
3 years ago
Sean McBride
45e44d51de
feat: enable direct fast switch between sandboxes
3 years ago
Sean McBride
b8364bd53e
refactor: Remove preemptable
4 years ago
Sean McBride
7e85bb4c59
refactor: more semantic names
4 years ago
Sean McBride
a61ac83575
chore: remove FIXME
4 years ago
Sean McBride
ebf6dc2e84
refactor: Use C18 features
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
0f0d0fcb18
feat: rework of scheduler logic
4 years ago
Sean McBride
91c429cd8f
feat: simplified sigalrms
4 years ago
Sean McBride
d269c04c69
refactor: Namespace cleanup
4 years ago
Sean McBride
faacc5c785
refactor: http header cleanup
4 years ago
Sean McBride
8567da117b
chore: decompose arch context t
4 years ago
Sean McBride
f42ada6eca
refactor: Decompose arch common header
4 years ago
Sean McBride
6b1dde7257
refactor: Clean up listener core locks and org
4 years ago
Sean McBride
65e8b27775
chore: Mask ARM source if not AARCH64 not defined
4 years ago
Sean McBride
1a828a4a40
chore: Add issue for context restore new
4 years ago
Sean McBride
57af991ecc
chore: add issue for fixme
4 years ago
Sean McBride
978b692452
fix: correct assorted bugs
4 years ago
Sean McBride
bcb00b4e1c
chore: log invalid context
4 years ago
Sean McBride
81e3a88a1f
chore: fix case on enums
5 years ago
phani
1370c9f3e1
changes in aarch64 for context variant
...
* Tested fibonacci with 10 and 20 seperately
* Tested fibonacci multi that are in tests/preemption with client1 and
client2 requests.
* Observed a bug in the response: The respone also includes request
headers/body in it, needs to be addressed.
5 years ago
Sean McBride
cc88f82958
docs: clarify context switch documentation
5 years ago
Sean McBride
3aba285862
refactor: namespace to arch_context_variant
5 years ago
Sean McBride
8b199f702e
chore: remove extra consistency check
5 years ago
Sean McBride
61fd015254
docs: add commet to mcontext restore
5 years ago
Sean McBride
fdba1b1de8
feat: error check context variants
5 years ago
Sean McBride
8c3ccc8f14
docs: fix zombie comment
5 years ago
Sean McBride
859e87f425
refactor: remove extraneous zeroing out
5 years ago
Sean McBride
3f4567ea6e
docs: remove restore comment about IP of 0
5 years ago
Sean McBride
24beddd369
docs: preemption does not use fastpasth restore
5 years ago
Sean McBride
5dc987c301
chore: remove extra memset
5 years ago
Sean McBride
42566b1c6e
chore: comment context variants and use running
5 years ago
Sean McBride
9dc6d8dd8a
refactor: arch_context_unused error handling
5 years ago
Sean McBride
9a963f1d0c
refactor: rename confusing function name
5 years ago
Sean McBride
f51fd1ef80
docs: remove redundant comment
5 years ago
Sean McBride
7919dff0ba
refactor: decapitalize enums
5 years ago
Sean McBride
64dc49a0fc
docs: Justify additional common.h file
5 years ago
Sean McBride
68c767254a
docs: fix case in comment
5 years ago
Sean McBride
31c3a9329a
refactor: rename QUICK to FAST
5 years ago
Sean McBride
47672b4c93
fix: correct bugs
5 years ago
Sean McBride
b979809c12
chore: fix debuglog usage
5 years ago
Sean McBride
2db5f84f11
chore: Initial buggy port
5 years ago
Sean McBride
236e39b263
refactor: DRY arch_context code
5 years ago
Sean McBride
1ae6acbbee
fix: correct bug and harden error handling
5 years ago
Sean McBride
2b161f2f86
refactor: move mcontext_restore to arch_context
5 years ago
Sean McBride
d1f80d8b1e
chore: port simple doc and error handlign
5 years ago