You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-user@james.apache.org by kushal soy <ku...@gmail.com> on 2011/05/25 07:59:34 UTC
James performance with mail attachment
Hi,
my mail client is sending java mail with attachment(size:250 KB).
but even with increasing session(independent thread), the client deposit
speed is slow( ~5msg/second). with lower size, client deposit become much
faster though.
also tried with smtp-source for large body size.
[time ./smtp-source -s 50 -l 256000 -m 5000 -d -c -f red@domain.com -t
blue@domain.com localhost:25]
currently, performance data in James page is of 100 bytes of body data.[*time
smtp-source -A -C1500 -l 100 ..*.], which doesn't hold for large size.
what is the expected performance of James with mail attachment?
regards,
kushal
Re: James performance with mail attachment
Posted by Stefano Bagnara <ap...@bago.org>.
2011/5/25 kushal soy <ku...@gmail.com>:
> Stefano,
>
> I didn't get solution suggested for disk access bottleneck , can you
> please explain me again.
If you use many processors in your spoolmanager configuration you can
try reducing them so that the big emails needs few/no processor
changes. If you already use few processors then try to use faster
disks.
Stefano
> Thanks
>
> On Wed, May 25, 2011 at 12:44 PM, Stefano Bagnara <ap...@bago.org> wrote:
>
>> 2011/5/25 kushal soy <ku...@gmail.com>:
>> > Hi,
>> >
>> > my mail client is sending java mail with attachment(size:250 KB).
>> > but even with increasing session(independent thread), the client deposit
>> > speed is slow( ~5msg/second). with lower size, client deposit become much
>> > faster though.
>> > also tried with smtp-source for large body size.
>> > [time ./smtp-source -s 50 -l 256000 -m 5000 -d -c -f red@domain.com -t
>> > blue@domain.com localhost:25]
>> >
>> >
>> > currently, performance data in James page is of 100 bytes of body
>> data.[*time
>> > smtp-source -A -C1500 -l 100 ..*.], which doesn't hold for large size.
>> >
>> >
>> > what is the expected performance of James with mail attachment?
>>
>> The problem is probably disk access. James writes and reads the full
>> message to file/db many times and this is a bottleneck.
>> You can reduce your processors making sure the most used "way" is
>> defined in the root processor. Whenever a message is moved from one
>> processor to another it gets written again on disk.
>>
>> Stefano
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
>> For additional commands, e-mail: server-user-help@james.apache.org
>>
>>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org
Re: James performance with mail attachment
Posted by kushal soy <ku...@gmail.com>.
Stefano,
I didn't get solution suggested for disk access bottleneck , can you
please explain me again.
Thanks
On Wed, May 25, 2011 at 12:44 PM, Stefano Bagnara <ap...@bago.org> wrote:
> 2011/5/25 kushal soy <ku...@gmail.com>:
> > Hi,
> >
> > my mail client is sending java mail with attachment(size:250 KB).
> > but even with increasing session(independent thread), the client deposit
> > speed is slow( ~5msg/second). with lower size, client deposit become much
> > faster though.
> > also tried with smtp-source for large body size.
> > [time ./smtp-source -s 50 -l 256000 -m 5000 -d -c -f red@domain.com -t
> > blue@domain.com localhost:25]
> >
> >
> > currently, performance data in James page is of 100 bytes of body
> data.[*time
> > smtp-source -A -C1500 -l 100 ..*.], which doesn't hold for large size.
> >
> >
> > what is the expected performance of James with mail attachment?
>
> The problem is probably disk access. James writes and reads the full
> message to file/db many times and this is a bottleneck.
> You can reduce your processors making sure the most used "way" is
> defined in the root processor. Whenever a message is moved from one
> processor to another it gets written again on disk.
>
> Stefano
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
> For additional commands, e-mail: server-user-help@james.apache.org
>
>
Re: James performance with mail attachment
Posted by Stefano Bagnara <ap...@bago.org>.
2011/5/25 kushal soy <ku...@gmail.com>:
> Hi,
>
> my mail client is sending java mail with attachment(size:250 KB).
> but even with increasing session(independent thread), the client deposit
> speed is slow( ~5msg/second). with lower size, client deposit become much
> faster though.
> also tried with smtp-source for large body size.
> [time ./smtp-source -s 50 -l 256000 -m 5000 -d -c -f red@domain.com -t
> blue@domain.com localhost:25]
>
>
> currently, performance data in James page is of 100 bytes of body data.[*time
> smtp-source -A -C1500 -l 100 ..*.], which doesn't hold for large size.
>
>
> what is the expected performance of James with mail attachment?
The problem is probably disk access. James writes and reads the full
message to file/db many times and this is a bottleneck.
You can reduce your processors making sure the most used "way" is
defined in the root processor. Whenever a message is moved from one
processor to another it gets written again on disk.
Stefano
---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org