This
tutorial
will show you how to setup Open WebMail (OWM) so that it uses SpeedyCGI
(aka
PersistentPerl) to increase the performance of OWM. If you don't
have suidperl and are running Slackware instructions for getting
suidperl running are located here. These instructions might also apply to other distros too with minor changes. (Note: I only run Slackware systems, so please don't ask what to do with other distros because I am not familiar with them.
There are two ways
to do this, one is to configure your OWM installation so it uses SpeedyCGI
instead of regular Perl and the other way is to install a second copy of
OWM and configure it to use SpeedyCGI so you have both a regular Perl version
and a SpeedyCGI version. The second way will let you test OWM w/ SpeedyCGI
and see what type of speedup you get.
1. First, download SpeedyCGI and compile it with suid support. From the SpeedyCGI mail list:
Action |
Stock |
SpeedyCGI |
Speed-Up |
Main page |
1.209 |
0.826 |
1.5x |
Login |
2.139 |
0.432 |
5.0x |
Compose button |
1.876 |
0.501 |
3.7x |
Folder button |
1.487 |
0.441 |
3.4x |
Pref button |
2.564 |
1.601 |
1.6x |
Refresh 10 new e-mails |
2.883 |
1.335 |
2.2x |
Move 10 e-mails to trash |
1.807 |
0.456 |
4.0x |
Delete 10 e-mails |
1.808 |
0.461 |
3.9x |
Open new e-mail w/ 10 in inbox |
1.806 |
1.588 |
1.1x |
Logout |
1.564 |
0.279 |
5.6x |