Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Memory manager flexibility for NUMA machines #5

Open
GoogleCodeExporter opened this issue Nov 1, 2015 · 0 comments
Open

Memory manager flexibility for NUMA machines #5

GoogleCodeExporter opened this issue Nov 1, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

The provided lzham_set_memory_callbacks() is fairly nice for most uses 
(including to get around the need for malloc_usable_size() or _msize()).

Still, I'm locally patching the library to pass a custom "pUser_data" for every 
lzham_compress_memory() or lzham_decompress_memory() function call.

On NUMA machines, we typically want to allocate memory on the NUMA node that's 
appropriate for the thread doing the compression/decompression, and that 
requires a custom pUser_data (using thread-specific data is another option, but 
there's some serious overhead).

Thanks for this great library!

Original issue reported on code.google.com by alexis.n...@gmail.com on 28 Jun 2013 at 4:21

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant