cosmopolitan/third_party/nsync/mem
Justine Tunney 8c645fa1ee
Make mmap() scalable
It's now possible to create thousands of thousands of sparse independent
memory mappings, without any slowdown. The memory manager is better with
tracking memory protection now, particularly on Windows in a precise way
that can be restored during fork(). You now have the highest quality mem
manager possible. It's even better than some OSes like XNU, where mmap()
is implemented as an O(n) operation which means sadly things aren't much
improved over there. With this change the llamafile HTTP server endpoint
at /tokenize with a prompt of 50 tokens is now able to handle 2.6m r/sec
2024-07-05 23:26:00 -07:00
..
array.c Fix more vi modelines (#1006) 2023-12-13 02:28:11 -05:00
BUILD.mk Delete ASAN 2024-06-22 05:45:49 -07:00
nsync_counter.c Release Cosmopolitan v3.3 2024-02-20 13:27:59 -08:00
nsync_cv.c Make mmap() scalable 2024-07-05 23:26:00 -07:00
nsync_debug.c Make mmap() scalable 2024-07-05 23:26:00 -07:00
nsync_mu_wait.c Make mmap() scalable 2024-07-05 23:26:00 -07:00
nsync_note.c Release Cosmopolitan v3.3 2024-02-20 13:27:59 -08:00
nsync_once.c Make mmap() scalable 2024-07-05 23:26:00 -07:00
nsync_sem_wait.c Release Cosmopolitan v3.3 2024-02-20 13:27:59 -08:00
nsync_wait.c Release Cosmopolitan v3.3 2024-02-20 13:27:59 -08:00