[Wikitech-l] RFC "How/whether MediaWiki could use ZendOptimizuerPlus" -- ZendOptimizerPlus, opcode cache, PHP 5.4, APC, memcache ???

2013-03-21 Thread Thomas Gries
tl;dr discussion start "How/whether MediaWiki could use ZendOptimizuerPlus" Since a short time * ZendOptimizerPlus (Opcode cache; source [4]) is under PHP license and planned to be integrated in PHP 5.5. The former restrictions of this program (closed-source etc.) appear to be gone, so I'd l

Re: [Wikitech-l] RFC "How/whether MediaWiki could use ZendOptimizuerPlus" -- ZendOptimizerPlus, opcode cache, PHP 5.4, APC, memcache ???

2013-03-21 Thread Chad
On Thu, Mar 21, 2013 at 10:14 AM, Thomas Gries wrote: > tl;dr > discussion start "How/whether MediaWiki could use ZendOptimizuerPlus" > > > Since a short time > > * ZendOptimizerPlus (Opcode cache; source [4]) > > > is under PHP license and planned to be integrated in PHP 5.5. > The former restr

Re: [Wikitech-l] RFC "How/whether MediaWiki could use ZendOptimizuerPlus" -- ZendOptimizerPlus, opcode cache, PHP 5.4, APC, memcache ???

2013-03-21 Thread Thomas Gries
Am 21.03.2013 15:23, schrieb Chad: > You're confusing opcode caching with shared memory caching. thanks, as already mentioned, I anticipated that difference. > Having the Zend > Optimizer doesn't prohibit you from using APC's shared memory caching. But APC has issues with PHP 5.4 . What can we Med

Re: [Wikitech-l] RFC "How/whether MediaWiki could use ZendOptimizuerPlus" -- ZendOptimizerPlus, opcode cache, PHP 5.4, APC, memcache ???

2013-03-21 Thread Chad
On Thu, Mar 21, 2013 at 10:42 AM, Thomas Gries wrote: > Am 21.03.2013 15:23, schrieb Chad: >> You're confusing opcode caching with shared memory caching. > thanks, as already mentioned, I anticipated that difference. >> Having the Zend >> Optimizer doesn't prohibit you from using APC's shared memo

Re: [Wikitech-l] RFC "How/whether MediaWiki could use ZendOptimizuerPlus" -- ZendOptimizerPlus, opcode cache, PHP 5.4, APC, memcache ???

2013-03-21 Thread Thomas Gries
Am 21.03.2013 15:57, schrieb Chad: > Sure, it'd be an improvement--go ahead and file a bug wherever it > belongs upstream (github?). If and when they decide to implement > it, *then* would be the time to make MW changes :) Where can I read more (and can then refer to it) about how MediaWiki uses t

Re: [Wikitech-l] RFC "How/whether MediaWiki could use ZendOptimizuerPlus" -- ZendOptimizerPlus, opcode cache, PHP 5.4, APC, memcache ???

2013-03-21 Thread Bryan Tong Minh
On Thu, Mar 21, 2013 at 4:02 PM, Thomas Gries wrote: > > Do I have to look for the MediaWiki source module/memcache API? Where ? > > It's called BagOStuff. Bryan ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/ma

Re: [Wikitech-l] RFC "How/whether MediaWiki could use ZendOptimizuerPlus" -- ZendOptimizerPlus, opcode cache, PHP 5.4, APC, memcache ???

2013-03-21 Thread Tyler Romeo
Just to be clear, APC will not work in PHP 5.5 at all. It actually conflicts with Zend Optimizer+, and you cannot use both at the same time. *-- * *Tyler Romeo* Stevens Institute of Technology, Class of 2015 Major in Computer Science www.whizkidztech.com | tylerro...@gmail.com

Re: [Wikitech-l] RFC "How/whether MediaWiki could use ZendOptimizuerPlus" -- ZendOptimizerPlus, opcode cache, PHP 5.4, APC, memcache ???

2013-03-22 Thread Platonides
Trying to clarify: APC can do two things: 1) Keep the compiled php opcodes, so php execution is faster. 2) Allow the application to store values in the web server memory (kept accross requests). ZendOptimizer only does 1. MediaWiki only needs to be changed for 2, since 1 is done automatically by

Re: [Wikitech-l] RFC "How/whether MediaWiki could use ZendOptimizuerPlus" -- ZendOptimizerPlus, opcode cache, PHP 5.4, APC, memcache ???

2013-03-22 Thread Thomas Gries
Am 22.03.2013 12:16, schrieb Platonides: > Trying to clarify: > > APC can do two things: > 1) Keep the compiled php opcodes, so php execution is faster. > 2) Allow the application to store values in the web server memory (kept > accross requests). > > ZendOptimizer only does 1. > > MediaWiki only n

Re: [Wikitech-l] RFC "How/whether MediaWiki could use ZendOptimizuerPlus" -- ZendOptimizerPlus, opcode cache, PHP 5.4, APC, memcache ???

2013-03-22 Thread Tyler Romeo
On Fri, Mar 22, 2013 at 7:39 AM, Thomas Gries wrote: > I have to change CACHE_ACCEL to CACHE_NONE in my LocalSettings.php, > and will still enjoy opcode caching by ZendOptimizerPlus, > but have no memory cache - currently. > > > Is this correct ? > Can the setup be improved, and how ? > Yes, thi

Re: [Wikitech-l] RFC "How/whether MediaWiki could use ZendOptimizuerPlus" -- ZendOptimizerPlus, opcode cache, PHP 5.4, APC, memcache ???

2013-03-22 Thread Brian Wolff
On 2013-03-22 9:20 AM, "Tyler Romeo" wrote: > > On Fri, Mar 22, 2013 at 7:39 AM, Thomas Gries wrote: > > > I have to change CACHE_ACCEL to CACHE_NONE in my LocalSettings.php, > > and will still enjoy opcode caching by ZendOptimizerPlus, > > but have no memory cache - currently. > > > > > > Is thi

Re: [Wikitech-l] RFC "How/whether MediaWiki could use ZendOptimizuerPlus" -- ZendOptimizerPlus, opcode cache, PHP 5.4, APC, memcache ???

2013-03-22 Thread Tyler Romeo
On Fri, Mar 22, 2013 at 9:38 AM, Brian Wolff wrote: > Some people have claimed that CACHE_DB might even slow things down compared > to CACHE_NONE when used as main cache type (cache db is still better than > cache none for slow caches like the parser cache). Anyhow you should do > profiling type

Re: [Wikitech-l] RFC "How/whether MediaWiki could use ZendOptimizuerPlus" -- ZendOptimizerPlus, opcode cache, PHP 5.4, APC, memcache ???

2013-03-22 Thread Thomas Gries
just one message, just arrived: http://php.net/archive/2013.php#id2013-03-21-1 PHP 5.5.0 beta1 available 21-Mar-2013 The PHP development team announces the release of the first beta of PHP 5.5.0. This release is the first to include the Zend OPCache. Please help our efforts to provide a stable P

Re: [Wikitech-l] RFC "How/whether MediaWiki could use ZendOptimizuerPlus" -- ZendOptimizerPlus, opcode cache, PHP 5.4, APC, memcache ???

2013-03-22 Thread Brian Wolff
On 2013-03-22 10:45 AM, "Tyler Romeo" wrote: > > On Fri, Mar 22, 2013 at 9:38 AM, Brian Wolff wrote: > > > Some people have claimed that CACHE_DB might even slow things down compared > > to CACHE_NONE when used as main cache type (cache db is still better than > > cache none for slow caches like

Re: [Wikitech-l] RFC "How/whether MediaWiki could use ZendOptimizuerPlus" -- ZendOptimizerPlus, opcode cache, PHP 5.4, APC, memcache ???

2013-03-22 Thread Tyler Romeo
On Fri, Mar 22, 2013 at 10:29 AM, Brian Wolff wrote: > That would be a mediawiki bug though. Does throtling actually work with > cache_db now? I remember it used to only work with the memcached backend. > Anyways if that's been fixed, throtling should be changed to use CACHE_ANY > so it actually

Re: [Wikitech-l] RFC "How/whether MediaWiki could use ZendOptimizuerPlus" -- ZendOptimizerPlus, opcode cache, PHP 5.4, APC, memcache ???

2013-03-22 Thread Kevin Israel
On 03/22/2013 07:16 AM, Platonides wrote: > APC can do two things: > 1) Keep the compiled php opcodes, so php execution is faster. > 2) Allow the application to store values in the web server memory (kept > accross requests). > > ZendOptimizer only does 1. [...] > The «APC is a "must have" for la

Re: [Wikitech-l] RFC "How/whether MediaWiki could use ZendOptimizuerPlus" -- ZendOptimizerPlus, opcode cache, PHP 5.4, APC, memcache ???

2013-03-23 Thread Dmitriy Sintsov
On 22.03.2013 18:10, Thomas Gries wrote: just one message, just arrived: http://php.net/archive/2013.php#id2013-03-21-1 PHP 5.5.0 beta1 available 21-Mar-2013 The PHP development team announces the release of the first beta of PHP 5.5.0. This release is the first to include the Zend OPCache. Pl