Re: disable autoflush in Qpsmtpd::Postfix?

2007-08-15 Thread Matt Sergeant

On 14-Aug-07, at 11:21 PM, Joe Schaefer wrote:


[EMAIL PROTECTED] (Matt Sergeant) writes:


On Tue, 14 Aug 2007, Joe Schaefer wrote:


Apache has been running with

 $self-autoflush(0);

added to Qpsmtpd::Postfix::open_cleanup()
with no ill effects for a year or two now,
and it has IME had a noticable impact
on performance for queueing large emails.

Any reason not to add it to qpsmtpd proper?


None I guess. What's the reason for doing it again?


I think it lets the usual buffered io take over,
so you're doing 4KB system writes instead of
72B ones.


OK, added.

Matt.



Re: disable autoflush in Qpsmtpd::Postfix?

2007-08-14 Thread Matt Sergeant

On Tue, 14 Aug 2007, Joe Schaefer wrote:


Apache has been running with

 $self-autoflush(0);

added to Qpsmtpd::Postfix::open_cleanup()
with no ill effects for a year or two now,
and it has IME had a noticable impact
on performance for queueing large emails.

Any reason not to add it to qpsmtpd proper?


None I guess. What's the reason for doing it again?


Re: disable autoflush in Qpsmtpd::Postfix?

2007-08-14 Thread Joe Schaefer
[EMAIL PROTECTED] (Matt Sergeant) writes:

 On Tue, 14 Aug 2007, Joe Schaefer wrote:

 Apache has been running with

  $self-autoflush(0);

 added to Qpsmtpd::Postfix::open_cleanup()
 with no ill effects for a year or two now,
 and it has IME had a noticable impact
 on performance for queueing large emails.

 Any reason not to add it to qpsmtpd proper?

 None I guess. What's the reason for doing it again?

I think it lets the usual buffered io take over,
so you're doing 4KB system writes instead of 
72B ones.

-- 
Joe Schaefer