From owner-freebsd-current@FreeBSD.ORG Fri Nov 2 18:27:31 2012 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 032E7B1D for ; Fri, 2 Nov 2012 18:27:31 +0000 (UTC) (envelope-from jroberson@jroberson.net) Received: from mail-pb0-f54.google.com (mail-pb0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id C09418FC12 for ; Fri, 2 Nov 2012 18:27:29 +0000 (UTC) Received: by mail-pb0-f54.google.com with SMTP id rp8so2813479pbb.13 for ; Fri, 02 Nov 2012 11:27:29 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=date:from:x-x-sender:to:subject:message-id:user-agent:mime-version :content-type:x-gm-message-state; bh=cUWiu4eaY3/9Tp1XlmmrOW/kQSvgInlEG6a4sA1IRl0=; b=Vlkvlip/gks3be7sKmWTvWg6MzUis86upP34/k+7crWnH3xF51tCJmc7j1NudFTuot HxcKepbzyBEzVb9QG4LOcTLzzW6PifZ+1EgujRhk8KYlVWYe/DqwsUPB7DCTxzThdJtJ plpFhYWxtxebdli1oOPgADCJmy7jrFrWALdUicKKCyehchb0QFpEn7cnvYNztaClcKFa A3rGkTfADdrkPCO4k7Y6NRiA1+09IBYZxOiphQKYqRTb3gNi5PCNnp7ESwZhAGWXOPmH Os00zThUFMrmaQ0U1twwS635UdAeTcQJCpSVMQ2+pKEfCLR51uNqp+EAooRpARpZ1Zyb yksQ== Received: by 10.68.189.8 with SMTP id ge8mr8914534pbc.24.1351880849420; Fri, 02 Nov 2012 11:27:29 -0700 (PDT) Received: from rrcs-66-91-135-210.west.biz.rr.com (rrcs-66-91-135-210.west.biz.rr.com. [66.91.135.210]) by mx.google.com with ESMTPS id ho7sm6121879pbc.3.2012.11.02.11.27.27 (version=SSLv3 cipher=OTHER); Fri, 02 Nov 2012 11:27:28 -0700 (PDT) Date: Fri, 2 Nov 2012 08:26:07 -1000 (HST) From: Jeff Roberson X-X-Sender: jroberson@desktop To: current@freebsd.org Subject: ULE patch, call for testers Message-ID: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Gm-Message-State: ALoCoQlWAJUHxjt2OWonBl6VBA+qrCMu4B4MZTK6FjJvy4grUtb4nkh5s87CFa4sfmE53w6dFwwE X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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: Fri, 02 Nov 2012 18:27:31 -0000 I have a small patch to the ULE scheduler that makes a fairly large change to the way timeshare threads are handled. http://people.freebsd.org/~jeff/schedslice.diff Previously ULE used a fixed slice size for all timeshare threads. Now it scales the slice size down based on load. This should reduce latency for timeshare threads as load increases. It is important to note that this does not impact interactive threads. But when a thread transitions to interactive from timeshare it should see some improvement. This happens when something like Xorg chews up a lot of CPU. If anyone has perf tests they'd like to run please report back. I have done a handful of validation. Thanks, Jeff