Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:121377 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 28055 invoked from network); 18 Oct 2023 11:06:44 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 18 Oct 2023 11:06:44 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id F36201804D0 for ; Wed, 18 Oct 2023 04:06:43 -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=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,HTML_MESSAGE, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS15169 209.85.128.0/17 X-Spam-Virus: No X-Envelope-From: Received: from mail-ed1-f49.google.com (mail-ed1-f49.google.com [209.85.208.49]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Wed, 18 Oct 2023 04:06:43 -0700 (PDT) Received: by mail-ed1-f49.google.com with SMTP id 4fb4d7f45d1cf-53f6ccea1eeso551304a12.3 for ; Wed, 18 Oct 2023 04:06:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1697627202; x=1698232002; darn=lists.php.net; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=y1/6NXn/x9ZJqgcVKwrbZblNjgyJjWibTVNQgQ23Lys=; b=ZDT8YoNf1uVRtd9Kn4t4H9Rju8DOQ9pcRJmo+VyaTPJfTaKr8Sj1gZpIYMZAIZJUZi 9W55xtz3p1k+9aZAuFhFYRyxAjfTjyi1dxeH8HRlPdZBphFnEbm1+tgMrhMOSq5xtSST MrXWYLjMLgYdVzuuuF3wc6+VUOCZvPB97RVjIMZwG6j/GYMcnkwS/KMJTOeBvyS51vy/ lHTYV+Rf5TA+66v0xMb1k2UIXnydCFSyvr0svYOb/qRhSvCE6DnQ9Bm+5STOuYC+ix4u 8QOnV8LOcTqwIR+HUIVuyYiJQtMMU7LGIcsNlavfao4wMkRH1hPFUHeZAp2AfEi+RV44 7CeA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697627202; x=1698232002; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=y1/6NXn/x9ZJqgcVKwrbZblNjgyJjWibTVNQgQ23Lys=; b=j9MPCkmXkGrvfoYd1ceFqA4QzVy9ohc9GuWR+46n8vH8P8lBkNDjliI/h33rUATGJA wAhG0DVG56e7U3D/JVqbGAy2CjigFsgODa1rDqZeacZccsXWd9fIyp29R2pCWspsvPH+ /MU31PBxtOVL+RhsNBnPk+yKgl6mXzjcuke0HI0y5wC91CPmioqHWmfDd4kk/5Aifdzo OOGMN89SVpa74eqx3HNdZirTS+t6SOdJ8ld8nPU64PZMlOiyOPXftBQzKmTSdT5H9YZ0 vk/qOrP43zaLG1V0IcLWfOmqHdfhib8H1MtmMv1LqiPO0LwI10YABO3J45GGT3FXT3HY llPQ== X-Gm-Message-State: AOJu0YzBj37iDkBxfFZe1L/EY+8b3BWEoLEeMqt3JZQBFkniqAH3dDD1 QooU3a95ig7oKHBcB8yYZZ30ZoFBBAOmS6lMu5FCq4/2 X-Google-Smtp-Source: AGHT+IFOKvbhMu0QbSz029joWYS6ODMfmiOSrDNO4jZUq8NKIyAyEv+LpKABp2nsQFGUjGxfIqhcf7wQft5ExJeEe4g= X-Received: by 2002:a05:6402:518c:b0:53e:5f9:328b with SMTP id q12-20020a056402518c00b0053e05f9328bmr3912198edd.2.1697627201968; Wed, 18 Oct 2023 04:06:41 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Wed, 18 Oct 2023 14:06:30 +0300 Message-ID: To: Daniil Gentili Cc: internals@lists.php.net Content-Type: multipart/alternative; boundary="000000000000559cd40607fba206" Subject: Re: [PHP-DEV] Change default method of disabling JIT for PHP 8.4 From: dmitrystogov@gmail.com (Dmitry Stogov) --000000000000559cd40607fba206 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, Oct 17, 2023 at 8:46=E2=80=AFPM Daniil Gentili w= rote: > Hello, > > I would like to submit an RFC and PR to change a few INI defaults for > opcache, changing how JIT is disabled by default. > > Currently, JIT is disabled by default using the > |opcache.jit_buffer_size=3D0| default, instead of |opcache.jit=3D0|. > > I.e. here are the defaults for these two configuration entries: > > - opcache.jit=3Dtracing > - opcache.jit_buffer_size=3D0 > > This effectively disables JIT not because `jit=3D0`, but rather because > the buffer size is set to 0. > > I would like to change these defaults to: > > - opcache.jit=3Doff > - opcache.jit_buffer_size=3D64m (taken from > https://github.com/php/php-src/pull/12425/files, any smaller multiple of > 2 causes the buffer to fill up when running moderately sized projects > like Psalm or PHPStan). > > What do you think? > Actually, now opcache.jit=3D0/off/no/false doesn't disable JIT completely. = It makes PHP start requests with JIT disabled, but this may be changed during the request. JIT may be disabled completely by opcache.jit=3Ddisable Thanks. Dmitry. > > > Kind regards, > > Daniil Gentili. > --000000000000559cd40607fba206--