|
|
@a46f7b6
|
2 years |
Thierry Delisle |
Fixed some warnings/mistakes between 32/64bit builds
ADTast-experimental
|
|
|
@5f6b2c2
|
2 years |
Thierry Delisle |
Fixed case where the measure time could be 0 and log2(0) is a problem.
ADTast-experimental
|
|
|
@d1cd4c4
|
2 years |
Thierry Delisle |
Changed moving average weights as an attempt to compensate for logscale.
ADTast-experimental
|
|
|
@31c967b
|
2 years |
Thierry Delisle |
Changed ready-queue so I can easily change the averaging algorithm. …
ADTast-experimental
|
|
|
@33e4968e
|
2 years |
Thierry Delisle |
Relaxed the warning a little.
ADTast-experimental
|
|
|
@da77728
|
2 years |
Thierry Delisle |
Added runtime warning for the leader_spin issue
ADTast-experimental
|
|
|
@5f9c42b
|
2 years |
Thierry Delisle |
Added strict flag to moving average to keep track of which timestamps …
ADTast-experimental
|
|
|
@1756e08
|
2 years |
Thierry Delisle |
Added some defensive programming to work around parsing bug
ADTast-experimental
|
|
|
@1c7ed2d
|
2 years |
Thierry Delisle |
Changed futures and oneshots to use new enum capabilities
ADTast-experimentalpthread-emulation
|
|
|
@aa144c5a
|
2 years |
Thierry Delisle |
Relaxed helping cutoff from 1.5X to 8X
ADTast-experimentalpthread-emulation
|
|
|
@2284d20
|
2 years |
Thierry Delisle |
Added some verifys to make sure atomic_acquire isn't used outside …
ADTast-experimentalpthread-emulation
|
|
|
@1bcbf02
|
2 years |
Thierry Delisle |
Changed declarations using _Thread_local to use thread.
I'm fairly …
ADTast-experimentalpthread-emulation
|
|
|
@01ba701
|
2 years |
Thierry Delisle |
Purged "thread_local" from code base.
Replaced with C11's …
ADTast-experimentalpthread-emulation
|
|
|
@cd3fc46
|
2 years |
Thierry Delisle |
Changed scheduler lock to remove one level of pointer.
ADTast-experimentalpthread-emulation
|
|
|
@71cf630
|
2 years |
Thierry Delisle |
Merge branch 'master' of plg.uwaterloo.ca:software/cfa/cfa-cc
ADTast-experimentalpthread-emulation
|
|
|
@741e22c
|
2 years |
Thierry Delisle |
Fixed potential false sharing on ready-schedule mutate lock
ADTast-experimentalpthread-emulation
|
|
|
@8bee858
|
2 years |
Thierry Delisle |
Changed io types to have trailing $ instead of leading
ADTast-experimentalpthread-emulation
|
|
|
@2af1943
|
2 years |
Thierry Delisle |
Small improvements to some of the alignment requirements in CFA runtime.
ADTast-experimentalpthread-emulation
|
|
|
@fc2c57a9
|
2 years |
Thierry Delisle |
Fixed assert in waitctx.
Removed unnecessary loop in retract.
ADTast-experimentalpthread-emulationqualifiedEnum
|
|
|
@563a36b
|
2 years |
Thierry Delisle |
Fixed verify that was backwards.
ADTast-experimentalpthread-emulationqualifiedEnum
|
|
|
@f3da205
|
2 years |
Thierry Delisle |
Fixed wait_any to be polymorphic on future type.
ADTast-experimentalpthread-emulationqualifiedEnum
|
|
|
@1c56bf7
|
2 years |
Thierry Delisle |
Fixed retract to not reset the future when retracting.
ADTast-experimentalpthread-emulationqualifiedEnum
|
|
|
@c06551b
|
2 years |
caparson |
added wait_any to fwd.cfa for future_t
ADTast-experimentalpthread-emulationqualifiedEnum
|
|
|
@5024df4
|
2 years |
Thierry Delisle |
Changed ready-queue to atomically read/write timestamps, no effect on …
ADTast-experimentalpthread-emulationqualifiedEnum
|
|
|
@b035046
|
2 years |
Thierry Delisle |
changed some MAX to ULLONG_MAX to avoid the memory access where …
ADTast-experimentalpthread-emulationqualifiedEnum
|
|
|
@c18bf9e
|
2 years |
Thierry Delisle |
Visibility concurrency
ADTast-experimentalpthread-emulationqualifiedEnum
|
|
|
@0c3aa67
|
3 years |
Thierry Delisle |
Fixed missing initialization.
ADTast-experimentalenumpthread-emulationqualifiedEnum
|
|
|
@f870e257
|
3 years |
Thierry Delisle |
Disable waiting on io_uring for idle (maybe temporary).
ADTast-experimentalenumpthread-emulationqualifiedEnum
|
|
|
@efa28d5
|
3 years |
Thierry Delisle |
Change wake_time to be as long as other timestamps to ease debugging.
ADTast-experimentalenumpthread-emulationqualifiedEnum
|
|
|
@262fafd9
|
3 years |
Thierry Delisle |
Added debugging information to help find deadlock.
ADTast-experimentalenumpthread-emulationqualifiedEnum
|
|
|
@64bdacc
|
3 years |
Thierry Delisle |
Future now wait for 2p to resolve in available.
ADTast-experimentalenumpthread-emulationqualifiedEnum
|
|
|
@1a567d0
|
3 years |
Thierry Delisle |
Fixed 32-bit compilation
ADTast-experimentalenumpthread-emulationqualifiedEnum
|
|
|
@4479890
|
3 years |
Thierry Delisle |
Implemented helping for io drain based on timestamps.
ADTast-experimentalenumpthread-emulationqualifiedEnum
|
|
|
@78a580d
|
3 years |
Thierry Delisle |
I/O now updates the timestamps when draining.
Timestamps are not used yet.
ADTast-experimentalenumpthread-emulationqualifiedEnum
|
|
|
@8f01ad71
|
3 years |
Thierry Delisle |
Forgot a few pragma once
ADTast-experimentalenumpthread-emulationqualifiedEnum
|
|
|
@adb3ea1
|
3 years |
Thierry Delisle |
Some more incremental work towards using timestamps for io fairness
ADTast-experimentalenumpthread-emulationqualifiedEnum
|
|
|
@22226e4
|
3 years |
Thierry Delisle |
Tentative fix for spurious deadlock in some concurrency tests
ADTast-experimentalenumpthread-emulationqualifiedEnum
|
|
|
@708ae38
|
3 years |
Thierry Delisle |
Some more cleanup and grow/shrink now readjusts io timestamps.
(They …
ADTast-experimentalenumpthread-emulationqualifiedEnum
|
|
|
@48a91e2
|
3 years |
Thierry Delisle |
Fixed defines for cases without RSEQ
ADTast-experimentalenumpthread-emulationqualifiedEnum
|
|
|
@bfb9bf5
|
3 years |
Thierry Delisle |
Fixed some warnings
ADTast-experimentalenumpthread-emulationqualifiedEnum
|
|
|
@884f3f67
|
3 years |
Thierry Delisle |
Change how the ready queue is initialized to make it common with I/O
ADTast-experimentalenumpthread-emulationqualifiedEnum
|
|
|
@c42b8a1
|
3 years |
Thierry Delisle |
Major cleanup and moved cluster growth to new file
ADTast-experimentalenumpthread-emulationqualifiedEnum
|
|
|
@13fdf86
|
3 years |
Thierry Delisle |
Moved preemption reason to kernel_private and added preempt IO.
ADTast-experimentalenumpthread-emulationqualifiedEnum
|
|
|
@a182ad5
|
3 years |
Thierry Delisle |
Revert "removed old memory allocator and replaced it with the …
ADTast-experimentalenumpthread-emulationqualifiedEnum
|
|
|
@fe610ab
|
3 years |
pabuhr |
Merge branch 'master' of plg.uwaterloo.ca:software/cfa/cfa-cc
ADTast-experimentalenumpthread-emulationqualifiedEnum
|
|
|
@09ae8a6
|
3 years |
pabuhr |
change initialization of stacksize = max( PTHREAD_STACK_MIN, …
ADTast-experimentalenumpthread-emulationqualifiedEnum
|
|
|
@5614a191
|
3 years |
m3zulfiq |
removed old memory allocator and replaced it with the concurrent allocator
ADTast-experimentalenumpthread-emulationqualifiedEnum
|
|
|
@c655650
|
3 years |
pabuhr |
update fast PRNG code
ADTast-experimentalenumpthread-emulationqualifiedEnum
|
|
|
@c9c1c1c
|
3 years |
Thierry Delisle |
Minor changes to kernel main loop and fixed stats.
ADTast-experimentalenumforall-pointer-decaypthread-emulationqualifiedEnum
|
|
|
@7cf3b1d
|
3 years |
Thierry Delisle |
Added level of indirection to idle sleeps which helps statistics.
ADTast-experimentalenumforall-pointer-decaypthread-emulationqualifiedEnum
|
|
|
@c90db2d
|
3 years |
Thierry Delisle |
Merge branch 'master' of plg.uwaterloo.ca:software/cfa/cfa-cc
ADTast-experimentalenumforall-pointer-decaypthread-emulationqualifiedEnum
|
|
|
@145dcd5
|
3 years |
Thierry Delisle |
Now using MAX instead of -1u since it's more appropriate.
ADTast-experimentalenumforall-pointer-decaypthread-emulationqualifiedEnum
|
|
|
@5d1ebb9
|
3 years |
pabuhr |
remove thread_rand, remove consolidated random generators
ADTast-experimentalenumforall-pointer-decaypthread-emulationqualifiedEnum
|
|
|
@919a6b2
|
3 years |
pabuhr |
formatting
ADTast-experimentalenumforall-pointer-decaypthread-emulationqualifiedEnum
|
|
|
@1959528
|
3 years |
pabuhr |
third attempt at specialized PRNG
ADTast-experimentalenumforall-pointer-decaypthread-emulationqualifiedEnum
|
|
|
@c52f033
|
3 years |
pabuhr |
formatting
ADTast-experimentalenumforall-pointer-decaypthread-emulationqualifiedEnum
|
|
|
@7d0ebd0
|
3 years |
Thierry Delisle |
Processors should now correctly be unconditionnaly woken-up on termination
ADTast-experimentalenumforall-pointer-decaypthread-emulationqualifiedEnum
|
|
|
@eaf269d
|
3 years |
pabuhr |
add enum DEFAULT_STACK_SIZE in invoke.h and replace 65000 with enum, …
ADTast-experimentalenumforall-pointer-decaypthread-emulationqualifiedEnum
|
|
|
@1757f98
|
3 years |
Thierry Delisle |
Refactoring idle sleep to try and help the change from idle on read to …
ADTast-experimentalenumforall-pointer-decaypthread-emulationqualifiedEnum
|
|
|
@34b8cb7
|
3 years |
Thierry Delisle |
Step 1 of a new scheme to simplify wake_one.
ADTast-experimentalenumforall-pointer-decaypthread-emulationqualifiedEnum
|
|
|
@7dd98b6
|
3 years |
Thierry Delisle |
Moved cfa_main_returned to libcfa so it works when the main is written …
ADTast-experimentalenumforall-pointer-decaypthread-emulationqualifiedEnum
|
|
|
@24e321c
|
3 years |
Thierry Delisle |
Unpark now takes a hint on locality.
ADTast-experimentalenumforall-pointer-decaypthread-emulationqualifiedEnum
|
|
|
@abcae55
|
3 years |
Thierry Delisle |
Removed last_cpu (and small spacing changes)
ADTast-experimentalenumforall-pointer-decaypthread-emulationqualifiedEnum
|
|
|
@d874f59
|
3 years |
Thierry Delisle |
Fixed crash from get_cpu
ADTast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@c86ee4c
|
3 years |
Thierry Delisle |
Merge branch 'master' of plg.uwaterloo.ca:software/cfa/cfa-cc
ADTast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@1f45c7d
|
3 years |
Thierry Delisle |
Now tracking cpu migrations using push_stat.
Some minor fixes to the …
ADTast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@e84ab3d
|
3 years |
Thierry Delisle |
Step 1 of changing $thread to thread$
ADTast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@ef94ae7
|
3 years |
Thierry Delisle |
Changed ready-queue to use -1 for empty ts.
ADTast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@0ee224b
|
3 years |
Thierry Delisle |
Fixed rseq so it is initilizaed even for non-processor threads.
ADTast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@12daa43
|
3 years |
Thierry Delisle |
Added a define switch for using cpu workstealing.
Not Fully implemented.
ADTast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@fde879b3
|
3 years |
Thierry Delisle |
Fixed typo in startup.cfa without rseq support.
ADTast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@f558b5f
|
3 years |
Thierry Delisle |
Implemented kernel_getcpu from rseq and librseq.
ADTast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@3814957
|
3 years |
Thierry Delisle |
Commented out broken code
ADTast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@3489ea6
|
3 years |
Thierry Delisle |
Started work on kernel_getcpu
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
|
|
|
@ab5baab
|
3 years |
Thierry Delisle |
Attempt to fix the stack checker for when coroutines are interrupted …
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@3e1a705
|
3 years |
Thierry Delisle |
Start ready queue cutoff at zero to avoid spurious steals.
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@a67c5b6
|
3 years |
Thierry Delisle |
Processors now have a pointer to their tls.
This means the tls is no …
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@d3ba775
|
3 years |
Thierry Delisle |
More clean-up after new subqueue
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@f6fdfb14
|
3 years |
Thierry Delisle |
Removed old sub-queue
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@2b96031
|
3 years |
Thierry Delisle |
Added new subqueue implementation.
Seems faster will test on another …
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@c993b15
|
4 years |
Thierry Delisle |
Changed RW lock to avoid hitting the global array on schedule.
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@fb0be05
|
4 years |
Thierry Delisle |
Merge branch 'master' of plg.uwaterloo.ca:software/cfa/cfa-cc
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@a76efc8
|
4 years |
Thierry Delisle |
futures now optionally don't unpark the target thread
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@cfff639
|
4 years |
Thierry Delisle |
Merge branch 'master' of plg.uwaterloo.ca:software/cfa/cfa-cc
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@89eff25
|
4 years |
Thierry Delisle |
Some changes to stats and added back preferred
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@254ad1b
|
4 years |
Thierry Delisle |
Separate schedule_thread from the scheduler lock
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@a3821fa
|
4 years |
Thierry Delisle |
Changed enable interrupts:
- no longer save the caller for debugging
…
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@431cd4f
|
4 years |
Thierry Delisle |
Added alternative to relaxed-fifo scheduler.
Disabled by default
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@a017ee7
|
4 years |
Thierry Delisle |
Ready-queue grow/shrink now reassigns the id of all processors.
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@fc59b580
|
4 years |
Thierry Delisle |
Clusters now keep track of the active processors as well
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@6a9b12b
|
4 years |
Thierry Delisle |
Incremental change towards having the cluster keep a list of active …
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@a7504db
|
4 years |
Thierry Delisle |
Changed how the cluster idle lock is implemented to be covered by the …
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@a33c113
|
4 years |
Thierry Delisle |
Minor changes so using the global RWlock is more concise.
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@73f4d08
|
4 years |
Thierry Delisle |
Added stats implementation for dumping a big array of timestamped …
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@a5a01faa
|
4 years |
Thierry Delisle |
Fix a bug where stats from the main processor where not tallied properly.
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@5cb51502
|
4 years |
Thierry Delisle |
Fix stats so they are correctly tallied when called from outside the …
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@bd0bdd37
|
4 years |
Thierry Delisle |
Fix how bias is handled in the ready queue to be more consistent with …
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@a5e7233
|
4 years |
Thierry Delisle |
C interface now runs worker init routine in dedicated thread.
Also …
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@a1538cd
|
4 years |
Thierry Delisle |
Implemented part of the same C api for threads as libfibre.
ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|