From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] rte_alarm: modify it to make it not to be affected by discontinuous jumps in the system time Date: Wed, 21 Oct 2015 17:00:10 +0200 Message-ID: <3044859.K2I5XOdN4t@xps13> References: <1433472396-18852-1-git-send-email-wolkayang@gmail.com> <20151013173320.46e07232@xeon-e3> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org To: Jay Rolette Return-path: Received: from mail-wi0-f179.google.com (mail-wi0-f179.google.com [209.85.212.179]) by dpdk.org (Postfix) with ESMTP id 17D23C12C for ; Wed, 21 Oct 2015 17:01:18 +0200 (CEST) Received: by wijp11 with SMTP id p11so99430281wij.0 for ; Wed, 21 Oct 2015 08:01:18 -0700 (PDT) In-Reply-To: List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 2015-10-14 07:09, Jay Rolette: > Back when this was first submitted in June, I mentioned that > CLOCK_MONOTONIC_RAW was ~10x slower than CLOCK_MONOTONIC: > > http://dpdk.org/ml/archives/dev/2015-June/018687.html > > It's not completely free from NTP frequency adjustments, but it won't have > any discontinuities. > > That's what we've been using in our tree since then... This patch will be applied with CLOCK_MONOTONIC_RAW. Please send a patch to change it if relevant.