maria-developers team mailing list archive
-
maria-developers team
-
Mailing list archive
-
Message #11944
Implementation of Threadpool
-
To:
"maria-developers@xxxxxxxxxxxxxxxxxxx" <maria-developers@xxxxxxxxxxxxxxxxxxx>
-
From:
"GUESNET, ETIENNE (ext)" <etienne.guesnet.external@xxxxxxxx>
-
Date:
Tue, 17 Sep 2019 12:13:05 +0000
-
Accept-language:
en-US
-
Arc-authentication-results:
i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=atos.net; dmarc=pass action=none header.from=atos.net; dkim=pass header.d=atos.net; arc=none
-
Arc-message-signature:
i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=6ho6t4kMc/9WFE89yL+c4BcCje56ixWcN4apptEbqdM=; b=QhOBA3QnM5/4sPMvumbfCJCPS7YX/DqEYNZPmRgkVMqPpGUp+lCc3TDjRekKDnUSqzrrHH9faYuOoBGE0EKJeesKise0v71RxPzkv6hhjmW57H+Muk34sEOary4yNv5jGePTjs97Kzan5vzYtczPEI/ArFfVG/idngrEXUme2NMRbxbGIdqiSc4+QO6FWNzVDR552uLMr6uruqwyz6Yc2awc/7qq+MvmRQN9/kOyOLhrmTO2nJvwnsbPVcKnL8bUv81SKkX4g6fNQrS0ciyq8T4NWUg7IjTDUX/if74ONkK1KVPDYMOtH/vM/WTu/QmC9wAcf2EepiQR79ajHYe1KQ==
-
Arc-seal:
i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=DQYsHx4wIkVOsH4YjpVLf4RaCJJqP6p5DsrkjP6188X8dHOtAB321TPdQxE/3zoBYb8GlB1Pndnl3mHVGjMtieefz2PReJGH5w9Bvwdz8XCQnDZEAKcdoMwHc3ZMxw/ArNX/GoL8j5Czycg3gASzivtIpizBoaEwJdoL7xOQUm/O8nPrOv7w9mxjl2hzZlWrxrwycm8JQPu1F32U4mxY5j9f+9ArUj+lzJNcDiip1qNuTradr2nBGEQIoueo76Qeh6PetyKAEIsXhd2N4F4GWWZBAhuTQEs7dVRdgY43eZYuJX7pYgqnr5bMwcNlZ2k8AImRLBsP1HmiNQDahgyUoA==
-
Authentication-results:
spf=none (sender IP is ) smtp.mailfrom=etienne.guesnet.external@xxxxxxxx;
-
Thread-index:
AdVtUT/cmbHZaMSrQmqMQMl/CbrHbQ==
-
Thread-topic:
Implementation of Threadpool
Hi,
I am implementing a threadpool system to AIX. The AIX equivalent of epoll / kqueue on AIX is pollset (and IOCP, but partial implementation only). However, pollset has only a level-trigger mode and MariaDB needs edge-trigger (see comments of sql/threadpoll_generic.h file). Adding a pollset support in MariaDB would be difficult, and probably not so efficient, as we need to simulate the edge-trigger behavior.
Obviously, AIX has poll and select support. MariaDB has not. Is there a reason to don't implement threadpoll through poll or select? No interest? Performance issues?
MariaDB currently works on AIX without threadpool; in term of efficiency, do you know what can be obtained using threadpool with poll/select or a more modern solution?
As far I know, SunOS/Solaris/Illumos threadpoll system (called "port") is also level-trigger only, but I do not find specific functions to manage this.
Thanks!
Etienne Guesnet.
Follow ups