-------- 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. <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] CC: [EMAIL PROTECTED] References: <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>
Stas,
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.
Bill
At 09:13 PM 1/19/2004, Stas Bekman wrote:
Kurt George Gjerde wrote:Hi, 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? Please see: http://www.mail-archive.com/dev%40perl.apache.org/msg06003.html
Make sure to read the followup: http://www.mail-archive.com/dev%40perl.apache.org/msg06031.html 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:[EMAIL PROTECTED] 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