Samuel Thibault
|
c3ca7df1a9
Fix erasing mc from mc_list
|
пре 11 година |
Samuel Thibault
|
9327d30712
revert spurious changes
|
пре 11 година |
Samuel Thibault
|
c209bb90fd
port r13570 from 1.1: Fix mc memory leak
|
пре 11 година |
Samuel Thibault
|
d8ca14fa57
Fix reusing data from the allocation cache: the mc shouldn't be put on the mc_list, that will be handled by register_mem_chunk
|
пре 11 година |
Samuel Thibault
|
a93bf83bb4
Do not change the new replicate fields, this is handled by the caller. Fix the cache allocation to actually reuse old buffers.
|
пре 11 година |
Samuel Thibault
|
c90cdf163a
Fix spurious data pointer registration when using scratch or redux buffers
|
пре 11 година |
Samuel Thibault
|
63a53f35d2
Also print memory node name in the reclaiming warning
|
пре 11 година |
Samuel Thibault
|
4d02260a53
Explain a bit more about reclaiming
|
пре 11 година |
Samuel Thibault
|
f255d2c95a
port r12703 from 1.1: Allow data to be uninitialized but the application provide an init_cl to initialize it
|
пре 11 година |
Nathalie Furmento
|
a5977c4431
src/datawizard/memalloc.c: interface may be a keyword depending on the used compiler
|
пре 12 година |
Samuel Thibault
|
ea5d8f596b
Make a copy of the interface to the memchunk only when the latter gets detached from the data, and thus the interface code will not work on it. Drop the copy when the memchunk gets reattached. This allows interfaces to modify pointers in the interface in unpack, notably
|
пре 12 година |
Samuel Thibault
|
fb03301fdf
port r12523 from 1.1: Fix detaching a memchunk from a handle: the memchunk is not supposed to still have a pointer to the replicate
|
пре 12 година |
Samuel Thibault
|
3b69247d4a
mention that we don't print reclaim warning several times
|
пре 12 година |
Samuel Thibault
|
098414fc11
port r11533 from 1.1: Also explicitly show in traces the writing back time during reclaiming
|
пре 12 година |
Samuel Thibault
|
9a05d0c3b8
port r11531 from 1.1: Also show free periods in the trace, to distinguish with data transfers and algorithmic complexity in reclaiming
|
пре 12 година |
Samuel Thibault
|
d80744f490
port r11508 from 1.1: Fix passing key to hasthable: the passed pointer has to be pointing to the key at all time
|
пре 12 година |
Samuel Thibault
|
806d128705
port r11506 from 1.1: Do not remove reused memchunk from the cache, it was already removed in _starpu_memchunk_cache_lookup_locked. Thanks Cyril for managing to find a case where it crashes :)
|
пре 12 година |
Nathalie Furmento
|
402e568b27
src/datawizard/memalloc: store interface size of the memchunk as the handle may no longer be valid when reusing the memchunk (thanks to Cyril Bordage for reporting the bug)
|
пре 12 година |
Samuel Thibault
|
ece3263046
port r11406 from 1.1: interface is a reserved word on windows
|
пре 12 година |
Samuel Thibault
|
651f65f9a8
port r11394 from 1.1: Replace rwlock (always taken in write mode) with spinlock
|
пре 12 година |
Samuel Thibault
|
6adb01dd56
port r11392 from 1.1: Do not hold the handle lock while allocating an interface
|
пре 12 година |
Samuel Thibault
|
245bdafca2
port r11388 from 1.1: Allocate RAM memory immediately, without using requests
|
пре 12 година |
Samuel Thibault
|
e1501b5592
port r11308 from 1.1: record allocation size in trace
|
пре 12 година |
Samuel Thibault
|
f850d2f26a
port r11305 from 1.1: the handle interfaces are already freed at this point, use the footprint pre-computed in the mc
|
пре 12 година |
Samuel Thibault
|
c4dc808530
port r11299 from 1.1: Use a hash table to speed up allocation cache reuse by hashing through the data footprint
|
пре 12 година |
Samuel Thibault
|
01aa31bde8
port r11297 from 1.1: Avoid looking through all data for not_important data if the application did not set any data as not_important.
|
пре 12 година |
Samuel Thibault
|
0bb629fed8
Avoid reverting the ordering of cache items
|
пре 12 година |
Samuel Thibault
|
12ca1d21d3
print the OOM node and how much we try to flush. Also print only once
|
пре 12 година |
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
|
пре 12 година |
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)
|
пре 12 година |