From owner-freebsd-questions@FreeBSD.ORG Sat Feb 22 18:14:58 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 031E25F1 for ; Sat, 22 Feb 2014 18:14:58 +0000 (UTC) Received: from ms-10.1blu.de (ms-10.1blu.de [178.254.4.101]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id AEFBA1F67 for ; Sat, 22 Feb 2014 18:14:57 +0000 (UTC) Received: from [93.104.30.214] (helo=localhost.my.domain) by ms-10.1blu.de with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.76) (envelope-from ) id 1WHH6E-0000Sr-A1; Sat, 22 Feb 2014 19:14:54 +0100 Received: from localhost.my.domain (localhost [127.0.0.1]) by localhost.my.domain (8.14.7/8.14.3) with ESMTP id s1MIEp1e002486; Sat, 22 Feb 2014 19:14:51 +0100 (CET) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.14.7/8.14.3/Submit) id s1MIEoWw002485; Sat, 22 Feb 2014 19:14:50 +0100 (CET) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Sat, 22 Feb 2014 19:14:49 +0100 From: Matthias Apitz To: Kostas Oikonomou , freebsd-questions@freebsd.org Subject: Re: slowdown because of gettimeofday change between 9.2 and 10? Message-ID: <20140222181449.GA2475@La-Habana> References: <5307E64C.3040108@att.net> <5308D37B.50908@att.net> <20140222171602.GA2265@La-Habana> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20140222171602.GA2265@La-Habana> X-Operating-System: FreeBSD 9.0-CURRENT r214444 (i386) User-Agent: Mutt/1.5.21 (2010-09-15) X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 93.104.30.214 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: Matthias Apitz List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Feb 2014 18:14:58 -0000 El día Saturday, February 22, 2014 a las 06:16:03PM +0100, Matthias Apitz escribió: > > 2) I checked on another system which runs the same application, but > > under 9.2. It turns out that the application issues the same calls to > > gettimeofday, also on a continuous basis, and, furthermore the numbers > > of calls on the two systems over a period of 15 seconds are almost the same. > > > > So there must be some other difference between 9.2 and 10.0 that causes > > the slowdown. > > In my case it is: > > $ uname -a > FreeBSD La-Habana 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r250588M: Sat Jun 22 14:15:48 CEST 2013 guru@La-Habana:/usr/obj/usr/home/guru/head/src/sys/GENERIC i386 > > The app in question (kabc) was compiled based on the ports at this time. $ truss -f -o tr kaddressbook kdecore (KAction): WARNING: KActionCollection::KActionCollection( QObject *parent, const char *name, KInstance *instance ) $ fgrep gettimeofday tr | wc -l 2262 -- Matthias Apitz | /"\ ASCII Ribbon Campaign: www.asciiribbon.org E-mail: guru@unixarea.de | \ / - No HTML/RTF in E-mail WWW: http://www.unixarea.de/ | X - No proprietary attachments phone: +49-170-4527211 | / \ - Respect for open standards