svn commit: r39189 - head/en_US.ISO8859-1/books/porters-handbook

Chris Rees utisoft at gmail.com
Fri Jul 13 14:50:43 UTC 2012


On 13 Jul 2012 13:46, "Isabell Long" <issyl0 at freebsd.org> wrote:
>
> Hey,
>
> On 12 Jul 2012, at 16:05, Konstantin Belousov wrote:
>
> > On Thu, Jul 12, 2012 at 02:12:49PM +0000, Isabell Long wrote:
> >
> >> +      <para>A number of simple syscalls (for example
> >> +    &man.gettimeofday.2;, &man.getpid.2;) are much faster on
> >> +    &linux; than on any other operating system due to caching and
> >> +    the vsyscall performance optimizations.  Do not rely on them
> >> +    being cheap in performance-critical applications.  In general,
> >> +    try hard to avoid syscalls if possible.</para>
> > And this is not quite true for HEAD and soon for RELENG_9.
>
> Sorry, this came directly from a Google Code-In task done back in
November that simply asked to transfer the info wiki -> SGML, which I did,
and I don't have enough knowledge to check the current status of the things
mentioned.  The task was just sat in the list, as it had been for months,
so I decided to commit it.
>
> Feel free to submit patches.  :-)

I think Kostik's comment on mentioning that syscalls in loops could do with
benchmarking, and leave out the specific examples would be a welcome change.

Chris


More information about the svn-doc-all mailing list