Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261185AbVEXWax (ORCPT ); Tue, 24 May 2005 18:30:53 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261357AbVEXW2M (ORCPT ); Tue, 24 May 2005 18:28:12 -0400 Received: from rwcrmhc12.comcast.net ([216.148.227.85]:11473 "EHLO rwcrmhc12.comcast.net") by vger.kernel.org with ESMTP id S261321AbVEXW1u (ORCPT ); Tue, 24 May 2005 18:27:50 -0400 From: kernel-stuff@comcast.net (Parag Warudkar) To: "Clifford T. Matthews" , linux-kernel@vger.kernel.org Cc: Cliff Matthews Subject: Re: surprisingly slow accept/connect cycle time Date: Tue, 24 May 2005 22:27:41 +0000 Message-Id: <052420052227.599.4293AA5D00008DF100000257220075074400009A9B9CD3040A029D0A05@comcast.net> X-Mailer: AT&T Message Center Version 1 (Dec 17 2004) X-Authenticated-Sender: a2VybmVsLXN0dWZmQGNvbWNhc3QubmV0 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 596 Lines: 14 I can confirm that it takes ages to complete without the sched_yield. (2.6.11-gentoo). With sched_yield it's very fast. Funny thing is that strace'ing the running process (without sched_yield) makes it run very fast. I tried to oprofile it but no kernel or process stats changed due to the process run. (It might be doing nothing at all..) Parag - 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/