From owner-freebsd-questions@FreeBSD.ORG Sat Feb 22 16:44:45 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9AEEDE72 for ; Sat, 22 Feb 2014 16:44:45 +0000 (UTC) Received: from nm2-vm10.access.bullet.mail.bf1.yahoo.com (nm2-vm10.access.bullet.mail.bf1.yahoo.com [216.109.114.83]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id F2F6516FC for ; Sat, 22 Feb 2014 16:44:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=att.net; s=s1024; t=1393087288; bh=eC+jax5YD68KoTzvqYtX/YJcHvoG1X5KM42FG1tpi2o=; h=Received:Received:Received:DKIM-Signature:X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:X-Rocket-Received:Message-ID:Date:From:User-Agent:MIME-Version:To:Subject:References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=a7fhefyh5kfjhEQB98mgQaGndorUTl5zpT4t4ci6WgrfQBjXCwSDXnmU+XaWs3UN6SwpoMTpWw/Eca2Lvk0kJISRlQs9VD3m485ZNH+FC6dYLYFvbDxTjNpFjJosul+xjwAUcqkkmEmeJL1Sw261GLV1v20cATDIbbjG3j5G78k= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=att.net; b=QGzgsm7SFVUOI1ZmssSELSBBh4iZwT/K51qeiNgzxuTMEklgz2SjqZPHC+5Z5yxShQUzrws1iNiIikhP3wWXXfK6RgBPcXpnkR8R12R8dlPsqk1LU4k2jgs2whpBbuNY3C6kR2YAokANFCgi2m8PsS+spn+TUn/GwPx6MArNFr4=; Received: from [66.196.81.161] by nm2.access.bullet.mail.bf1.yahoo.com with NNFMP; 22 Feb 2014 16:41:28 -0000 Received: from [98.138.104.100] by tm7.access.bullet.mail.bf1.yahoo.com with NNFMP; 22 Feb 2014 16:41:28 -0000 Received: from [127.0.0.1] by smtp120.sbc.mail.ne1.yahoo.com with NNFMP; 22 Feb 2014 16:41:28 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=att.net; s=s1024; t=1393087288; bh=eC+jax5YD68KoTzvqYtX/YJcHvoG1X5KM42FG1tpi2o=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:X-Rocket-Received:Message-ID:Date:From:User-Agent:MIME-Version:To:Subject:References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=Mt3d4Gnh5Ffu6vrY/gwmVBboSXAo5sSfgAmNPH6RmV7xmE4ifSrJgJbJrCISevKGd4AQjU+d+jv0GhjY6sptiwtrVQkEmIqP39PByhCYfscyDvE2wWADIp48F2nMPz7GUbAH+dL1BuSwlVMJQ3f7d2aIorLWHTW4k7NULWlMjSU= X-Yahoo-Newman-Id: 566058.18027.bm@smtp120.sbc.mail.ne1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: vlSVOgAVM1mx8yieiTAvrUyKYmsjeaqgG.MuqkyoiPuEX0G kazKguul8FQwx8Y_8.hjlUczQM7D8J5ls2XVqH6oajK6winPUgmPSbs_PtPG iEgxe_07Q0psdoLDrjPjmTM288lJCQf1OqE.uV0Z96QbrYD7w7d5Vjxve89P OoROnXf8Pc6sd1w2wSk3UlQMBrQ6wbATWxSGfIN6cR6VPqf6SQa1Rfe6JXhF 7WMjJvYwp3ws7hKNqid3nnYcCnEAZh2ZJuR4aL31xyOUUBWsWEqEnfccK9NO 1BbNubw.jAPH6MSxMG6.NxNKK6rb8ZYSzLXPu_PqjyvjOUN0b8UwMpk3191d 0Qu6ISABWBD8jeNXgKAbsqFW1wMqgUP6W1jlZU23z9ODy8_rdPIBJwqCHpr7 XoZ5NSxDNeOQrMzJwtUgxnWKtrwak.MUk6ydAQP6HyXXS6j05lhYtImeIeIx .l.ayrv.fwg0m9Y3d1pZHhQknMnLdW9CIHYjKPC49UjKzYjn0RfedSL8HZ.N ._4mS.OSLlYHHxBFNQ_KWIfWSIESVA3tMdiNjIruKYCo.lOO4KSl1s_zju2b w7qa9MIw- X-Yahoo-SMTP: dQDeuIqswBBZlqxPL_idatjeqZFsZlQC4MQ5I3DYpsI- X-Rocket-Received: from [135.207.38.77] (k.oikonomou@67.84.197.59 with plain [98.138.31.74]) by smtp120.sbc.mail.ne1.yahoo.com with SMTP; 22 Feb 2014 16:41:28 +0000 UTC Message-ID: <5308D37B.50908@att.net> Date: Sat, 22 Feb 2014 11:42:35 -0500 From: Kostas Oikonomou User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: slowdown because of gettimeofday change between 9.2 and 10? References: <5307E64C.3040108@att.net> In-Reply-To: <5307E64C.3040108@att.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Feb 2014 16:44:45 -0000 I did some more work on this. Here is some additional info: 1) The ntpdate suggestion doesn't seem to work. (By the way, the ntpd man page says that it's equivalent to running ntpd with the "-q" option). The reason is that in my case the problem doesn't occur just at start up. The calls to gettimeofday go on all the time. I even killed the ntpd daemon, and the calls still went on. 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. On 02/21/2014 18:50, Kostas Oikonomou wrote: