Samuel Thibault
|
d06eb3bbd4
Make reclaiming prevent more fetches on the node being cleaned up, to avoid permanent battle between them
|
10 years ago |
Nathalie Furmento
|
bb61f3808d
update cnrs copyright
|
10 years ago |
Samuel Thibault
|
7b2d1621c4
* Add starpu_data_wont_use to advise that a piece of data will not be used
|
10 years ago |
Samuel Thibault
|
5a0fcbf328
Add anticipative writeback, to flush dirty data asynchronously before the
|
10 years ago |
Samuel Thibault
|
5af6d13d14
Fix lock ordering: when one has to allocate destination room for reclaiming, we have to unlock the data handle lock and acquire mc_lock, so we need to release the mc_lock before calling try_to_free_mem_chunk or try_to_reuse_mem_chunk. Also add a stressing disk reclaiming testcase.
|
10 years ago |
Samuel Thibault
|
3937eb658e
Make _starpu_memchunk_tidy available to the application
|
11 years ago |
Samuel Thibault
|
d737e2d729
Periodically reclaim memory instead of waiting the last moment.
|
11 years ago |
Samuel Thibault
|
a1582fbdcc
Remove unused type
|
11 years ago |
Samuel Thibault
|
5f4256410a
Account cached allocation size
|
11 years ago |
Samuel Thibault
|
4b1a16edde
Fix University name after the fusion..
|
11 years ago |
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
|
11 years ago |
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 years ago |
Samuel Thibault
|
f24ad3cbab
rework deallocating handle memory chunks: we do not actually need to take the burden of going through the whole mc_list, since we already have the mc pointer. This also permits to properly mark per-worker chunks as deallocated
|
12 years ago |
Samuel Thibault
|
54466e911f
- Fix removed chunks locking: removed chunks actually never have to do with the handle any more, we shouldn't have to spinlock any header lock for them.
|
12 years ago |
Samuel Thibault
|
7f1972c484
Fix some rare cases where 'allocated' unexpectedly becomes 0. This was happening
|
12 years ago |
Nathalie Furmento
|
29774f8bd4
src/datawizard: function reclaim_memory_generic is now needed in another file
|
12 years ago |
Nathalie Furmento
|
c7321a76ff
fix type for node to always be unsigned (instead of uint32_t)
|
12 years ago |
Nathalie Furmento
|
3eb1faa93d
src/datawizard/memalloc.h: improve documentation
|
13 years ago |
Nathalie Furmento
|
93c3d6029a
src/datawizard: re-add field size in struct _starpu_mem_chunk however
|
13 years ago |
Nathalie Furmento
|
8f5264b152
data interface: no longer store data size in the handle as some interface may have variable size
|
13 years ago |
Samuel Thibault
|
ab7c89dbe8
expose starpu_allocate_buffer_on_node and starpu_free_buffer_on_node to application, so application-defined interfaces can use them too
|
13 years ago |
Samuel Thibault
|
da1ded45cf
Add _starpu_free_buffer_on_node, to be used by all interfaces to simplify data release
|
13 years ago |
Nathalie Furmento
|
edc236df55
memory stats: group all functions in new file src/datawizard/memstats.c and rename them to follow pattern starpu_memory_...
|
13 years ago |
Samuel Thibault
|
b7a026b908
Add _starpu_allocate_buffer_on_node, to be used by all interfaces to simplify allocation
|
13 years ago |
Nathalie Furmento
|
b98e629137
turn function _starpu_display_memory_stats public
|
13 years ago |
Nathalie Furmento
|
4ba3bb5eab
memory stats: rename memory_status objects to memory_stats objects as what is displayed are statistics
|
13 years ago |
Nathalie Furmento
|
c01d1d789d
memory status: rename fonctions _starpu_display_data_stats&co to _starpu_display_memory_status&co to be more expliciit on what they do
|
13 years ago |
Nathalie Furmento
|
5c386a0422
cleaning up of statistics code
|
13 years ago |
Samuel Thibault
|
8ed9249cd9
Fix main memory leak on multiple unregister/re-register.
|
13 years ago |
Nathalie Furmento
|
3ad31951c8
src: code cleaning
|
14 years ago |