Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qVLYY-00H2hu-Pw for pgsql-hackers@arkaria.postgresql.org; Mon, 14 Aug 2023 00:35:39 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1qVLYW-00BiLi-Ei for pgsql-hackers@arkaria.postgresql.org; Mon, 14 Aug 2023 00:35:36 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qVLYW-00BiLa-63 for pgsql-hackers@lists.postgresql.org; Mon, 14 Aug 2023 00:35:36 +0000 Received: from sfr-1.cri.mines-paristech.fr ([77.158.180.225] helo=smtp.cri.ensmp.fr) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qVLYT-002MMQ-PK for pgsql-hackers@lists.postgresql.org; Mon, 14 Aug 2023 00:35:35 +0000 Received: from genua (113x39x105x210.ap113.ftth.ucom.ne.jp [113.39.105.210]) by smtp.cri.ensmp.fr (Postfix) with ESMTPSA id 2A0C9C01AB for ; Mon, 14 Aug 2023 02:40:12 +0200 (CEST) Date: Mon, 14 Aug 2023 02:35:26 +0200 (CEST) From: Fabien COELHO Reply-To: Fabien COELHO To: PostgreSQL Developers Subject: Re: pgbench with libevent? In-Reply-To: Message-ID: <9633b9f1-c128-7031-6a9e-1af6d247caa0@minesparis.psl.eu> References: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk > Pgbench is managing clients I/Os manually with select or poll. Much of this > could be managed by libevent. Or maybe libuv (used by nodejs?). From preliminary testing libevent seems not too good at fine grain time management which are used for throttling, whereas libuv advertised that it is good at it, although what it does is yet to be seen. Note: libev had no updates in 8 years. -- Fabien.