Samuel Thibault
|
12ca1d21d3
print the OOM node and how much we try to flush. Also print only once
|
před 11 roky |
Nathalie Furmento
|
d339c20e4a
src/datawizard/memalloc.c: print message when trying to reclaim memory. It will not be printed if environment variable STARPU_SILENT is set
|
před 11 roky |
Samuel Thibault
|
065614f6b0
port r11042 from 1.1: Simplify LRU mechanism: now that the mc_rwlock is taken after data header lock, we can simply modify the list, instead of pushing the LRU order to a temporary list, which has a huge worst-case complexity (number of accesses * number of data)
|
před 11 roky |
Samuel Thibault
|
a9acc0f302
target can be -1...
|
před 12 roky |
Samuel Thibault
|
6d7b9fc372
Handle case when we have not found a target
|
před 12 roky |
Samuel Thibault
|
9c038ac2be
replace starpu_get_bandwidth/latency_CUDA/RAM_RAM/CUDA with calls to starpu_transfer_*
|
před 12 roky |
Nathalie Furmento
|
1bdf2585ae
merge trunk
|
před 12 roky |
Marc Sergent
|
9783f21238
Fix of the livelock discovered by Marc Sergent's internship, by adding a maximum trylock threshold before a blocking lock
|
před 12 roky |
Marc Sergent
|
e0b771e409
FxT lock traces support added to StarPU. Use --enable-fxt-lock option of configure to activate it
|
před 12 roky |
Corentin Salingue
|
e75bbec0cf
merge trunk
|
před 12 roky |
Samuel Thibault
|
582fe879e4
comments for the LRU algorithm
|
před 12 roky |
Corentin Salingue
|
210ed2e470
add disk flag + add flag in reclaim + add test disk_computation
|
před 12 roky |
Samuel Thibault
|
a063f6dd2b
Use STARPU_MAIN_RAM, not 0
|
před 12 roky |
Corentin Salingue
|
3d450f4b5e
correct bug target can be the reclaim node
|
před 12 roky |
Corentin Salingue
|
8281604526
merge trunk
|
před 12 roky |
Samuel Thibault
|
f5376f57de
Fix missing unlock when a data tree could be locked, but the data couldn't be freed
|
před 12 roky |
Corentin Salingue
|
209fb7bf53
merge trunk
|
před 12 roky |
Samuel Thibault
|
0bb47b1bab
Rework locking the mc_list: we must not release mc_rwlock while freeing a memchunk, otherwise some other part of starpu might be removing the very chunk we are trying to free. Keep mc_rwlock locked, and when one needs to lock the data header, use a trylock for the case when some other part of starpu has already locked the data and will lock mc_rwlock too
|
před 12 roky |
Samuel Thibault
|
cbd7a8bace
Add missing lock
|
před 12 roky |
Corentin Salingue
|
1705223a6c
forget case home_node == disk -> push on ram before + move target choice strategy into a function
|
před 12 roky |
Corentin Salingue
|
21c26a7564
clean function to choose target for reclaiming
|
před 12 roky |
Corentin Salingue
|
01181bc7ab
if data is allocated, we don't check space on the node
|
před 12 roky |
Corentin Salingue
|
4519397359
fail merge
|
před 12 roky |
Corentin Salingue
|
fbbc1a9ff6
merge trunk
|
před 12 roky |
Corentin Salingue
|
6bb0969207
fix bug to choose disk in reclaim
|
před 12 roky |
Samuel Thibault
|
0cb728f087
Rework reclaim list to avoid getting stuck at the end of the list
|
před 12 roky |
Samuel Thibault
|
9025906704
Fix comment with out-of-core in mind
|
před 12 roky |
Samuel Thibault
|
d0c220a6f9
Fix memory reclaiming size free estimation. Since r8058, all callers of free_memory_on_node have to set mc->size, including do_free_mem_chunk.
|
před 12 roky |
Corentin Salingue
|
457dd56ea1
add assert disk_register need at least SIZE Bytes, fix warnings in example and change strategy in try_to_free_mem_chunk
|
před 12 roky |
Corentin Salingue
|
51cc563bcc
reduce difference with trunk
|
před 12 roky |