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

I/O or memory allocation (?) performance issues #1

Open
mihalicyn opened this issue Dec 19, 2017 · 0 comments
Open

I/O or memory allocation (?) performance issues #1

mihalicyn opened this issue Dec 19, 2017 · 0 comments

Comments

@mihalicyn
Copy link
Member

Dear colleagues,

Issue (in fork repository) with performance tests and results.

We discussed about that problem with Lourival and decided to try use pool(9).
Firstly, I dived into current kmem_intr_alloc/free implementation that already using pool internally. Analyzing of code shows that current implementation of lua_alloc function that using kmem_intr_alloc/free internally (that use pool internally :)) seems efficient because LUAL_BUFFERSIZE less that maximum allocatable chunk of memory in kmem allocator pool (16KiB).

I have some ideas and I would like to discuss about them.

  1. kmem allocator implementation seems very efficient and lua_alloc consequently too. But we have performance problem. It seems that something wrong with my hands. :) But all aims that problem not in I/O operations...
  2. At that time I creating minimal test code and want to simulate lua_alloc calls as it was. After that compare results with userland similar tests.
  3. May be you have some ideas or hypothesis? I spend a lot of time on experiments and measurements. Currently, I have enough time to work on our project. ;)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant