Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:111689 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 18705 invoked from network); 26 Aug 2020 08:41:29 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 26 Aug 2020 08:41:29 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 924F6180532 for ; Wed, 26 Aug 2020 00:44:35 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_40,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DOS_RCVD_IP_TWICE_B, SPF_HELO_PASS,SPF_PASS autolearn=no autolearn_force=no version=3.4.2 X-Spam-Virus: No X-Envelope-From: Received: from box.beccati.com (box.beccati.com [176.9.123.236]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Wed, 26 Aug 2020 00:44:33 -0700 (PDT) Received: from authenticated-user (box.beccati.com [176.9.123.236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by box.beccati.com (Postfix) with ESMTPSA id 0379E2002F4; Wed, 26 Aug 2020 09:44:31 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=beccati.com; s=mail; t=1598427872; bh=TdxKMRJAIowjC+Rh9JTYnKO1on7VFiILZjAJfWBcIB4=; h=Subject:To:References:From:Date:In-Reply-To:From; b=AelEQJMsll/YQX0Lps7FNSb+tWSCR6YyNjxnrlFK1p0y60+y9wOiRzOU8RID6bV6+ fgEcbYG4VBWNgLYXM5C2c/aCUxZTnV0rUyd+fanyOPZ8tTeXt7kLRCYi8qzI0wgyt+ W/YX1d5F3mvtKB1cZmBkwIFSSpIbzVyY5wtvd3H9Eqq1+JVpZE4Gp5WHClX4yAkgmI /axRO1QHtOzgjI2htOeu97Hj5ait2ynvMcqTWBDsAAkqgWZwzFaJUk3YHj8sp8SUtD yrrkWNPtqQpaNAthm1Zlg4Q7iGPemQdx9AfzsgCE1HnsMntnXaxp/S+snZT756pa5S f9ybWDSf4C1sw== To: Nikita Popov , PHP internals References: Message-ID: Date: Wed, 26 Aug 2020 09:44:28 +0200 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Session mm support From: php@beccati.com (Matteo Beccati) Hi Nikita, On 26/08/2020 09:37, Nikita Popov wrote: > Hi internals, > > I've recently found out that compiling PHP with --with-mm has a massive > negative impact on PHP startup performance (approximately 3-4 times > slower), to the point that our CI got approximately 2x slower overall with > it enabled. This is not great. > > As I only found out about the existence of this session backend recently, > I'm wondering how widely it is used, and whether we wouldn't be better off > dropping it from php-src. The performance characteristics make it a pretty > big foot-gun. I think it might have been used in some deb/rpm packages a very long time ago and I vaguely recall it being somewhat a recommended setting for performance. I have however no recollection of when it stopped being relevant. Cheers -- Matteo Beccati Development & Consulting - http://www.beccati.com/