Sean McBride
56f32ec44b
refactor: HTTP memstreams ( #363 )
...
* feat: response body memstream
* feat: auto_buf response header
* chore: format nit
* feat: request memstream
* removed zombie http-req-size from README files
* fix panic typos
* Update parser structure with the new http_body start address when buffer is moved by memstream
* fix case when header_length is zero at the beginning
Co-authored-by: emil <emil916@gmail.com>
2 years ago
Sean McBride
63e38f0e7c
chore: PERF_WINDOW_CAPACITY scripts
2 years ago
Sean McBride
e011912bdf
Merge pull request #360 from gwsystems/359-perf-window
...
refactor: perf_window
2 years ago
Sean McBride
5f2fff0db2
chore: add expected_result
2 years ago
Sean McBride
6d1b2f8d50
feat: Add cmu-sod app
2 years ago
Sean McBride
3a86893a57
refactor: target simplified cmu-sod
2 years ago
Sean McBride
42a16bf2ee
refactor: perf_window
2 years ago
Sean McBride
08e87492c0
feat: port cmu-sod app
2 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
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
19eb58ad6a
Merge pull request #343 from gwsystems/writeback-on-block
...
refactor: no http_session in sandbox lifetime.
3 years ago
Sean McBride
5fa65d2f0b
fix: correct flush when zero blocking
3 years ago
Sean McBride
b803befa0a
test: test concurrent access to key
3 years ago
Sean McBride
32248f11be
fix: Correct upsert bug
3 years ago
Sean McBride
e5b222d83d
feat: Initial scratch storage implementation
3 years ago
Sean McBride
39aad94ae4
refactor: Better handle non-null terminated string
3 years ago
Sean McBride
c1dcc7b176
chore: alignment debugging
3 years ago
Sean McBride
38532dec63
Merge branch 'master' of github.com:gwsystems/sledge-serverless-framework into http-parsing-listener
3 years ago
Sean McBride
e08cf72aa1
chore: Assorted bash experiment cleanup
3 years ago
Sean McBride
c559fc850d
test: image classification
3 years ago
Sean McBride
099aed1be2
test: other tests
3 years ago
Sean McBride
b8732147a9
test: lpd by plate count
3 years ago
Sean McBride
308e6dd109
test: image_resize
3 years ago
Sean McBride
ff0aafbd5e
test: html
3 years ago
Sean McBride
1e7b95c25c
test: gocr by_word
3 years ago
Sean McBride
625d9a7f32
test: gocr by font
3 years ago
Sean McBride
e87fe8ddcf
test: gocr by_dpi
3 years ago
Sean McBride
3b05fb647c
test: empty
3 years ago
Sean McBride
81b78fe395
test: deadline description
3 years ago
Sean McBride
b346cd1cce
test: fivebyeight
3 years ago
Sean McBride
6a7d2c3c05
test: handwriting
3 years ago
Sean McBride
a11136f899
test: hyde
3 years ago
Sean McBride
231096682a
test: fib bimodal spec
3 years ago
Sean McBride
05dde38ea2
feat: dynamic http buffers
3 years ago
Sean McBride
42b42e0f1c
test: imageclassification tenant
3 years ago
Sean McBride
01cca785f4
feat: partial tenant implementation
3 years ago
Sean McBride
6965b2906d
feat: Preliminary routes
3 years ago
Sean McBride
423e11c036
Merge branch 'master' of github.com:gwsystems/sledge-serverless-framework into json-refactor
3 years ago
Sean McBride
68bf915c02
refactor: Improve JSON validation logs
3 years ago
Sean McBride
69bdf5b49b
feat: grow local runqueue if full
3 years ago
Sean McBride
39b7209b6c
chore: Cleanup html makefile
3 years ago
Sean McBride
135ba6105f
chore: update wasm apps
3 years ago
Sean McBride
7a9b2ce938
feat: linear memory OOB via SIGSEGV handler
3 years ago
Sean McBride
62a8dafa7c
feat: sigfpe wasm traps
3 years 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
a5c8374b51
test: restore C fib
3 years ago
Sean McBride
20bc6cee86
test: assemblyscript fib
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
010f454092
fix: fib test make
3 years ago