Sean McBride
199914d69d
refactor: log procfs metrics status
3 years ago
Sean McBride
cdca93f317
chore: log HTTP Route Total Counters status
3 years ago
Sean McBride
2b5957c394
refactor: HTTP total counters
3 years ago
Sean McBride
69c2b4de29
Merge branch 'master' of github.com:gwsystems/sledge-serverless-framework into feat-prometheus
3 years ago
Sean McBride
51b3f74b5e
refactor: Remove LOG_LOCK_OVERHEAD reporting
3 years ago
Sean McBride
e40d139536
feat: metrics thread and proc stat
3 years ago
Emil
34e8731854
HTTP Log Tool and More Script Automations ( #354 )
...
* Added new HTTP Perf Log mechanism
(It measures http session lifetime, receive and send block durations)
Also:
- automated generation of spec.json
- combined HEY and LOADTEST scripts into one, optional
- refactor run.sh to be ready for the MTDBF
3 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
Sean McBride
7d7224a6a9
refactor: module pools
3 years ago
Sean McBride
162cdcd4bf
refactor: Remove debuglogs
3 years ago
Sean McBride
69a6cbaa46
fix: Correct tenant listen bug
3 years ago
Sean McBride
01cca785f4
feat: partial tenant implementation
3 years ago
Sean McBride
8f2f18722d
refactor: change load_file_into_buffer err
3 years ago
Sean McBride
ed048e1219
refactor: Remove extraneous assertion
3 years ago
Sean McBride
4a301588bb
fix: json_buf memory leak
3 years ago
Sean McBride
c9fc627375
fix: double free
3 years ago
Sean McBride
1457f6f2a8
refactor: init with module_config
3 years ago
Sean McBride
7f038f1269
refactor: jsonint parsing and module validation
3 years ago
Sean McBride
68bf915c02
refactor: Improve JSON validation logs
3 years ago
Sean McBride
e27ffa5620
refactor: break JSON parsing out from module.c
3 years ago
Sean McBride
b79eb44958
refactor: move JSON file loading from module
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
35b83ba090
refactor: Eliminate _new and _delete functions
3 years ago
Sean McBride
e888a14e51
refactor: Eliminate sandbox request
3 years ago
Sean McBride
43592da622
feat: signal tracking and pretty printing
3 years ago
Sean McBride
f3326dc929
refactor: sandbox perf log
3 years ago
Sean McBride
3a60134d44
refactor: scheduler 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
e4f0bcf8f7
refactor: streamline perf log logic
4 years ago
Sean McBride
dd9f7e1501
fix: Init on two cores
4 years ago
Sean McBride
a221d7938b
chore: shift off core 0
4 years ago
Sean McBride
758a1425b5
refactor: additional cleanup
4 years ago
Sean McBride
85856148e1
refactor: Additional cleanup
4 years ago
Sean McBride
064dac1aaf
refactor: assorted header cleanup
4 years ago
Sean McBride
d269c04c69
refactor: Namespace cleanup
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
eb4e5b276a
fix: Revert sigmask change
4 years ago
Sean McBride
b3e93a087e
feat: WIP implementation
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
124d1180bd
chore: Cleanup dl error handling
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
e771e7e1e0
feat: add memory to sandbox log
4 years ago
Sean McBride
8dd53dfd96
fix: Flush log on sigterm
4 years ago
Sean McBride
6e998a8143
fix: Ensure workers init before softints
4 years ago
Sean McBride
6554e6d1fe
fix: correct sloppy overflow
4 years ago
Sean McBride
a97fe31848
chore: Refactor processor speed to use int
4 years ago
Sean McBride
9767aec9ad
chore: refactor away DEBUG define
4 years ago