From owner-svn-doc-all@FreeBSD.ORG Fri Jul 13 14:50:43 2012 Return-Path: Delivered-To: svn-doc-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BE3F2106564A; Fri, 13 Jul 2012 14:50:43 +0000 (UTC) (envelope-from utisoft@gmail.com) Received: from mail-bk0-f54.google.com (mail-bk0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id A7B248FC16; Fri, 13 Jul 2012 14:50:42 +0000 (UTC) Received: by bkcje9 with SMTP id je9so3389432bkc.13 for ; Fri, 13 Jul 2012 07:50:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=ZfWeLv55K8YwGxM5aERh0q2U+0/kbJlbOrSCRrUnUbI=; b=Pk+I+gbTBBq7zB937g4EOeSTPhZBG6T6hl9FeqnDkJwMDrlcPi0xnj37g6Dk4aLYDE HcsCW3X3vo2t9KYetniRgnVDeSttEBxcoS3GMwX+Og8T7SP/ighjA3f5NRhkcnQvd4Pu pJy+RMLb5JOXb92dHRsrPW4ioYDzJQcVS4eJB97Qde4VJyw9q4jYkaw2tn76i+SojFks aEsePzwglJxJQ54aHkkfWvM0YsYxUqnXsW6wZucIINDk21ATXediQE3Ld1GkiHn5DNvJ +nMZ7/CncAca0Qze5kBqSRAzCYVCv2nyVVlj36sAlIzdK1R77oftXqdY83za+/wTvZE1 gY9g== MIME-Version: 1.0 Received: by 10.204.128.213 with SMTP id l21mr1088828bks.84.1342191035896; Fri, 13 Jul 2012 07:50:35 -0700 (PDT) Received: by 10.204.49.87 with HTTP; Fri, 13 Jul 2012 07:50:35 -0700 (PDT) Received: by 10.204.49.87 with HTTP; Fri, 13 Jul 2012 07:50:35 -0700 (PDT) In-Reply-To: <6106A7A7-090A-4C55-91E4-7EDF994E83A8@freebsd.org> References: <201207121412.q6CECngA011553@svn.freebsd.org> <20120712150548.GK2338@deviant.kiev.zoral.com.ua> <6106A7A7-090A-4C55-91E4-7EDF994E83A8@freebsd.org> Date: Fri, 13 Jul 2012 15:50:35 +0100 Message-ID: From: Chris Rees To: Isabell Long Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: svn-doc-head@freebsd.org, svn-doc-all@freebsd.org, doc-committers@freebsd.org Subject: Re: svn commit: r39189 - head/en_US.ISO8859-1/books/porters-handbook X-BeenThere: svn-doc-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire doc trees \(except for " user" , " projects" , and " translations" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jul 2012 14:50:43 -0000 On 13 Jul 2012 13:46, "Isabell Long" 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: > > > >> + 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. > > 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