Home
last modified time | relevance | path

Searched refs:max_avail (Results 1 – 2 of 2) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/cache/
Dcache_numa.cc37 int64_t max_avail = CacheServerHW::GetTotalSystemMemory() * memory_cap_ratio_; in NumaMemoryPool() local
38 int64_t arena_sz = max_avail / num_memory_nodes; in NumaMemoryPool()
42 num_memory_nodes = max_avail / arena_sz; in NumaMemoryPool()
45 arena_sz = max_avail; in NumaMemoryPool()
Dcache_server.cc154 int64_t max_avail = avail_mem; in GlobalMemoryCheck() local
160 max_avail -= mem_consumed; in GlobalMemoryCheck()
161 if (max_avail <= 0) { in GlobalMemoryCheck()
169 if (max_avail < avail_mem) { in GlobalMemoryCheck()
171 if (req_mem > max_avail) { in GlobalMemoryCheck()
176 …if (static_cast<float>(max_avail) / static_cast<float>(avail_mem) <= kMemoryBottomLineForNewServic… in GlobalMemoryCheck()