[PATCH v6 0/2] lib/core/fiber: Increase default stack size
Cyrill Gorcunov
gorcunov at gmail.com
Fri Mar 15 23:58:00 MSK 2019
v4:
We split the stack management task into two: first one to
increase stack size asap, to not block users and testers,
and second one to rework stack management to relax rss
pressue.
This patchset covers the first task only. The second part
is still under rfc and hopefully won't take too long.
v5:
Use random offsets for each fiber instead of global one.
Shrink stack to 64K on recycle.
v6:
Drop overflow mark competely since it doesn't seem to
be very useful.
Simplify code, and put #ifdefs where needed
Take a look please, once time permit.
Cyrill Gorcunov (2):
lib/core/fiber: Increase default stack size
lib/core/fiber: Relax stack memory usage on recycle
src/lib/core/fiber.c | 184 ++++++++++++++++++++++++++++++++++++++++++-
src/lib/core/fiber.h | 12 +++
test-run | 2 +-
3 files changed, 196 insertions(+), 2 deletions(-)
--
2.20.1
More information about the Tarantool-patches
mailing list