From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933775AbbDUVy7 (ORCPT ); Tue, 21 Apr 2015 17:54:59 -0400 Received: from mail-ie0-f182.google.com ([209.85.223.182]:33417 "EHLO mail-ie0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933286AbbDUVy5 (ORCPT ); Tue, 21 Apr 2015 17:54:57 -0400 Message-ID: <1429653295.18561.16.camel@edumazet-glaptop2.roam.corp.google.com> Subject: Re: [PATCH 1/2] timer: Avoid waking up an idle-core by migrate running timer From: Eric Dumazet To: Thomas Gleixner Cc: viresh kumar , Ingo Molnar , Peter Zijlstra , linaro-kernel@lists.linaro.org, linux-kernel@vger.kernel.org, Steven Miao , shashim@codeaurora.org Date: Tue, 21 Apr 2015 14:54:55 -0700 In-Reply-To: References: <80182e47a7103608d2ddab7f62c0c3dffc99fdcc.1427782893.git.viresh.kumar@linaro.org> <5530C086.2020700@linaro.org> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.10.4-0ubuntu2 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 2015-04-21 at 23:32 +0200, Thomas Gleixner wrote: > > Are you realizing that __mod_timer() is a massive hotpath for network > heavy workloads? BTW I was considering using mod_timer_pinned() from these networking timers (ie sk_reset_timer()) get_nohz_timer_target() sounds cool for laptop users, but is one cause for bad responses to DDOS, when the selected cpu gets stressed. This is the reason I used mod_timer_pinned() in commit 789f558cfb3680ae ("tcp/dccp: get rid of central timewait timer")