From owner-freebsd-current@FreeBSD.ORG Wed Dec 20 17:54:29 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4361E16A47E for ; Wed, 20 Dec 2006 17:54:29 +0000 (UTC) (envelope-from y.pankov@irbis.net.ru) Received: from mail.irbis.net.ru (mail.irbis.net.ru [194.186.18.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id D4C2D43CAB for ; Wed, 20 Dec 2006 17:54:27 +0000 (GMT) (envelope-from y.pankov@irbis.net.ru) Received: from [192.168.0.64] (dial01.irbis.net.ru [192.168.0.64]) by mail.irbis.net.ru (Postfix) with ESMTP id 8B0DC62D437; Wed, 20 Dec 2006 20:41:08 +0300 (MSK) Message-ID: <458975B2.5070702@irbis.net.ru> Date: Wed, 20 Dec 2006 20:41:06 +0300 From: Yuri Pankov Organization: Irbis Telecommunications, JSC User-Agent: Thunderbird 1.5.0.8 (X11/20061220) MIME-Version: 1.0 To: Scot Hetzel References: <790a9fff0612190915va75678at895efa0bc93ac3a1@mail.gmail.com> <458843B8.1060704@u.washington.edu> <45887857.903@paradise.net.nz> <45887A31.4050801@paradise.net.nz> <790a9fff0612191741r656fbbe0ic8660a9c59ba632b@mail.gmail.com> In-Reply-To: <790a9fff0612191741r656fbbe0ic8660a9c59ba632b@mail.gmail.com> X-Enigmail-Version: 0.94.1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.88.7/2361/Wed Dec 20 18:30:05 2006 on mail.irbis.net.ru X-Virus-Status: Clean X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-3.0 (mail.irbis.net.ru [194.186.18.2]); Wed, 20 Dec 2006 20:41:09 +0300 (MSK) X-Mailman-Approved-At: Thu, 21 Dec 2006 12:32:38 +0000 Cc: freebsd-current@freebsd.org Subject: Re: settimeofday function taking 24 - 30 minutes to complete X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Dec 2006 17:54:29 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Scot Hetzel wrote: > On 12/19/06, Mark Kirkwood wrote: >> Mark Kirkwood wrote: >> >> > Just tried out this on 6-STABLE >> >> > I can't get the hang at all (with or without thee extra includes): >> > >> > # time ./settimetest >> > INFO: Saved current time >> > INFO: settimeofday completed sucessfully >> > INFO: Reset time to original value >> > 0.000u 0.002s 0:00.00 0.0% 0+0k 0+0io 0pf+0w >> > >> >> Oops - thought I was reading -stable instead of -current list >> (doh).. sorry! Well at least you know it can work on *some* version of >> FreeBSD!....(I don't have any machines running -current at the moment to >> test). >> > > Here's the time for the test on FreeBSD/amd64 -CURRENT, update yesterday. > > hp010# date ; time ./t1 ; date > Tue Dec 19 19:07:33 CST 2006 > INFO: Saved current time > INFO: settimeofday completed sucessfully > INFO: Reset time to original value > 0.000u 1469.241s 0:00.00 0.0% 5+175k 0+0io 0pf+0w > Tue Dec 19 19:07:33 CST 2006 > hp010# date 200612191933 > Tue Dec 19 19:33:00 CST 2006 > > Scot Just tested it on FreeBSD 7.0-CURRENT/amd64 GENERIC kernel (updated Dec 16): # gcc -o t1 test.c # date ; time ./t1 ; date Wed Dec 20 20:37:26 MSK 2006 INFO: Saved current time INFO: settimeofday completed sucessfully INFO: Reset time to original value 0.002u 0.000s 0:00.00 0.0% 0+0k 0+0io 0pf+0w Wed Dec 20 20:37:26 MSK 2006 # Am I missing something? HTH, Yuri -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFiXWy/qujdvYJO6ERAiAaAKCj/kUAsFaFDMYwjIn/0kE4iEwvPQCggyqn mhxGDHZ0uJZz51uYKJaCenc= =Fmlt -----END PGP SIGNATURE-----