mirror of
https://github.com/Lizonghang/prima.cpp.git
synced 2025-09-06 09:49:02 +00:00
more active pages can be compressed
This commit is contained in:
parent
2bc7a56790
commit
fdecd4b54c
1 changed files with 1 additions and 1 deletions
|
@ -526,7 +526,7 @@ static uint64_t device_host_physical_memory(bool available) {
|
|||
memory += vm_stats.active_count * 0.2 * page_size;
|
||||
} else {
|
||||
// assume 50% of active pages can be compressed on macOS x86_64 (an empirical value)
|
||||
memory += vm_stats.active_count * 0.5 * page_size;
|
||||
memory += vm_stats.active_count * 0.6 * page_size;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue