From owner-freebsd-current@FreeBSD.ORG Thu Nov 3 21:09:37 2011 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 3C20D106566B for ; Thu, 3 Nov 2011 21:09:37 +0000 (UTC) (envelope-from fidaj@ukr.net) Received: from fsm2.ukr.net (fsm2.ukr.net [195.214.192.121]) by mx1.freebsd.org (Postfix) with ESMTP id ABC498FC18 for ; Thu, 3 Nov 2011 21:09:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=ukr.net; s=fsm; h=Content-Type:Mime-Version:References:In-Reply-To:Message-ID:Subject:Cc:To:From:Date; bh=vrMhpS/GYrR1HnpptlDMRR7AaA1xI1ay8awPu/0Uhoc=; b=ELnyv7KWK3SvP1F4qmwW1h70wI8h0GJKa0cwXWrj+jdHiAXv7Omb972tjV7zjxlf1vU9ivYuQHY24l2ti24vdSIvWbRpyXNfm6kFBruG6UOcgKf+bgf5ZmSCxIWhjeIYQ+ICdBN7WOdzUV6H+QL3u7hQFNb5ecIhVUEnjyqTf/M=; Received: from [81.23.24.116] (helo=nonamehost.) by fsm2.ukr.net with esmtpsa ID 1RM4XT-000124-Jr ; Thu, 03 Nov 2011 23:09:34 +0200 Date: Thu, 3 Nov 2011 23:08:29 +0200 From: Ivan Klymenko To: Jeff Roberson Message-ID: <20111103230829.0d26579e@nonamehost.> In-Reply-To: References: <4ea29f2c.a823440a.4aa0.3599SMTPIN_ADDED@mx.google.com> X-Mailer: Claws Mail 3.7.9 (GTK+ 2.22.1; amd64-portbld-freebsd9.0) Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="MP_/3p=06TSChVIs=2fxqfo=S/r" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-current@freebsd.org Subject: Re: Increase the degree of interactivity ULE scheduler 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: Thu, 03 Nov 2011 21:09:37 -0000 --MP_/3p=06TSChVIs=2fxqfo=S/r Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Thank you for taking the time to answer me. =D0=92 Thu, 3 Nov 2011 10:21:48 -1000 (HST) Jeff Roberson =D0=BF=D0=B8=D1=88=D0=B5=D1=82: > On Sat, 22 Oct 2011, Ivan Klymenko wrote: >=20 > > Hello people! > > > > I have: > > CPU: Intel(R) Core(TM)2 Duo CPU T7250 @ 2.00GHz (1994.48-MHz > > K8-class CPU) FreeBSD 10.0-CURRENT r226607 amd64 > > > > For example during the building of the port lang/gcc46 in four > > streams (-j 4) with a heavy load on the processor - use the system > > was nearly impossible - responsiveness was terrible - the mouse > > cursor sometimes froze on the spot a few seconds... >=20 > Am I right in understanding that you have only two cores? Yes. > What else is running that achieves poor interactivity? This is mainly a compilation with make option -j >=3D ncpu*2 And as an example - launching a large number of programs http://www.youtube.com/watch?v=3D1CLCp-dqWu0 This patch allows me to make do with ULE nearly as well as with FBFS Without the patch, somewhere in the middle of the time with ULE has been difficult to control the mouse cursor. > What is the cpu utilization of your x server at this time? ~2.00% - 20.00% WCPU time... But sometimes there are up to 79%... Upon unloading the CPU returns to normal... >=20 > > > > I managed to achieve a significant increase in the degree of > > interactivity ULE scheduler due to the following changes: >=20 > This patch probably breaks nice, adaptive idling, and slows the=20 > interactivity computation. That being said I'm not sure why it helps > you. >=20 > It seems that there are increasing reports of bad interactivity > creeping in to ULE over the last year. If people can help provide me > with data I can look into this more. >=20 I'll be glad to provide data > Thanks for your report. >=20 > Jeff How to repeat your tests on my system? http://jeffr-tech.livejournal.com/24280.html Sorry for my english. Thanks! --MP_/3p=06TSChVIs=2fxqfo=S/r--