From owner-freebsd-current@FreeBSD.ORG  Fri Nov  4 11:16:02 2011
Return-Path: <owner-freebsd-current@FreeBSD.ORG>
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 53B6A106566B
	for <freebsd-current@freebsd.org>; Fri,  4 Nov 2011 11:16:02 +0000 (UTC)
	(envelope-from fidaj@ukr.net)
Received: from fsm1.ukr.net (fsm1.ukr.net [195.214.192.120])
	by mx1.freebsd.org (Postfix) with ESMTP id C2E4C8FC12
	for <freebsd-current@freebsd.org>; Fri,  4 Nov 2011 11:16:01 +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=Q5JYJA1F6JPO0HI8TGs4OnN8Dzt/Xbg+QipTq5qPgPk=; 
	b=gnr+c7YX1fSesld+2C0p9H5O6woTwKpo720OkL/iATXE96Uvsc0vS1zPDD0ubNkwy/M82P1/L6sbbMMSFZAReT3KQPoQXG5gbvackSySfC3SVji9SwVREw/3Wo+8v98K5GstRJvBhCONC/aEwQA7u9++GMU3QrM+ubWqkoWBETk=;
Received: from [81.23.24.109] (helo=nonamehost.)
	by fsm1.ukr.net with esmtpsa ID 1RMHkc-000Ncj-9q
	; Fri, 04 Nov 2011 13:15:59 +0200
Date: Fri, 4 Nov 2011 13:15:27 +0200
From: Ivan Klymenko <fidaj@ukr.net>
To: Jeff Roberson <jroberson@jroberson.net>
Message-ID: <20111104131527.08d72583@nonamehost.>
In-Reply-To: <alpine.BSF.2.00.1111031120340.1995@desktop>
References: <4ea29f2c.a823440a.4aa0.3599SMTPIN_ADDED@mx.google.com>
	<alpine.BSF.2.00.1111031018030.1995@desktop>
	<4eb3032e.a82eec0a.12ad.ffff8d64SMTPIN_ADDED@mx.google.com>
	<alpine.BSF.2.00.1111031120340.1995@desktop>
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_/HZM2r9C6vj7Caiv83.q+3uO"
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
	<freebsd-current.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-current>, 
	<mailto:freebsd-current-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-current>
List-Post: <mailto:freebsd-current@freebsd.org>
List-Help: <mailto:freebsd-current-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-current>,
	<mailto:freebsd-current-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Fri, 04 Nov 2011 11:16:02 -0000

--MP_/HZM2r9C6vj7Caiv83.q+3uO
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

=D0=92 Thu, 3 Nov 2011 11:22:28 -1000 (HST)
Jeff Roberson <jroberson@jroberson.net> =D0=BF=D0=B8=D1=88=D0=B5=D1=82:

> When the x server is down at 20% is it laggy?

In different ways, but basically - yes.
Sometimes appear in Xorg.0.log messages like:
"[mi] EQ overflowing. The server is probably stuck in an infinite loop."
When I run a lot of programs is beginning to actively use swap,
although i have 4G RAM on my system and if use 4BSD or FBFS this does
not happen...

> Can you tell me the priorities of the x server and the compile tasks?

cc1: PRI 74-86 (4 processes)
X: PRI 20-74 (mainly 74 at high load CPU) WCPU: 0.98%-6.98%

> You can use the 'pri' keyword with ps and write a short script to log
> all priorities once per second during your test.

Yes.
ps ax|grep X
 2786  -  S     3:31,13 /usr/local/bin/X :0 -br -verbose
-auth /var/run/gdm/auth-for-gdm-cqiXfH/database -nolisten tcp (Xorg)

I use script
#!/bin/sh

while [ 1 -lt 2 ]
do
#ps -p 2786 -uo pri >> pri_test.log
ps -p 2786 -o pri >> pri_test.log
sleep 1
done

log file pri_test.log as an attachment...

> That would be most helpful.
> Let me know if you need assistance with that.

Thanks!

--MP_/HZM2r9C6vj7Caiv83.q+3uO--