You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This reverts commit 67d7ab4.
The goal of the reverted commit was to fix flaky fails of tarantool
tests that checks amount of memory used by a fiber:
| fiber.info()[fiber.self().id()].memory.used
It also attempts to overcome the situation when a fiber holds some
amount of memory, which is not used in any way. The high limit of such
memory is controlled by a threshold in fiber_gc() tarantool's function
(128 KiB at the moment):
| void
| fiber_gc(void)
| {
| if (region_used(&fiber()->gc) < 128 * 1024) {
| region_reset(&fiber()->gc);
| return;
| }
|
| region_free(&fiber()->gc);
| }
The reverted commit, however, leads to significant performance
degradation on certain workloads (see #4736). So the revertion fixes the
performance degradation and opens the problem with tests, which is
tracked in #4750.
Related to #12
Related to tarantool/tarantool#4750Fixestarantool/tarantool#4736
0 commit comments