Re: [INTERNALS-WIN] apc problems on win7-64bit
[email protected] (Pierre Joye)
| Newsgroups | php.internals.win |
|---|---|
| Message-ID | <CAEZPtU5iPg=1YkFA--6b_hw2==ktT8OOyLZv8hV7ii-h3qbsZA@mail.gmail.com> |
hi, There are two different questions here. On Thu, Dec 1, 2011 at 10:39 AM, Gaetano Giunta <[email protected]> wrote: > Hello all > > I'm using php 5.3.8 + apache 2.2.21 from apachelounge, and the latest APC > from Pierre's builds > (php_apc-3.1.8-dev+igbinary-1.1.2-dev-20110321-5.3-ts-vc9-x86.zip), on a win > 7 pro 64 bit machine. > > I am testing perfs using eZ Publish, and I have a very strange behavior: > when APC is enabled, only a few files seem to be cached (less than 20). When > running the same app on linux, more than 120 files are cached. > Also the time to execute a page does not decrease at all - running ab with a > concurrency of 1, I get 1.2 secs per page. We see totally different numbers here, do you have some smaller cases to reproduce this problem? Or should I try using a std ezpublish install? > I noticed when turning stat off, that the list of files in apc cache (as per > apc.php) have conflicting pathnames: some are full paths, some relative, > some use windows slashes, some unix slashes. Might this have an impact? > (note: there is no stream wrapper usage in eZ afaik) > > Is this a known problem / did anyone else experience it? Shall I file a bug? Turning off stat works well only if an app is written for it, ban _once, use absolute paths, etc. Cheers, -- Pierre @pierrejoye | http://blog.thepimp.net | http://www.libgd.org