From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ea0-x22b.google.com (mail-ea0-x22b.google.com [IPv6:2a00:1450:4013:c01::22b]) by dpdk.org (Postfix) with ESMTP id 30F22532D for ; Wed, 5 Jun 2013 16:24:50 +0200 (CEST) Received: by mail-ea0-f171.google.com with SMTP id m14so1219917eaj.2 for ; Wed, 05 Jun 2013 07:24:57 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=message-id:date:from:organization:user-agent:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding:x-gm-message-state; bh=fhqOAHJW78xVTFGd0pkLFPpJKivru+4bMbqwV/ePJDY=; b=nBNYqGZrvPaD7Jj3cqqNmSLtqMR9V/Q0BkA80Q4uVTQUR0GMHsKZ/ffcywM0kUvDrz tE3mSKTMiB2ftx/xb5mbR4UKY+PWLgtdO2dgTyBTS7SI1i0puM2CJYaul3DCusyqP2gE 68ro8gAEsUnn8AWuzS+8LH45uTmcHJxLop/soTeG/M55jBiFnExknk45C4PY4yBfR1yR zAyH2keMVQcVkrEqk2vmph8MqdiQQgLpxlpzElnNQxOPtJQpkEiq4I/nwyaMG8XND6Mf ATI7pWGG+3xCabSsTIJ/sKTFli0SZmdpbUPEgIdOiHFjlOD7RjsDtdYSRHrZ2JnDqbQT wlZA== X-Received: by 10.15.23.194 with SMTP id h42mr9628247eeu.123.1370442297822; Wed, 05 Jun 2013 07:24:57 -0700 (PDT) Received: from saturne.dev.6wind.com (6wind.net2.nerim.net. [213.41.180.237]) by mx.google.com with ESMTPSA id bk1sm49846814eeb.5.2013.06.05.07.24.56 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 05 Jun 2013 07:24:56 -0700 (PDT) Message-ID: <51AF4A42.4000005@6wind.com> Date: Wed, 05 Jun 2013 16:25:06 +0200 From: Vincent JARDIN Organization: www.6wind.com User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130311 Thunderbird/17.0.4 MIME-Version: 1.0 To: dev@dpdk.org References: <20130530171234.301927271@vyatta.com> <20130530171626.825256039@vyatta.com> In-Reply-To: <20130530171626.825256039@vyatta.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Gm-Message-State: ALoCoQl8k4C8b4jjEmd0qcNzGozbelGfCuabmg7MkohsJcnM7EwUc03Y+TqgIoSUlZX0cOwR/Qwg Subject: Re: [dpdk-dev] [PATCH 2/7] rte_timer: optimize for empty case X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Jun 2013 14:24:50 -0000 On 30/05/2013 19:12, Stephen Hemminger wrote: > In many application there are no timers queued, and the call to > rte_timer_managecan be optimized in that case avoid reading HPET and > lock overhead. > > Signed-off-by: Stephen Hemminger Reviewed-by: Vincent Jardin It is a nice to have for performance since HPET is quite slow.