[PATCH v5 0/2] lib/core/fiber: Increase default stack size

Cyrill Gorcunov gorcunov at gmail.com
Wed Mar 13 01:47:18 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.

Volodya, take a look please, once time permit.

Cyrill Gorcunov (3):
  lib/core/fiber: Increase default stack size
  lib/core/fiber: Mark stack as unneeded on creation
  lib/core/fiber: Put watermarks into stack to track its usage

 src/lib/core/fiber.c | 179 ++++++++++++++++++++++++++++++++++++++++++-
 src/lib/core/fiber.h |  15 ++++
 2 files changed, 192 insertions(+), 2 deletions(-)

-- 
2.20.1




More information about the Tarantool-patches mailing list