Re: kernel.org mirroring (Re: [GIT PULL] MMC update)
- From
- rda <rda@google.com>
- Date
- Dec 10, 2006, 09:43 UTC
- Message-ID
- <87dcb0bd0612100143t21932358k42fe5044654e1981@mail.gmail.com>
- In-Reply-To
- <457995F8.1080405@zytor.com>
On 12/8/06, H. Peter Anvin <hpa@zytor.com> wrote:
Show 11 quoted lines
> Linus Torvalds wrote: > > I could write a simple C caching thing that just hashes the CGI arguments > > and uses a hash to create a cache (and proper lock-files etc to serialize > > access to a particular cache object while it's being created) fairly > > easily, but I'm pretty sure people would much prefer a mod_perl thing just > > to avoid the fork/exec overhead with Apache (I think mod_perl allows > > Apache to run perl scripts without it), and that means I'm not the right > > person any more. > > True about mod_perl. Haven't messed with that myself, either. > fork/exec really is very cheap on Linux, so it's not a huge deal.
In the case of Perl scripts, it's not really the fork/exec overhead, but the Perl startup overhead that you want to try to optimize. But given your later statement (lots of spare cpu), this ends up just being a bit of a latency hit. In general, I think mod_perl has a