Tarantool development patches archive
 help / color / mirror / Atom feed
* [PATCH v4 0/2] lib/core/fiber: Increase default stack size
@ 2019-03-07 21:31 Cyrill Gorcunov
  2019-03-07 21:31 ` [PATCH 1/2] " Cyrill Gorcunov
  2019-03-07 21:31 ` [PATCH 2/2] lib/core/fiber: Mark stack as unneeded on creation Cyrill Gorcunov
  0 siblings, 2 replies; 6+ messages in thread
From: Cyrill Gorcunov @ 2019-03-07 21:31 UTC (permalink / raw)
  To: tml; +Cc: Vladimir Davydov, Konstantin Osipov, Cyrill Gorcunov

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.

Cyrill Gorcunov (2):
  lib/core/fiber: Increase default stack size
  lib/core/fiber: Mark stack as unneeded on creation

 src/lib/core/fiber.c | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

-- 
2.20.1

^ permalink raw reply	[flat|nested] 6+ messages in thread
* [PATCH v6 0/2] lib/core/fiber: Increase default stack size
@ 2019-03-15 20:58 Cyrill Gorcunov
  2019-03-15 20:58 ` [PATCH 1/2] " Cyrill Gorcunov
  0 siblings, 1 reply; 6+ messages in thread
From: Cyrill Gorcunov @ 2019-03-15 20:58 UTC (permalink / raw)
  To: Vladimir Davydov; +Cc: tml, Cyrill Gorcunov

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-03-15 20:58 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-07 21:31 [PATCH v4 0/2] lib/core/fiber: Increase default stack size Cyrill Gorcunov
2019-03-07 21:31 ` [PATCH 1/2] " Cyrill Gorcunov
2019-03-07 21:31 ` [PATCH 2/2] lib/core/fiber: Mark stack as unneeded on creation Cyrill Gorcunov
2019-03-11  8:18   ` Vladimir Davydov
2019-03-11  8:31     ` Cyrill Gorcunov
2019-03-15 20:58 [PATCH v6 0/2] lib/core/fiber: Increase default stack size Cyrill Gorcunov
2019-03-15 20:58 ` [PATCH 1/2] " Cyrill Gorcunov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox