[asterisk-users] Benchmarking AGI performance in C, PHP, and Perl
Tzafrir Cohen
tzafrir.cohen at xorcom.com
Tue Jul 12 11:00:11 CDT 2011
On Tue, Jul 12, 2011 at 10:06:12AM -0500, Kevin P. Fleming wrote:
> On 07/12/2011 09:33 AM, Matthew J. Roth wrote:
>
>> Just think how fast Linux would boot if all of the init scripts were
>> rewritten in C and compiled (they probably have some pipes that could be
>> removed, too!!). Of course, it's pretty nice to be able to easily read and
>> modify them, but execution time is all that's important, right?
>
> OT: Take a look at 'systemd'; this is exactly what's happening there,
> and Fedora is likely to incorporate it into Fedora 16, and it will make
> its way into other distros after that.
Well, there are a number of separate optimizations in systemd:
1. Delayed loading of services (or even not loading them at all, if not
needed. E.g.: don't load CUPS if nobody needs it.
2. Paralelized loading of services (though there have been other
implemtnations of that. SuSE has had that for years: insserv).
3. Rewriting some scripts in C. Also note that udev has been going
through this for quite some time as well.
4. A nice facility to get the timing information and show where the
actual bottlenecks are.
--
Tzafrir Cohen
icq#16849755 jabber:tzafrir.cohen at xorcom.com
+972-50-7952406 mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir
More information about the asterisk-users
mailing list