From owner-freebsd-current@FreeBSD.ORG Wed Oct 3 03:19:08 2007 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D56DA16A469 for ; Wed, 3 Oct 2007 03:19:08 +0000 (UTC) (envelope-from pieter@degoeje.nl) Received: from smtp.utwente.nl (unknown [IPv6:2001:610:1908:1000:204:23ff:feb5:7e66]) by mx1.freebsd.org (Postfix) with ESMTP id 5BB9613C44B for ; Wed, 3 Oct 2007 03:19:08 +0000 (UTC) (envelope-from pieter@degoeje.nl) Received: from lux.student.utwente.nl (lux.student.utwente.nl [130.89.170.81]) by smtp.utwente.nl (8.12.10/SuSE Linux 0.7) with ESMTP id l933IhHh012906; Wed, 3 Oct 2007 05:18:43 +0200 From: Pieter de Goeje To: freebsd-current@freebsd.org Date: Wed, 3 Oct 2007 05:18:42 +0200 User-Agent: KMail/1.9.7 References: <20071002165007.D587@10.0.0.1> In-Reply-To: <20071002165007.D587@10.0.0.1> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200710030518.42805.pieter@degoeje.nl> X-UTwente-MailScanner-Information: Scanned by MailScanner. Contact helpdesk@ITBE.utwente.nl for more information. X-UTwente-MailScanner: Found to be clean X-UTwente-MailScanner-From: pieter@degoeje.nl X-Spam-Status: No Cc: Jeff Roberson Subject: Re: ULE/yielding patch for testing. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Oct 2007 03:19:08 -0000 On Wednesday 03 October 2007, Jeff Roberson wrote: > Enclosed is a patch that does two things: > > 1) Reduces UP context switch time by over 10% making it faster than 4BSD > on UP. On SMP it's hard to compare since ULE can do as many as 30x as > many switches per second on my 8way system. > > 2) Restores old sched_yield() behavior from 6.x. This was changed in > -current unintentionally I think. > > I'd appreciate any extra testing. The ULE context switch time > improvements required some changes to the frequency that we recalculate > priorities. I'm mostly interested in hearing whether this causes any > regression in normal workloads. > > Those of you still using 4BSD can also verify that the yield changes don't > cause any problems there. > > Thanks, > Jeff No problems so far :) Seems to work great. I didn't see the (unrelated?) panic Yuri Pankov spoke of. Testing was done on UP am64, running KDE, kmail while listening to music and compiling some ports. I haven't tried to run a fork bomb yet. Cheers, Pieter de Goeje