From owner-freebsd-questions@freebsd.org Fri Jun 3 05:05:29 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 991DBB68FDA; Fri, 3 Jun 2016 05:05:29 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-io0-x231.google.com (mail-io0-x231.google.com [IPv6:2607:f8b0:4001:c06::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 653831B40; Fri, 3 Jun 2016 05:05:29 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-io0-x231.google.com with SMTP id o189so54931278ioe.2; Thu, 02 Jun 2016 22:05:29 -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; bh=HB2MCHDu3HgA9EshZyPtgWRG8azVzZUZFLIwjsNXc4A=; b=qvqAYuCxTCebd03wL9RXt5fe999NOWxcnFvdYKRzRmVqkS4CGskzREs/3cfjwk6ru0 ZDSEzO40J5bEzWG8vkvqT1t1XOIDvXOzvvouRCAPbBWPjLB0mCXsAIPFaZM2ZYMZU8ko 5qUTI40ph0s31Zh6pnVH3pROoVuXinWjckIXazrKqdClFvvVZhehbCbkfDVKsJOyeEOq Puislektl9aLQ1Awp4PmRRCu1CGd7tY0n6iuuFnKEA84L2ArB6LDJYSzMHl0Q8fDBlLE 9KqHo0H6YAiQ5nAOGE0/x+WCRWVyjpNfwpUPDdBWO4/8SzVxi+gxOsG/yGYugO+DPNdc 0IMg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=HB2MCHDu3HgA9EshZyPtgWRG8azVzZUZFLIwjsNXc4A=; b=ltZi74TQWgTRBiw61zM5zUv4seayn9QIZH14veKSADSde8YGAJ05bifctH9i+xqf7M boQenHfwgAsQbrjcJh8TCMzHFlg/8pKXo6Pop1wg52KA/4WzsumKD9UX/z5lGAl1at8N fZSjr1urTbolfCgcRKbvKHogssam5CAO+oDpproJS6WI3SQVW5spRCP1ePUuooGDrqXN BKuqL3exOkwpCiMXvvi+n1PiFAq501/SW9bM+5Oe9hhkBjzR/1jJNeqsqVG8JPEu99HY CTOhlw0zfbuS1jZcOFJaYBg0pTG+vQoNHyWjht+bVCpqZV3FiuqHN7kT8n8t+LB/PYXb 6cuQ== X-Gm-Message-State: ALyK8tJV1p1JlAgAB38AkJzzF/PJxW8l+N7LhPSFP7HqE63f453TW51fEaNYZbBRKHYHb0SoocH5h92hPtlQuw== MIME-Version: 1.0 X-Received: by 10.107.48.203 with SMTP id w194mr2390958iow.123.1464930328822; Thu, 02 Jun 2016 22:05:28 -0700 (PDT) Received: by 10.36.113.3 with HTTP; Thu, 2 Jun 2016 22:05:28 -0700 (PDT) In-Reply-To: References: Date: Thu, 2 Jun 2016 22:05:28 -0700 Message-ID: Subject: Re: CLOCK_MONOTONIC / CLOCK_UPTIME is not really monotonic between threads From: Adrian Chadd To: Maxim Sobolev Cc: FreeBSD Current , freebsd-threads@freebsd.org, FreeBSD Questions , "freebsd-arch@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Jun 2016 05:05:29 -0000 [snip] a) is it on one core, or multiple cores? b) CLOCK_MONOTONIC_FAST? c) is it on a system that /has/ invariant-TSC ? d) is this a multi-socket system? -adrian