[Fwd: Re: [2.0.48] ap_log_error slow on win32]
- Kurt, in case you haven't seen this reply from Bill:
-------- Original Message --------
Subject: Re: [2.0.48] ap_log_error slow on win32
Date: Tue, 03 Feb 2004 13:21:51 -0600
From: William A. Rowe, Jr. <wrowe@...>
References: <400BA50B.6000501@...> <400C9CD2.4000503@...>
we attempt to lock all writes to a file whenever we have a file opened for
append, as unix has this behavior naturally while Win32 does not.
I'd focus on the speed of obtaining that lock. I'd noticed similar before,
myself, and 1/2 suspect that the lock is also flushing the file from cache.
At 09:13 PM 1/19/2004, Stas Bekman wrote:
>Kurt George Gjerde wrote:--
>>Tested under mod_perl 2 I found $r->log_error (interface to ap_log_error) to be substantially slower than printing directly to STDERR. Is this a known problem?
>Make sure to read the followup:
>The Unix implementation seem to be much faster (only about 1.5 times slower than direct stdio print vs. win32 which is about 16 times slower).
Stas Bekman JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide ---> http://perl.apache.org
mailto:stas@... http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org http://ticketmaster.com
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html