From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from [87.239.111.99] (localhost [127.0.0.1]) by dev.tarantool.org (Postfix) with ESMTP id 0BEF016B02CE; Fri, 26 Dec 2025 11:10:52 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 0BEF016B02CE DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1766736652; bh=991Cv46qbuqbbYNcVUXUIN7vaBGTIsD+wn1jJB7IpWI=; h=Date:To:Cc:References:In-Reply-To:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From:Reply-To:From; b=XjoamebzfLHQnhslaw9fAByTnGYYt3VvlZ51POIE9L/+Q9UaCp/u3VfKawwNnQ9cE /zd/NsSn1e8expXQHm6/qHCosan/Fz7E1TWqpdEGpVVmV2jGpSlNJmQPOQRYlmk5/8 CUmRjVdcxz15A0/pH/gq2zy1uOFz1B/Ga8Sy8l4I= Received: from send243.i.mail.ru (send243.i.mail.ru [95.163.59.82]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id E98A816B02C2 for ; Fri, 26 Dec 2025 11:10:50 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org E98A816B02C2 Received: by exim-smtp-7b4fb89df9-9wppm with esmtpa (envelope-from ) id 1vZ2uP-00000000MuU-3QB1; Fri, 26 Dec 2025 11:10:50 +0300 Date: Fri, 26 Dec 2025 11:10:47 +0300 To: Sergey Bronnikov Cc: tarantool-patches@dev.tarantool.org Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Mailru-Src: smtp X-4EC0790: 10 X-7564579A: 646B95376F6C166E X-77F55803: 4F1203BC0FB41BD979975AF0D777FEBD826642AD4A534357A371A8F1BADBE128182A05F538085040B2ECB26441134FE83DE06ABAFEAF670551007D4B2283448B4F327FDBBEDA3D8146CE9711DA951506 X-7FA49CB5: FF5795518A3D127A4AD6D5ED66289B5278DA827A17800CE79961E86438F5BDAEEA1F7E6F0F101C67BD4B6F7A4D31EC0BCC500DACC3FED6E28638F802B75D45FF8AA50765F7900637AC83A81C8FD4AD23D82A6BABE6F325AC2E85FA5F3EDFCBAA7353EFBB55337566657B88B02DF8C8693A8DF62D5B6EC8F3C1122CAEB220C9BFCD4E0A422FE20F4C389733CBF5DBD5E913377AFFFEAFD269176DF2183F8FC7C07E7E81EEA8A9722B8941B15DA834481FCF19DD082D7633A0EF3E4896CB9E6436389733CBF5DBD5E9D5E8D9A59859A8B64854413538E1713FCC7F00164DA146DA6F5DAA56C3B73B237318B6A418E8EAB86D1867E19FE14079C09775C1D3CA48CF3D321E7403792E342EB15956EA79C166A417C69337E82CC275ECD9A6C639B01B78DA827A17800CE778B471BB9634AD8A731C566533BA786AA5CC5B56E945C8DA X-C1DE0DAB: 0D63561A33F958A5D8909B2479E546875002B1117B3ED6960F883D83F6F90CCBF09842853758E9E5823CB91A9FED034534781492E4B8EEAD0942DC5495D0595EBDAD6C7F3747799A X-C8649E89: 1C3962B70DF3F0AD73CAD6646DEDE1918E10F71CB4DF9F96AB70F9BE574AE9C625B6776AC983F447FC0B9F89525902EE6F57B2FD27647F25E66C117BDB76D65991EDC61977ABEB79F5CEF4E102432C97A890E59A665CC060338B3686C897587E611D7CAC90BC6D05B8341EE9D5BE9A0A20D9071DD46DB2D98E75A579F696EABD7BA9AD05955F320D8CD93680B12512CF4C41F94D744909CECFA6C6B0C050A61A8CAF69B82BA93681CD72808BE417F3B9E0E7457915DAA85F X-D57D3AED: 3ZO7eAau8CL7WIMRKs4sN3D3tLDjz0dLbV79QFUyzQ2Ujvy7cMT6pYYqY16iZVKkSc3dCLJ7zSJH7+u4VD18S7Vl4ZUrpaVfd2+vE6kuoey4m4VkSEu53w8ahmwBjZKM/YPHZyZHvz5uv+WouB9+ObcCpyrx6l7KImUglyhkEat/+ysWwi0gdhEs0JGjl6ggRWTy1haxBpVdbIX1nthFXMZebaIdHP2ghjoIc/363UZI6Kf1ptIMVdtTL5f5BIXbzf54gQIM8+E= X-DA7885C5: B7ED2D81F7D70F60F255D290C0D534F9074E0750AEB3A042BC53DE3CCE85F3084BBD5D4DCAC1535D5B1A4C17EAA7BC4BEF2421ABFA55128DAF83EF9164C44C7E X-Mailru-Sender: 689FA8AB762F7393DDD5FD59B456EAD2F1D6A90F03654ABBE46CFF01A62E013C1B6722CAC229F421E49D44BB4BD9522A059A1ED8796F048DB274557F927329BE89D5A3BC2B10C37545BD1C3CC395C826B4A721A3011E896F X-Mras: Ok Subject: Re: [Tarantool-patches] [PATCH v1 luajit 06/41] perf: adjust chameneos in LuaJIT-benches X-BeenThere: tarantool-patches@dev.tarantool.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Sergey Kaplun via Tarantool-patches Reply-To: Sergey Kaplun Errors-To: tarantool-patches-bounces@dev.tarantool.org Sender: "Tarantool-patches" Hi, Sergey! Thanks for the review! See my answers below. On 13.11.25, Sergey Bronnikov wrote: > Hi, Sergey! > > thanks for the patch! LGTM > > Sergey > > On 10/24/25 13:50, Sergey Kaplun wrote: > > This patch adjusts the aforementioned test to use the benchmark > > framework introduced before. The default arguments are adjusted > > according to the file. The arguments to the script still > > can be provided in the command line run. > > --- > > perf/LuaJIT-benches/chameneos.lua | 32 ++++++++++++++++++++++--------- > > 1 file changed, 23 insertions(+), 9 deletions(-) > > > > diff --git a/perf/LuaJIT-benches/chameneos.lua b/perf/LuaJIT-benches/chameneos.lua > > index 78b64c3f..c1002041 100644 > > --- a/perf/LuaJIT-benches/chameneos.lua > > +++ b/perf/LuaJIT-benches/chameneos.lua > > @@ -1,8 +1,10 @@ Also, added the comment with the benchmark description as we discussed offline. =================================================================== diff --git a/perf/LuaJIT-benches/chameneos.lua b/perf/LuaJIT-benches/chameneos.lua index c1002041..9bd83081 100644 --- a/perf/LuaJIT-benches/chameneos.lua +++ b/perf/LuaJIT-benches/chameneos.lua @@ -1,3 +1,9 @@ +-- The benchmark to check the performance of coroutine interaction +-- using symmetrical rendezvous requests. +-- For the details see: +-- https://pybenchmarks.org/u64q/performance.php?test=chameneosredux +-- https://cedric.cnam.fr/PUBLIS/RC474.pdf + local bench = require("bench").new(arg) local co = coroutine =================================================================== > > +local bench = require("bench").new(arg) > > > > local co = coroutine > > local create, resume, yield = co.create, co.resume, co.yield > > > > -local N = tonumber(arg and arg[1]) or 10 > > +local N = tonumber(arg and arg[1]) or 1e7 > Why 1e7? It is the default for x86 arch. I've taken the values from PARAMS_x86, since this is the most important architecture for the Tarantool, see the commit message. > > +local N_ATTEMPTS = N -- Best regards, Sergey Kaplun