Emil
beed67cea0
remove epoll from workers ( #365 )
2 years ago
Sean McBride
ccbee1a41e
feat: Additional counters and gauges
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
211f04ae67
refactor: rename to local_cleanup_queue
3 years ago
Sean McBride
c1dcc7b176
chore: alignment debugging
3 years ago
Sean McBride
d72f810567
feat: nonblocking request reads
3 years ago
Sean McBride
c3d0fe375a
refactor: parsing and validation
3 years ago
Sean McBride
576f65d846
refactor: http_router and session
3 years ago
Sean McBride
69a6cbaa46
fix: Correct tenant listen bug
3 years ago
Sean McBride
7f038f1269
refactor: jsonint parsing and module validation
3 years ago
Sean McBride
e27ffa5620
refactor: break JSON parsing out from module.c
3 years ago
Sean McBride
135ba6105f
chore: update wasm apps
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
a446ed077a
Merge branch 'spec-alignment-2' of github.com:gwsystems/sledge-serverless-framework into object-pool
3 years ago
Sean McBride
57d95388b1
refactor: wasm_table
3 years ago
Sean McBride
b3dc7db31c
feat: wasm_stack object pool
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
06910736d1
feat: Improved sandbox timekeeping
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
815546852c
feat: Modified scheduler state machine
3 years ago
Sean McBride
7387a69f2d
refactor: module and ABI interface
3 years ago
Sean McBride
8578176b98
refactor: move WASM macros to wasm_types.h
3 years ago
Sean McBride
3473d3dc7f
chore: stop hiding wasmception
4 years ago
Sean McBride
6df2aadc61
chore: fix line ending issue
4 years ago
Sean McBride
0f0d0fcb18
feat: rework of scheduler logic
4 years ago
Sean McBride
38d9093880
chore: vscode file association
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
6b1dde7257
refactor: Clean up listener core locks and org
4 years ago
Sean McBride
de8def59cc
chore: rlimit cleanup
4 years ago
Sean McBride
b3e93a087e
feat: WIP implementation
4 years ago
Sean McBride
9204ab8f16
chore: remove results from watcher exclude
4 years ago
Sean McBride
5e810df0a1
chore: formatting nits
4 years ago
Sean McBride
16153b997c
chore: Use bash interactively
4 years ago
Sean McBride
de5ee9af53
chore: Apply shfmt to shell scripts
4 years ago
Sean McBride
bf35467bf8
feat: VSCode build container and visual debugging
4 years ago