Article View: news.software.nntp
Article #24760Re: Size of INN binaries with perl?
From: Russ Allbery
Date: Fri, 02 Jan 1998 00:00
Date: Fri, 02 Jan 1998 00:00
30 lines
1926 bytes
1926 bytes
Bettina Fink <laura@krell.snafu.de> writes: > I thought something like that, but the INSTALL file from the perl source > doesn't sound very friendly about using a libperl.so: > | The disadvantages are that there may be a significant performance > | penalty associated with the shared libperl.so, and that the overall > | mechanism is still rather fragile with respect to different versions > | and upgrades. > You have no problems with performance and stability? The performance problem is with startup time -- a standard Perl script will take a somewhat longer time to load with a shared libperl if libperl isn't already in memory. This isn't going to be an issue with INN, where the innd process only starts once, and the forking speed of nnrpd processes isn't really that big of an issue. As for stability, the problem is that upgrading Perl will blow away your libperl.so and anything linked against it probably won't work with the new version of Perl until you recompile it, unless you include the Perl version number in libperl.so (which is a bit tricky to do in the build process). Not a major problem; just be careful when upgrading Perl and recompile INN too. -- Russ Allbery (rra@stanford.edu) <URL:http://www.eyrie.org/~eagle/>
Technical Details
Message-ID:
<m37m8ida8b.fsf@windlord.Stanford.EDU>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailReferences:
<68ivvu$bg5$1@krell.snafu.de> <m37m8igag9.fsf@windlord.Stanford.EDU> <68j5qa$e5e$1@krell.snafu.de>Show Full Headers
Complete Article Headers
Message-ID: <m37m8ida8b.fsf@windlord.Stanford.EDU> Subject: Re: Size of INN binaries with perl? Date: Fri, 02 Jan 1998 00:00:00 +0000 From: Russ Allbery <rra@stanford.edu> References: <68ivvu$bg5$1@krell.snafu.de> <m37m8igag9.fsf@windlord.Stanford.EDU> <68j5qa$e5e$1@krell.snafu.de> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 312174101 Sender: eagle@windlord.Stanford.EDU Organization: The Eyrie Newsgroups: news.software.nntp