From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lf1-f44.google.com (mail-lf1-f44.google.com [209.85.167.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id E1B8445C304 for ; Fri, 18 Dec 2020 16:35:06 +0300 (MSK) Received: by mail-lf1-f44.google.com with SMTP id y19so5359562lfa.13 for ; Fri, 18 Dec 2020 05:35:06 -0800 (PST) From: mechanik20051988 Date: Fri, 18 Dec 2020 16:35:00 +0300 Message-Id: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [Tarantool-patches] [PATCH 0/3] Change small allocator behavior List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: tarantool-patches@dev.tarantool.org, Vladislav Shpilevoy Branch: mechanik20051988/gh-5216-fix-strange-allocator-behavior Issue: https://github.com/tarantool/tarantool/issues/5216 Description: Now we allocate pools on the stage of allocator creation. *** BLURB HERE *** Aleksandr Lyapunov (1): small: implement new size class evaluation mechanik20051988 (2): Add small allocator performance test Changed small allocator pool management CMakeLists.txt | 5 + LICENSE | 2 +- perf/.gitignore | 1 + perf/CMakeLists.txt | 7 + perf/small_alloc_perf.c | 381 ++ small/small.c | 212 +- small/small.h | 47 +- small/small_class.c | 57 + small/small_class.h | 220 + test/CMakeLists.txt | 9 + test/small_class.c | 168 + test/small_class.result | 9114 ++++++++++++++++++++++++++++ test/small_class_branchless.result | 9114 ++++++++++++++++++++++++++++ 13 files changed, 19139 insertions(+), 198 deletions(-) create mode 100644 perf/.gitignore create mode 100644 perf/CMakeLists.txt create mode 100644 perf/small_alloc_perf.c create mode 100644 small/small_class.c create mode 100644 small/small_class.h create mode 100644 test/small_class.c create mode 100644 test/small_class.result create mode 100644 test/small_class_branchless.result -- 2.20.1