From: Cyrill Gorcunov <gorcunov@gmail.com> To: Vladimir Davydov <vdavydov.dev@gmail.com> Cc: tml <tarantool-patches@freelists.org>, Cyrill Gorcunov <gorcunov@gmail.com> Subject: [PATCH v6 0/2] lib/core/fiber: Increase default stack size Date: Fri, 15 Mar 2019 23:58:00 +0300 [thread overview] Message-ID: <20190315205802.18847-1-gorcunov@gmail.com> (raw) 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
next reply other threads:[~2019-03-15 20:58 UTC|newest] Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top 2019-03-15 20:58 Cyrill Gorcunov [this message] 2019-03-15 20:58 ` [PATCH 1/2] " Cyrill Gorcunov 2019-03-15 20:58 ` [PATCH 2/2] lib/core/fiber: Relax stack memory usage on recycle Cyrill Gorcunov 2019-03-15 21:12 ` Cyrill Gorcunov 2019-03-18 16:57 ` Vladimir Davydov 2019-03-18 17:06 ` Cyrill Gorcunov
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20190315205802.18847-1-gorcunov@gmail.com \ --to=gorcunov@gmail.com \ --cc=tarantool-patches@freelists.org \ --cc=vdavydov.dev@gmail.com \ --subject='Re: [PATCH v6 0/2] lib/core/fiber: Increase default stack size' \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox