Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Nov 2010 16:08:24 +0200
From:      Kostik Belousov <kostikbel@gmail.com>
To:        Andriy Gapon <avg@freebsd.org>
Cc:        freebsd-performance@freebsd.org
Subject:   Re: TTY task group scheduling
Message-ID:  <20101119140824.GO2392@deviant.kiev.zoral.com.ua>
In-Reply-To: <4CE64879.2060802@freebsd.org>
References:  <AANLkTinHSX1%2Bs3hrHyDeU2Vfp6zekTe04XkHhTc2jtLv@mail.gmail.com> <4CE50849.106@zedat.fu-berlin.de> <4CE52177.3020306@freebsd.org> <20101118182324.GA36312@freebsd.org> <20101119044129.GA4063@johnny.reilly.home> <20101119094652.00003652@unknown> <4CE64879.2060802@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--mcnwp324tjjFs4IZ
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Nov 19, 2010 at 11:50:49AM +0200, Andriy Gapon wrote:
> on 19/11/2010 11:46 Bruce Cran said the following:
> > [removed current@ and stable@ from the Cc list]
> >=20
> > On Fri, 19 Nov 2010 15:41:29 +1100
> > Andrew Reilly <areilly@bigpond.net.au> wrote:
> >=20
> >> On Linux.  Have you ever seen those sorts of UI problems on FreeBSD?
> >> I don't watch much video on my systems, but I haven't seen that.
> >> FreeBSD has always been good at keeping user-interactive processes
> >> responsive while compiles or what-not are going on in the background.
> >=20
> > I've definitely seen problems when running builds in an xterm. I've
> > often resorted to canceling it and running it on a syscons console
> > instead to improve performance.
> >=20
>=20
> So, what was it a problem with scheduler or with, e.g., "something X"
> being too slow rendering glyphs? Who can tell...

Probably will pay a lot in negative karma by posting anything in the
thread. But I can confirm your words, that tty->xterm->X server chain
of output indeed significantly slows down the build processes.

I usually never start build in the barebone xterm, always running screen
under xterm. make -j 10 on 4 core/HTT cpu slows up to a half, from my
unscientific impression, when run in the active screen window. Switching
to other window in screen significantly speeds it up (note the prudent
omission of any measured numbers).

--mcnwp324tjjFs4IZ
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (FreeBSD)

iEYEARECAAYFAkzmhNgACgkQC3+MBN1Mb4j6BwCg4JGYHhi3OwCkYR0ccv5ro5Ki
8dgAoOsRIy9Sj0SZl8QYOVKghzkcpEYn
=QAjw
-----END PGP SIGNATURE-----

--mcnwp324tjjFs4IZ--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20101119140824.GO2392>