Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
88 commits
Select commit Hold shift + click to select a range
51950b6
Merge pull request #1 from gwsystems/slm_gap
WenyuanShao Aug 16, 2022
4303e01
use print component to do the print
WenyuanShao Aug 17, 2022
f0f22a9
push the ul-dispatch logic which is not included in previous commit
WenyuanShao Aug 25, 2022
8256672
modify thread creation and add allocation of asnd and arcv.
WenyuanShao Sep 8, 2022
2b09a07
finish creating arcv and asnd, start testing IPI
WenyuanShao Sep 10, 2022
4fb34d7
slite commit for merge
WenyuanShao Nov 11, 2022
0801e9f
Merge remote-tracking branch 'origin/main' into slm_gap
WenyuanShao Nov 11, 2022
434adda
Adding a test component for Slite which running on 2 cores
WenyuanShao Nov 15, 2022
83d4500
A working version of Slite on 64bit Composite single core
WenyuanShao Nov 20, 2022
3a82083
Merge remote-tracking branch 'upstream/slm_gap' into slm_gap
WenyuanShao Nov 20, 2022
913eb5c
manually resolve problems caused by merge with gwsystems/slm_gap.
WenyuanShao Nov 20, 2022
47c4193
resolve merge problem & fixed arcv
WenyuanShao Nov 21, 2022
ea1bf07
upload the Makefile of dcb lib
WenyuanShao Nov 22, 2022
45c5b54
upload the missing scb_mapping interface
WenyuanShao Nov 22, 2022
57d4300
Before merge, commit some prints for debug
WenyuanShao Nov 22, 2022
381ee8d
Merge remote-tracking branch 'upstream/main' into slm_gap
WenyuanShao Nov 22, 2022
5146f2c
Fix init_dcb_addr, now working with x86_64 multicore.
WenyuanShao Nov 24, 2022
c009385
Clean up debug message and improve some logic
WenyuanShao Nov 24, 2022
e1bbb33
optimizations made to enable slite
WenyuanShao Dec 7, 2022
3e98e63
fix scb related problem
WenyuanShao Dec 31, 2022
ed450c7
Merge remote-tracking branch 'upstream/main' into slm_gap
WenyuanShao Jan 1, 2023
461df2d
fix clobber list
WenyuanShao Jan 6, 2023
7c602ee
Merge remote-tracking branch 'upstream/main' into slm_gap
WenyuanShao Jan 15, 2023
789b721
First commit for merge with gwsystems/main
WenyuanShao Jan 15, 2023
b51b0e6
Small fixes:
WenyuanShao Jan 15, 2023
bc98ee4
hack in liveness table to make room for scb:
WenyuanShao Jan 16, 2023
3a1484f
Modify kernel to get current thd:
WenyuanShao Jan 30, 2023
75773bb
update fix of a werid issue which causes kernel can't find correct cu…
WenyuanShao Feb 26, 2023
6dbc3fa
clean up print outs in:
WenyuanShao Feb 26, 2023
4156f9c
more clean up
WenyuanShao Feb 26, 2023
8a3a032
small fixes in slite test.
WenyuanShao Mar 20, 2023
d8c0a85
small fixes related to cos_sched_sync
WenyuanShao Mar 20, 2023
9e80d43
fix print outs in slite test
WenyuanShao Mar 20, 2023
2510f8f
fix sometimes kernel can't find the current active thread
WenyuanShao Mar 26, 2023
de8f8e8
remove debug message
WenyuanShao Mar 26, 2023
9bb31cb
Merge remote-tracking branch 'upstream/beta' into slm_gap
WenyuanShao Mar 26, 2023
1c6d685
solve compile problmes when merge with beta
WenyuanShao Mar 26, 2023
1b32e45
address-space identifiers for use in SCB
evanstella Mar 27, 2023
4979f8e
Merge pull request #469 from evanstella/capmgr-address-space-ids
gparmer Mar 27, 2023
c638005
create seperate client/server components for syncipc
evanstella Apr 5, 2023
a6cf8f1
commit without clean for more eyes one the debug trap issue.
WenyuanShao Apr 10, 2023
0a95389
remove print regs
WenyuanShao Apr 10, 2023
b25e642
initial push for the fixe of the debug trap issue and wait for cleaning
WenyuanShao Apr 12, 2023
b0381ad
clean the debug messages
WenyuanShao Apr 12, 2023
ccb3020
rename unit test and improve print outs
WenyuanShao Apr 14, 2023
c269f0a
Merge remote-tracking branch 'upstream/beta' into slm_gap
WenyuanShao Apr 14, 2023
3398a61
ready for merge
WenyuanShao Apr 14, 2023
6012258
Merge pull request #470 from WenyuanShao/slm_gap
gparmer Apr 14, 2023
f07b926
mapping of scb
evanstella May 5, 2023
25b4185
Merge pull request #471 from evanstella/scb-ulk-mapping
gparmer May 5, 2023
caec22d
update merge and tid update:
WenyuanShao May 9, 2023
3824dbb
4 benchmark scripts
evanstella May 11, 2023
f6db303
Merge pull request #472 from evanstella/capmgr-address-space-ids
gparmer May 11, 2023
aa1e3d3
Add support for vas_id:
WenyuanShao May 15, 2023
7c959d9
Merge remote-tracking branch 'upstream/beta' into slm_gap
WenyuanShao May 15, 2023
587e8ed
Fix the r11 problem from the root.
WenyuanShao Jun 1, 2023
864659d
Add support for protected thread dispatch:
WenyuanShao Jun 18, 2023
7ee13fb
fix a typo
WenyuanShao Jun 18, 2023
ce3aeab
finish protected dispatch:
WenyuanShao Jun 28, 2023
7b2260f
Merge remote-tracking branch 'upstream/dev_debug' into slm_gap
WenyuanShao Jun 28, 2023
34dd854
debugging the contigous memory issue.
WenyuanShao Jul 6, 2023
1dbf3be
Try to fix the contigous memory allocation.
WenyuanShao Jul 8, 2023
fa3a2e8
Fix the initialization:
WenyuanShao Jul 9, 2023
894860a
Debugging multicore bootup:
WenyuanShao Jul 10, 2023
d9c1b4a
fix the risk in dcb for protected dispatch:
WenyuanShao Jul 12, 2023
1e770bf
make tid and thdcap in the same field in scb
WenyuanShao Jul 12, 2023
9727709
add a macro for disabling slite
WenyuanShao Jul 24, 2023
ffcabbe
Finishing the merge:
WenyuanShao Aug 3, 2023
8b933d9
merge
WenyuanShao Aug 3, 2023
5aa06d6
fix the merge so that it will work for normal Slite:
WenyuanShao Aug 7, 2023
d097407
fix some rdpids which haven't been changed:
WenyuanShao Aug 7, 2023
7bb0dce
fix an edge case happens when running on real hardware:
WenyuanShao Aug 10, 2023
32680d5
fix two issue:
WenyuanShao Sep 8, 2023
b896288
Merge remote-tracking branch 'upstream/dev_debug' into debug
WenyuanShao Sep 12, 2023
7ee9b96
fix two bugs and finishing the merge:
WenyuanShao Sep 19, 2023
676cbea
remove debug messages and ready for PR
WenyuanShao Sep 19, 2023
af4ae6f
Fix a few small issues to make a working version for application test
WenyuanShao Sep 23, 2023
683ff71
backup push
WenyuanShao Sep 26, 2023
51b5c6c
update shared buffer size.
WenyuanShao Sep 29, 2023
91d28e3
fix the memory problem on the hardware:
WenyuanShao Jan 10, 2024
c62768d
fix a type problem which cases can't map over 8GB of memory.
WenyuanShao Jan 24, 2024
0478120
Fixing memery issues:
WenyuanShao Jan 30, 2024
62d2737
fix udp_echo_test and update COS_MEM_KERN_PA_ORDER to 35 to fix the p…
WenyuanShao Feb 7, 2024
ceec242
fix the syscall to allow 64 bit return values, therefore fix packet r…
WenyuanShao Feb 23, 2024
a4fa21e
push updates till now. This contains some raw changes which might for…
WenyuanShao May 10, 2024
a4a295a
push changes:
WenyuanShao Jun 3, 2024
c336d61
before merge with patina, backup
WenyuanShao Oct 7, 2024
da495a4
update
WenyuanShao May 30, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@
branch = cos_stable_2_1_x
[submodule "src/components/lib/memcached/memcached"]
path = src/components/lib/memcached/memcached
url = https://github.com/betahxy/memcached
url = https://github.com/WenyuanShao/memcached
branch = cos_memcached
4 changes: 2 additions & 2 deletions composition_scripts/bench_dpdk.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ constructor = "booter"

[[components]]
name = "sched"
img = "sched.root_fprr"
img = "sched.pfprr_quantum_static"
deps = [{srv = "capmgr", interface = "init"}, {srv = "capmgr", interface = "capmgr"}, {srv = "capmgr", interface = "memmgr"}]
implements = [{interface = "sched"}, {interface = "init"}]
constructor = "booter"
Expand All @@ -27,4 +27,4 @@ name = "dpdk"
img = "tests.bench_dpdk"
deps = [{srv = "sched", interface = "sched"}, {srv = "sched", interface = "init"}, {srv = "capmgr", interface = "capmgr_create"}, {srv = "capmgr", interface = "memmgr"}, {srv = "capmgr", interface = "contigmem"}]
baseaddr = "0x1600000"
constructor = "booter"
constructor = "booter"
38 changes: 38 additions & 0 deletions composition_scripts/bench_syncipc_seperate_vases.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
[system]
description = "Synchronous IPC between threads test."

[[components]]
name = "booter"
img = "no_interface.llbooter"
implements = [{interface = "init"}, {interface = "addr"}]
deps = [{srv = "kernel", interface = "init", variant = "kernel"}]
constructor = "kernel"

[[components]]
name = "capmgr"
img = "capmgr.simple"
deps = [{srv = "booter", interface = "init"}, {srv = "booter", interface = "addr"}]
implements = [{interface = "capmgr"}, {interface = "init"}, {interface = "memmgr"}, {interface = "capmgr_create"}]
constructor = "booter"

[[components]]
name = "sched"
img = "sched.pfprr_quantum_static"
deps = [{srv = "capmgr", interface = "init"}, {srv = "capmgr", interface = "capmgr"}, {srv = "capmgr", interface = "memmgr"}]
implements = [{interface = "sched"}, {interface = "syncipc"}, {interface = "init"}]
constructor = "booter"

[[components]]
name = "client"
img = "tests.bench_syncipc_cli"
deps = [{srv = "sched", interface = "sched"}, {srv = "sched", interface = "init"}, {srv = "sched", interface = "syncipc"}, {srv = "capmgr", interface = "capmgr_create"}]
constructor = "booter"
baseaddr = "0x1600000"

[[components]]
name = "server"
img = "tests.bench_syncipc_srv"
deps = [{srv = "sched", interface = "sched"}, {srv = "sched", interface = "init"}, {srv = "sched", interface = "syncipc"}, {srv = "capmgr", interface = "capmgr_create"}]
constructor = "booter"


43 changes: 43 additions & 0 deletions composition_scripts/bench_syncipc_single_vas.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
[system]
description = "Synchronous IPC between threads test."

[[components]]
name = "booter"
img = "no_interface.llbooter"
implements = [{interface = "init"}, {interface = "addr"}]
deps = [{srv = "kernel", interface = "init", variant = "kernel"}]
constructor = "kernel"

[[components]]
name = "capmgr"
img = "capmgr.simple"
deps = [{srv = "booter", interface = "init"}, {srv = "booter", interface = "addr"}]
implements = [{interface = "capmgr"}, {interface = "init"}, {interface = "memmgr"}, {interface = "capmgr_create"}]
constructor = "booter"

[[components]]
name = "sched"
img = "sched.pfprr_quantum_static"
deps = [{srv = "capmgr", interface = "init"}, {srv = "capmgr", interface = "capmgr"}, {srv = "capmgr", interface = "memmgr"}]
implements = [{interface = "sched"}, {interface = "syncipc"}, {interface = "init"}]
constructor = "booter"

[[components]]
name = "client"
img = "tests.bench_syncipc_cli"
deps = [{srv = "sched", interface = "sched"}, {srv = "sched", interface = "init"}, {srv = "sched", interface = "syncipc"}, {srv = "capmgr", interface = "capmgr_create"}]
constructor = "booter"
baseaddr = "0x1600000"

[[components]]
name = "server"
img = "tests.bench_syncipc_srv"
deps = [{srv = "sched", interface = "sched"}, {srv = "sched", interface = "init"}, {srv = "sched", interface = "syncipc"}, {srv = "capmgr", interface = "capmgr_create"}]
constructor = "booter"


[[address_spaces]]
name = "system"
components = ["capmgr", "sched", "client", "server"]


56 changes: 56 additions & 0 deletions composition_scripts/bench_syncipc_split_vases.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
[system]
description = "Synchronous IPC between threads test."

[[components]]
name = "booter"
img = "no_interface.llbooter"
implements = [{interface = "init"}, {interface = "addr"}]
deps = [{srv = "kernel", interface = "init", variant = "kernel"}]
constructor = "kernel"

[[components]]
name = "capmgr"
img = "capmgr.simple"
deps = [{srv = "booter", interface = "init"}, {srv = "booter", interface = "addr"}]
implements = [{interface = "capmgr"}, {interface = "init"}, {interface = "memmgr"}, {interface = "capmgr_create"}]
constructor = "booter"

[[components]]
name = "sched"
img = "sched.pfprr_quantum_static"
deps = [{srv = "capmgr", interface = "init"}, {srv = "capmgr", interface = "capmgr"}, {srv = "capmgr", interface = "memmgr"}]
implements = [{interface = "sched"}, {interface = "syncipc"}, {interface = "init"}]
constructor = "booter"

[[components]]
name = "client"
img = "tests.bench_syncipc_cli"
deps = [{srv = "sched", interface = "sched"}, {srv = "sched", interface = "init"}, {srv = "sched", interface = "syncipc"}, {srv = "capmgr", interface = "capmgr_create"}, {srv = "pong", interface = "pong"}]
constructor = "booter"

[[components]]
name = "server"
img = "tests.bench_syncipc_srv"
deps = [{srv = "sched", interface = "sched"}, {srv = "sched", interface = "init"}, {srv = "sched", interface = "syncipc"}, {srv = "capmgr", interface = "capmgr_create"}, {srv = "pong", interface = "pong"}]
constructor = "booter"

[[components]]
name = "pong"
img = "pong.pingpong"
deps = [{srv = "sched", interface = "init"}, {srv = "capmgr", interface = "capmgr_create"}]
implements = [{interface = "pong"}]
constructor = "booter"

[[address_spaces]]
name = "system"
components = ["capmgr", "sched"]

[[address_spaces]]
name = "bench"
components = ["client", "server"]
parent = "system"

[[address_spaces]]
name = "pong"
components = ["pong"]
parent = "system"
47 changes: 47 additions & 0 deletions composition_scripts/bench_syncipc_split_vases2.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
[system]
description = "Synchronous IPC between threads test."

[[components]]
name = "booter"
img = "no_interface.llbooter"
implements = [{interface = "init"}, {interface = "addr"}]
deps = [{srv = "kernel", interface = "init", variant = "kernel"}]
constructor = "kernel"

[[components]]
name = "capmgr"
img = "capmgr.simple"
deps = [{srv = "booter", interface = "init"}, {srv = "booter", interface = "addr"}]
implements = [{interface = "capmgr"}, {interface = "init"}, {interface = "memmgr"}, {interface = "capmgr_create"}]
constructor = "booter"

[[components]]
name = "sched"
img = "sched.pfprr_quantum_static"
deps = [{srv = "capmgr", interface = "init"}, {srv = "capmgr", interface = "capmgr"}, {srv = "capmgr", interface = "memmgr"}]
implements = [{interface = "sched"}, {interface = "syncipc"}, {interface = "init"}]
constructor = "booter"

[[components]]
name = "client"
img = "tests.bench_syncipc_cli"
deps = [{srv = "sched", interface = "sched"}, {srv = "sched", interface = "init"}, {srv = "sched", interface = "syncipc"}, {srv = "capmgr", interface = "capmgr_create"}]
constructor = "booter"
baseaddr = "0x1600000"

[[components]]
name = "server"
img = "tests.bench_syncipc_srv"
deps = [{srv = "sched", interface = "sched"}, {srv = "sched", interface = "init"}, {srv = "sched", interface = "syncipc"}, {srv = "capmgr", interface = "capmgr_create"}]
constructor = "booter"


[[address_spaces]]
name = "system"
components = ["capmgr", "sched", "server"]

[[address_spaces]]
name = "bench"
components = ["client"]
parent = "system"

52 changes: 52 additions & 0 deletions composition_scripts/bench_syncipc_split_vases3.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
[system]
description = "Synchronous IPC between threads test."

[[components]]
name = "booter"
img = "no_interface.llbooter"
implements = [{interface = "init"}, {interface = "addr"}]
deps = [{srv = "kernel", interface = "init", variant = "kernel"}]
constructor = "kernel"

[[components]]
name = "capmgr"
img = "capmgr.simple"
deps = [{srv = "booter", interface = "init"}, {srv = "booter", interface = "addr"}]
implements = [{interface = "capmgr"}, {interface = "init"}, {interface = "memmgr"}, {interface = "capmgr_create"}]
constructor = "booter"

[[components]]
name = "sched"
img = "sched.pfprr_quantum_static"
deps = [{srv = "capmgr", interface = "init"}, {srv = "capmgr", interface = "capmgr"}, {srv = "capmgr", interface = "memmgr"}]
implements = [{interface = "sched"}, {interface = "syncipc"}, {interface = "init"}]
constructor = "booter"

[[components]]
name = "client"
img = "tests.bench_syncipc_cli"
deps = [{srv = "sched", interface = "sched"}, {srv = "sched", interface = "init"}, {srv = "sched", interface = "syncipc"}, {srv = "capmgr", interface = "capmgr_create"}]
constructor = "booter"
baseaddr = "0x1600000"

[[components]]
name = "server"
img = "tests.bench_syncipc_srv"
deps = [{srv = "sched", interface = "sched"}, {srv = "sched", interface = "init"}, {srv = "sched", interface = "syncipc"}, {srv = "capmgr", interface = "capmgr_create"}]
constructor = "booter"


[[address_spaces]]
name = "system"
components = ["capmgr", "sched"]

[[address_spaces]]
name = "server"
components = ["server"]
parent = "system"

[[address_spaces]]
name = "client"
components = ["client"]
parent = "system"

30 changes: 27 additions & 3 deletions composition_scripts/ping_pong.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,45 @@ description = "Simple system: the ping pong test for IPC, and initialization ord
[[components]]
name = "booter"
img = "no_interface.llbooter"
implements = [{interface = "init"}]
implements = [{interface = "init"}, {interface = "addr"}]
deps = [{srv = "kernel", interface = "init", variant = "kernel"}]
constructor = "kernel"

[[components]]
name = "capmgr"
img = "capmgr.simple"
deps = [{srv = "booter", interface = "init"}, {srv = "booter", interface = "addr"}]
implements = [{interface = "capmgr"}, {interface = "init"}, {interface = "memmgr"}, {interface = "capmgr_create"}]
constructor = "booter"

[[components]]
name = "sched"
img = "sched.pfprr_quantum_static"
deps = [{srv = "capmgr", interface = "init"}, {srv = "capmgr", interface = "capmgr"}, {srv = "capmgr", interface = "memmgr"}]
implements = [{interface = "sched"}, {interface = "init"}]
constructor = "booter"

[[components]]
name = "ping"
img = "tests.unit_pingpong"
deps = [{srv = "pong", interface = "pong"},
{srv = "booter", interface = "init"}]
{srv = "sched", interface = "init"}, {srv = "capmgr", interface = "capmgr_create"}]
baseaddr = "0x1600000"
constructor = "booter"

[[components]]
name = "pong"
img = "pong.pingpong"
deps = [{srv = "booter", interface = "init"}]
deps = [{srv = "sched", interface = "init"}, {srv = "capmgr", interface = "capmgr_create"}]
implements = [{interface = "pong"}]
constructor = "booter"

#[[address_spaces]]
#name = "system"
#components = ["capmgr", "sched"]

#[[address_spaces]]
#name = "bench"
#components = ["ping", "pong"]
#parent = "system"

Loading