|
|
@2af1943
|
2 years |
Thierry Delisle |
Small improvements to some of the alignment requirements in CFA runtime.
ADTast-experimentalpthread-emulation
|
|
|
@7affcda
|
2 years |
Thierry Delisle |
Fixed a bug where io wouldn't drain everything if the completion queue …
ADTast-experimentalpthread-emulationqualifiedEnum
|
|
|
@b035046
|
2 years |
Thierry Delisle |
changed some MAX to ULLONG_MAX to avoid the memory access where …
ADTast-experimentalpthread-emulationqualifiedEnum
|
|
|
@108345a
|
2 years |
Thierry Delisle |
visbility for io
ADTast-experimentalpthread-emulationqualifiedEnum
|
|
|
@8a5e357
|
2 years |
Thierry Delisle |
Trivial changes to libcfa concurrency
ADTast-experimentalpthread-emulationqualifiedEnum
|
|
|
@bdfd0bd
|
2 years |
Thierry Delisle |
EINTR will no longer wakeup the idle_sleep.
ADTast-experimentalenumpthread-emulationqualifiedEnum
|
|
|
@729df21
|
2 years |
Thierry Delisle |
Merge branch 'master' of plg.uwaterloo.ca:software/cfa/cfa-cc
ADTast-experimentalenumpthread-emulationqualifiedEnum
|
|
|
@d28b70a
|
2 years |
Thierry Delisle |
Now also keep track of last drain time
ADTast-experimentalenumpthread-emulationqualifiedEnum
|
|
|
@d4da1535
|
2 years |
Thierry Delisle |
Merge branch 'master' of plg.uwaterloo.ca:software/cfa/cfa-cc
ADTast-experimentalenumpthread-emulationqualifiedEnum
|
|
|
@edf247b
|
2 years |
Thierry Delisle |
Fix debug print
ADTast-experimentalenumpthread-emulationqualifiedEnum
|
|
|
@262fafd9
|
2 years |
Thierry Delisle |
Added debugging information to help find deadlock.
ADTast-experimentalenumpthread-emulationqualifiedEnum
|
|
|
@010636f
|
2 years |
Thierry Delisle |
Tentative fix for termination deadlock.
Other minor improvements and …
ADTast-experimentalenumpthread-emulationqualifiedEnum
|
|
|
@ff55092
|
2 years |
Thierry Delisle |
removed warning
ADTast-experimentalenumpthread-emulationqualifiedEnum
|
|
|
@1e6ffb44
|
2 years |
Thierry Delisle |
Changed debug prints to help debug helping
ADTast-experimentalenumpthread-emulationqualifiedEnum
|
|
|
@d5cdbed
|
2 years |
Thierry Delisle |
Fix build from machine where I can actually test
ADTast-experimentalenumpthread-emulationqualifiedEnum
|
|
|
@37a3aa23
|
2 years |
Thierry Delisle |
Fixed syntax error (hopefully)
ADTast-experimentalenumpthread-emulationqualifiedEnum
|
|
|
@18f7858
|
2 years |
Thierry Delisle |
Refactored io to allow holding the lock duirng idle sleep
ADTast-experimentalenumpthread-emulationqualifiedEnum
|
|
|
@54c1196
|
2 years |
Thierry Delisle |
Added io helping stats
ADTast-experimentalenumpthread-emulationqualifiedEnum
|
|
|
@3caf5e3
|
2 years |
Thierry Delisle |
Re-read cq information after acquire. Hoping this is the cause for the …
ADTast-experimentalenumpthread-emulationqualifiedEnum
|
|
|
@4479890
|
2 years |
Thierry Delisle |
Implemented helping for io drain based on timestamps.
ADTast-experimentalenumpthread-emulationqualifiedEnum
|
|
|
@78a580d
|
2 years |
Thierry Delisle |
I/O now updates the timestamps when draining.
Timestamps are not used yet.
ADTast-experimentalenumpthread-emulationqualifiedEnum
|
|
|
@4ecc35a
|
2 years |
Thierry Delisle |
Added spin lock to io drain.
last step before completion fairness
ADTast-experimentalenumpthread-emulationqualifiedEnum
|
|
|
@708ae38
|
2 years |
Thierry Delisle |
Some more cleanup and grow/shrink now readjusts io timestamps.
(They …
ADTast-experimentalenumpthread-emulationqualifiedEnum
|
|
|
@d529ad0
|
2 years |
Thierry Delisle |
Pending/Dirty? flags now use relaxed atomics since they can be set remotely
ADTast-experimentalenumpthread-emulationqualifiedEnum
|
|
|
@9f5a71eb
|
2 years |
Thierry Delisle |
Totally confusing myself in these commit messages.
This file was …
ADTast-experimentalenumpthread-emulationqualifiedEnum
|
|
|
@2432e8e
|
2 years |
Thierry Delisle |
Fixed deadlock on io slowpath due to spin lock recursion.
ADTast-experimentalenumpthread-emulationqualifiedEnum
|
|
|
@70b4aeb9
|
3 years |
Thierry Delisle |
Commit last changes before moving off plg7a
ADTast-experimentalenumforall-pointer-decaypthread-emulationqualifiedEnum
|
|
|
@175f9f4
|
3 years |
Thierry Delisle |
Merge branch 'master' of plg.uwaterloo.ca:software/cfa/cfa-cc
ADTast-experimentalenumforall-pointer-decaypthread-emulationqualifiedEnum
|
|
|
@21a5bfb7
|
3 years |
Thierry Delisle |
Removed unnecessary syscalls
ADTast-experimentalenumforall-pointer-decaypthread-emulationqualifiedEnum
|
|
|
@078fb05
|
3 years |
Thierry Delisle |
Fixed a few warnings
ADTast-experimentalenumforall-pointer-decaypthread-emulationqualifiedEnum
|
|
|
@d3605f8
|
3 years |
Thierry Delisle |
Reworked io_uring idle sleep to work with either read or readv …
ADTast-experimentalenumforall-pointer-decaypthread-emulationqualifiedEnum
|
|
|
@a1f3d93
|
3 years |
Thierry Delisle |
Merge branch 'master' of plg.uwaterloo.ca:software/cfa/cfa-cc
ADTast-experimentalenumforall-pointer-decaypthread-emulationqualifiedEnum
|
|
|
@c7b2215
|
3 years |
Thierry Delisle |
Fix implementation of io_uring_enter instead of eventfds.
ADTast-experimentalenumforall-pointer-decaypthread-emulationqualifiedEnum
|
|
|
@2514f68b
|
3 years |
Thierry Delisle |
Missed a not (!)
ADTast-experimentalenumforall-pointer-decaypthread-emulationqualifiedEnum
|
|
|
@6ddef36
|
3 years |
Thierry Delisle |
No longer define kernel_read when not needed.
ADTast-experimentalenumforall-pointer-decaypthread-emulationqualifiedEnum
|
|
|
@7ef162b2
|
3 years |
Thierry Delisle |
First attempt at using io_uring_enter for idle sleep.
ADTast-experimentalenumforall-pointer-decaypthread-emulationqualifiedEnum
|
|
|
@059ad16
|
3 years |
Thierry Delisle |
Flush now supports blocking until at least one I/O op terminates.
ADTast-experimentalenumforall-pointer-decaypthread-emulationqualifiedEnum
|
|
|
@e8ac228
|
3 years |
Thierry Delisle |
Fix major bug where to few items were submitted.
ADTast-experimentalenumforall-pointer-decaypthread-emulationqualifiedEnum
|
|
|
@45c9441
|
3 years |
Thierry Delisle |
Fix lock in io.cfa
ADTast-experimentalenumforall-pointer-decaypthread-emulationqualifiedEnum
|
|
|
@24e321c
|
3 years |
Thierry Delisle |
Unpark now takes a hint on locality.
ADTast-experimentalenumforall-pointer-decaypthread-emulationqualifiedEnum
|
|
|
@e84ab3d
|
3 years |
Thierry Delisle |
Step 1 of changing $thread to thread$
ADTast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@43784ac
|
3 years |
Thierry Delisle |
Changed libcfathread to consistently define _GNU_SOURCE
ADTast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@d36bac7
|
3 years |
Thierry Delisle |
Drain on I/O
Added (commented) hack to prevent workstealing when pushing.
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@e9c0b4c
|
3 years |
Thierry Delisle |
I/O drain now keeps the schedlock for the duration of the call. …
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@a3821fa
|
3 years |
Thierry Delisle |
Changed enable interrupts:
- no longer save the caller for debugging
…
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@c1c95b1
|
3 years |
Thierry Delisle |
io_drain now returns true if anything was unparked
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@11054eb
|
3 years |
Thierry Delisle |
Fix io to no longer use monitors since some usages aren't in threads
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@dddb3dd0
|
3 years |
Thierry Delisle |
Changed io to use ring per kernel threads.
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@150d21a
|
4 years |
Thierry Delisle |
Fixed clashing stat counter.
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@4c4d854
|
4 years |
Thierry Delisle |
Fixed broken initialization and add verify.
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@d60d30e
|
4 years |
Thierry Delisle |
Fixed statistic for new io approach
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@78da4ab
|
4 years |
Thierry Delisle |
New implementation of io based on instance burrowing.
Trying to avoid …
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@2fab24e3
|
4 years |
Thierry Delisle |
Fixed some warnings and printing.
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@d611995
|
4 years |
Thierry Delisle |
Fix crash on cluster exit.
(Added epoch based blocking to iopoll.)
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@b8b0de0c
|
4 years |
Thierry Delisle |
Removed temporary debug abort that caused plg7a's untimely death
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@ec19b21
|
4 years |
Thierry Delisle |
Fixed compile for older versions of io_uring
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@7dafb7b
|
4 years |
Thierry Delisle |
Moved zeroing-out of sqes to call.cfa
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@35285fd
|
4 years |
Thierry Delisle |
Refactor sqe reclamation to systematically thrash the sqe in debug
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@d48b174
|
4 years |
Thierry Delisle |
clean-up handling of epoll so it's limited to one file
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@426f60c
|
4 years |
Thierry Delisle |
Web server seems to work
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@ece0e80
|
4 years |
Thierry Delisle |
Added prints.
Naive implementation of cancel.
Server now shutdown cleanly.
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@fe9468e2
|
4 years |
Thierry Delisle |
Added function thread_rand as a tls-safe version of tls_rand()
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@8fc652e0
|
4 years |
Thierry Delisle |
Change usage of TLS to more strongly segregate in kernel and out of …
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@b982fb2
|
4 years |
pabuhr |
add cast to syscall 0p to disambiguate between dtype and ftype 0p
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@b4b63e8
|
4 years |
Thierry Delisle |
Fixed missing changes to park/unpark.
Added canary to threads to check …
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@e235429
|
4 years |
Thierry Delisle |
Removed last parker/unparker information is it was not particularly useful
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@c402739f
|
4 years |
Thierry Delisle |
I/O operations now use futures.
io calls implementation are now …
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@93526ef
|
4 years |
Thierry Delisle |
Fixed assertion due to typo in IO
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@d2b5d2d
|
4 years |
Thierry Delisle |
Set leader lock as default for I/O, which seems the better default
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@1095ccd
|
4 years |
Thierry Delisle |
Added support for partial submit strategy
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@dcb5f8d
|
4 years |
Thierry Delisle |
Added statistics for the number of times io_ctxs blocked
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@2fafe7e
|
4 years |
Thierry Delisle |
Changed eager submit to use a leader-lock rather than a regular …
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@4998155
|
4 years |
Thierry Delisle |
I/O now uses onshot semaphore instead of raw park/unpark.
I/O now uses …
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@309d814
|
4 years |
Thierry Delisle |
Added lock around system call in eager mode, since system call has …
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@be36ec3
|
4 years |
Thierry Delisle |
No longer hold the submit lock when doing the io_uring_enter system call
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@eafec07
|
4 years |
Thierry Delisle |
More pointer fixes
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@3e2b9c9
|
4 years |
Thierry Delisle |
More restructuring of translation units
Unclear if it improves …
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@e660761
|
4 years |
Thierry Delisle |
First attempt at reducing complation time by restructuring the code. …
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@f00b26d4
|
4 years |
Thierry Delisle |
Re-worked IO to use epoll and support multiple io_contexts per …
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@5751a56
|
4 years |
Thierry Delisle |
Changed handling of io_uring support to handle op codes in configure. …
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@59f74a2
|
4 years |
Thierry Delisle |
Merge branch 'master' of plg.uwaterloo.ca:software/cfa/cfa-cc
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@20ab637
|
4 years |
Thierry Delisle |
Added quick and dirty support for fixed files reads.
Added support for …
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@fb98462
|
4 years |
Thierry Delisle |
Fixed io.cfa for machines supporting single map feature
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@732b406
|
4 years |
Thierry Delisle |
Added missing lock around release_consumed_submission
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@34b61882
|
4 years |
Thierry Delisle |
Submission release is now based on previous seen head rather than the …
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@1d5e4711
|
4 years |
Thierry Delisle |
Optim: No longer call io_uring_enter to poll for events if
- We don't …
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@47746a2
|
4 years |
Thierry Delisle |
Added stats macro to reduce typing when using stats
Added new macros …
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@b9237fe
|
4 years |
Thierry Delisle |
Removed unnecessary/incorrect assert
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@8bb239d
|
4 years |
Thierry Delisle |
Added statistic for number of busies when eager submitting.
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@e46c753
|
4 years |
Thierry Delisle |
Added new io algorithm that eagerly submits while still helping
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@4ec028d
|
4 years |
Thierry Delisle |
Merge branch 'master' of plg.uwaterloo.ca:software/cfa/cfa-cc
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@df40a56
|
4 years |
Thierry Delisle |
minor improvements to io
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@31bb2e1
|
4 years |
Thierry Delisle |
Moved implementations of cfa_[io call] to iocall.cfa
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@7812a7b5
|
4 years |
Thierry Delisle |
Fixed errors and warning with x86 build
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@7bfc849
|
4 years |
Thierry Delisle |
Fixed livelock in io.cfa without submit thread
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@8ae4165
|
4 years |
Thierry Delisle |
Moved interrupts in io.cfa to be more localized
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@de917da3
|
4 years |
Thierry Delisle |
Removed flaky verify in io
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@13c5e19
|
4 years |
Thierry Delisle |
- Moved snzi and subqueues outside of ready_queue.cfa.
- Added …
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@8834751
|
4 years |
Thierry Delisle |
Moved statistics to stats.cfa to combine ready Q stats and IO stats
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@0e4df2e
|
4 years |
Thierry Delisle |
Merge branch 'master' into relaxed_ready
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|