Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:40075 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 28201 invoked from network); 24 Aug 2008 16:39:37 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 24 Aug 2008 16:39:37 -0000 Authentication-Results: pb1.pair.com header.from=arnaud.lb@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=arnaud.lb@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.134.189 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: arnaud.lb@gmail.com X-Host-Fingerprint: 209.85.134.189 mu-out-0910.google.com Received: from [209.85.134.189] ([209.85.134.189:62216] helo=mu-out-0910.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id E6/81-22001-6CE81B84 for ; Sun, 24 Aug 2008 12:39:36 -0400 Received: by mu-out-0910.google.com with SMTP id i2so1094548mue.3 for ; Sun, 24 Aug 2008 09:39:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date :user-agent:mime-version:content-type:content-transfer-encoding :content-disposition:message-id; bh=9ADP4mtmuc6F8bbGDIVYsNvP1uppqb48U/sgxKyvBwI=; b=p41AfhONKRwm1BE5YavgphwEGOvohSA8azXhZG0jfF4n+7kwvPZrs02Xd12UXrupC3 SvxW2JsW53Yopcku11u21T3ti3g+QnBrZHoWvm5/G7Ps9XEBXAd7iBFDtBL7EEGPBe91 ocZEmerC9cvJcuaeoDGtrNvnCB9thzQdYD9ig= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:mime-version:content-type :content-transfer-encoding:content-disposition:message-id; b=Uxjz8Iyk3gCB6cOC5d9Wa6vHOI/8J6VBmKR3FtcHZYC6rGEZa7Bz9HS6bVjSpV/EXJ VKITF4DqTv/okFgwYNHFRbKMQJWPN2BaJ0H4WOKMwzbOMUnMZTtiRijYKZpbZMJ3A3U5 YTFynuvgw6o1UrDvayQ4YVVHricWg/anGBbh4= Received: by 10.103.229.19 with SMTP id g19mr2251338mur.19.1219595971899; Sun, 24 Aug 2008 09:39:31 -0700 (PDT) Received: from 207-177-41-213.getmyip.com ( [213.41.177.207]) by mx.google.com with ESMTPS id u9sm20539184muf.9.2008.08.24.09.39.30 (version=SSLv3 cipher=RC4-MD5); Sun, 24 Aug 2008 09:39:30 -0700 (PDT) To: internals@lists.php.net Date: Sun, 24 Aug 2008 18:37:09 +0200 User-Agent: KMail/1.10.0 (Linux/2.6.26-noch; KDE/4.1.0; i686; ; ) MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-ID: <200808241837.10208.arnaud.lb@gmail.com> Subject: [RFC] Native TLS for globals in ZTS From: arnaud.lb@gmail.com (Arnaud Le Blanc) Hi, I have written a RFC about my patch at http://wiki.php.net/rfc/tls The goal of this patch is to reduce the performance overhead of ZTS builds. Since the initial patch I made more research on various implementations of TLS: Linux, FreeBSD, Solaris, Windows. Based on what I found I wrote a new patch to avoid the problems of the initial one and the results on bench.php are as follows: non-ZTS 3.7s ZTS unpatched 5.2s ZTS-patched, native TLS disabled 5.0s ZTS-patched, native TLS enabled 4.2s Regards, Arnaud