Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1031343AbWK3UVL (ORCPT ); Thu, 30 Nov 2006 15:21:11 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1031346AbWK3UVK (ORCPT ); Thu, 30 Nov 2006 15:21:10 -0500 Received: from mx2.mail.elte.hu ([157.181.151.9]:52965 "EHLO mx2.mail.elte.hu") by vger.kernel.org with ESMTP id S1031343AbWK3UVI (ORCPT ); Thu, 30 Nov 2006 15:21:08 -0500 Date: Thu, 30 Nov 2006 21:20:34 +0100 From: Ingo Molnar To: Wenji Wu Cc: Evgeniy Polyakov , Nick Piggin , David Miller , akpm@osdl.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [patch 1/4] - Potential performance bottleneck for Linxu TCP Message-ID: <20061130202034.GB14696@elte.hu> References: <20061130103240.GA25733@elte.hu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.2i X-ELTE-VirusStatus: clean X-ELTE-SpamScore: 0.0 X-ELTE-SpamLevel: X-ELTE-SpamCheck: no X-ELTE-SpamVersion: ELTE 2.0 X-ELTE-SpamCheck-Details: score=0.0 required=5.9 tests=none autolearn=no SpamAssassin version=3.0.3 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 946 Lines: 23 * Wenji Wu wrote: > >The solution is really simple and needs no kernel change at all: if > >you want the TCP receiver to get a larger share of timeslices then > >either renice it to -20 or renice the other tasks to +19. > > Simply give a larger share of timeslices to the TCP receiver won't > solve the problem. No matter what the timeslice is, if the TCP > receiving process has packets within backlog, and the process is > expired and moved to the expired array, RTO might happen in the TCP > sender. if you still have the test-setup, could you nevertheless try setting the priority of the receiving TCP task to nice -20 and see what kind of performance you get? Ingo - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/