From owner-freebsd-stable@FreeBSD.ORG Mon Jan 21 14:13:17 2013 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 4189C359 for ; Mon, 21 Jan 2013 14:13:17 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-wi0-f179.google.com (mail-wi0-f179.google.com [209.85.212.179]) by mx1.freebsd.org (Postfix) with ESMTP id D62A62AB for ; Mon, 21 Jan 2013 14:13:16 +0000 (UTC) Received: by mail-wi0-f179.google.com with SMTP id o1so4964628wic.6 for ; Mon, 21 Jan 2013 06:13:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=rdkm/WjM8aH1ts6nFWZbp249V+OlWZQ4kV0Cr7SYCr4=; b=lMPPag9BDIcyfU5u1+32DtZlthlofgitUnevcQVslcKa8aeLj+hVCdV3lHrYmw6EXs qz0GLyjTB9kCbJfc2mQs2dSIPO6hufYOYVw1qbd6cNOSzHeHovwfqhRaYBcgl3X3vQkM 7a6szcUPIVs7u/mcS5vM6kdAS2ebWuTy3feCOaIzuiv2SmKAKZ/SNYH9sEnpxzjJEEQ7 xfU2+rLsBVv4WxUh3idHzqqP2IeHJaHp3p7W5I09iLD4Znn3ZC4/Ce9rFF3T3ePjZ+oX 1PZtNHy3EcHYsvnJM0H7BKShqZmsv6d/kMmQIRZSQ6bmlwCVtJPuJ6UDl+rfefM6bhV7 VN0g== MIME-Version: 1.0 X-Received: by 10.194.172.197 with SMTP id be5mr15471433wjc.20.1358777582220; Mon, 21 Jan 2013 06:13:02 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.216.123.73 with HTTP; Mon, 21 Jan 2013 06:13:02 -0800 (PST) In-Reply-To: References: Date: Mon, 21 Jan 2013 06:13:02 -0800 X-Google-Sender-Auth: GVxhkjZ3sYMUzVldjWD2ou1FCxY Message-ID: Subject: Re: time issues and ZFS From: Adrian Chadd To: Daniel Braniss Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-stable@freebsd.org, Ronald Klop X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jan 2013 14:13:17 -0000 Hi, Try experimenting with kern.eventtimer.periodic and kern.eventtimer.idletick. If this fixes it for you, please file a PR with all the relevant details. Thanks! Adrian On 21 January 2013 03:33, Daniel Braniss wrote: > After many trials (and errors), here are some facts: > > host: DELL PowerEdge R710, 16GB, > mfi0: > mfid0: 14305280MB (29297213440 sectors) RAID volume 'r5' is optimal > mfi1: > mfid1: 12393472MB (25381830656 sectors) RAID volume 'Virtual Disk 0' is > optimal > > we have NO problems with FreeBSD-8.3-STABLE, but with 9.1-STABLE, the real-time > clock slows down when doing some zfs stuff like send|receive, typing 'date' > when less that 1000s went by seems to crorrect the problem, > ntpd kicks in and on track again. > > I have a cron job just logging date every 5 minutes, and the loghost sees: > > |-- local time on loghost | time on problematic host > Jan 20 19:56:19 store-02.cs.huji.ac.il Jan 20 19:56:19 danny: Sun Jan 20 > 19:56:19 IST 2013 -- ok > Jan 20 20:15:00 store-02.cs.huji.ac.il Jan 20 20:15:00 danny: Sun Jan 20 > 20:15:00 IST 2013 -- ok > Jan 20 21:30:00 store-02.cs.huji.ac.il Jan 20 20:21:06 danny: Sun Jan 20 > 20:21:06 IST 2013 -- off by 1:09 > Jan 20 21:33:53 store-02.cs.huji.ac.il Jan 20 20:25:00 danny: Sun Jan 20 > 20:25:00 IST 2013 -- off by 1:08 > Jan 20 21:38:54 store-02.cs.huji.ac.il Jan 20 20:30:00 danny: Sun Jan 20 > 20:30:00 IST 2013 -- off by 1:09 > ... > Jan 20 22:03:54 store-02.cs.huji.ac.il Jan 20 20:55:00 danny: Sun Jan 20 > 20:55:00 IST 2013 -- diff is now constant > .. > Jan 20 22:04:13 store-02.cs.huji.ac.il Jan 20 20:55:19 ntpd[1848]: time > correction of 4134 seconds exceeds sanity limit (1000); set clock manually to > the correct UTC time. > ... > Jan 20 22:58:53 store-02.cs.huji.ac.il Jan 20 21:50:00 danny: Sun Jan 20 > 21:50:00 IST 2013 > > > strangely, when running 8.3, ACPI-fast is chosen: > kern.timecounter.choice: TSC(-100) HPET(900) ACPI-fast(1000) i8254(0) > dummy(-1000000) > but with 9.1 TSC-low gets chosen: > kern.timecounter.choice: TSC-low(1000) ACPI-fast(900) HPET(950) i8254(0) > dummy(-1000000) > > so I did sysctl kern.timecounter.hardware=ACPI-fast, but the same happens - > unless it can't be changed after boot. > > I realy need help here! > > thanks, > danny > > > > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"