Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Apr 2014 16:18:39 +0300
From:      Arto Pekkanen <isoa@kapsi.fi>
To:        Ivan Klymenko <fidaj@ukr.net>
Cc:        ports@FreeBSD.org, x11@FreeBSD.org, Niclas Zeising <zeising@freebsd.org>
Subject:   Re: [CFT] x11-servers/xorg-server with initial (GCD) Grand Central Dispatch support
Message-ID:  <53566C2F.8090309@kapsi.fi>
In-Reply-To: <20140421152732.716b897b@nonamehost.local>
References:  <20140420200534.72226779@nonamehost.local> <5354E550.7050803@freebsd.org> <20140421152732.716b897b@nonamehost.local>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--m003oifnSVLLQSXO3S1wMnVvIniQW7O13
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Wow, sounds cool! I just wanted to say thank you for researching somethin=
g not officially researched elsewhere :)

You could fork the current X.org port, and maintain a partial ports tree =
in a separate repository. Then people interested in testing the X.org wit=
h GCD support could easily use http://www.freshports.org/ports-mgmt/ports=
haker/ to merge your X.org with main ports tree.

I've never used portshaker, nor maintained any port myself, but this seem=
s like the right way to do it.

On 21.4.2014 15:27, Ivan Klymenko wrote:
> =D0=92 Mon, 21 Apr 2014 11:30:56 +0200
> Niclas Zeising <zeising@freebsd.org> =D0=BF=D0=B8=D1=88=D0=B5=D1=82:
>=20
>> On 04/20/14 19:05, Ivan Klymenko wrote:
>>> Hi all.
>>>
>>> You are tired of frequent friezes xorg server?
>>> Are you bored messages in /var/log/Xorg.0.log:
>>> "
>>> ...
>>> [mi] EQ overflowing.  Additional events will be discarded until
>>> existing events are processed. ...
>>> "
>>> ?
>>>
>>> :)
>>>
>>> Then you here! :)
>>>
>>> Patch attached :)
>>>
>>> If you like, we can continue to develop this area.
>>
>> First of all, what is GCD.
>=20
> What is GCD - for example can be read here:
> http://en.wikipedia.org/wiki/Grand_Central_Dispatch
>=20
>> Second of all, how does this affect the normal way things are done?
>=20
> X server has a single queue of requests, which processed
> sequentially.
> Some applications for various reasons, either block the queue or
> handled too long.
> And as a result - have dead GUI (server refuses to accept new requests
> for processing, until the guilty process it works), and messages
> similar to the following:
> " ...
> [mi] EQ overflowing.  Additional events will be discarded until
> existing events are processed.
> ...
> "
> or any other type of "overflowing"...
> It regards changes in mi/mieq.c and mi/mipointer.c
>=20
> In this case using GCD queue handled on separate threads.
> GUI - always responsive.
>=20
> Yes - I suspect that there is a risk of attack on xorg-server where the=

> threads limit is exceeded in the system, but we can modify and somehow
> eliminate in the future ...
>=20
>> Thirdly, are there any plans to upstream this?
>=20
> Unfortunately I'm not too familiar with the plans xorg community,
> but xorg still single threaded and it s one of its key weaknesses.
> I also do not have any information - whether GCD support in other
> operating systems (likely they are united to advance wayland - not
> xorg-server) which can be used xorg-server... So I think that these
> changes will be specific only for FreeBSD.
>=20
> Frankly, I think i do not have arguments and knowledge of the
> English tongue, that would implement support GCD in upstream :)
>=20
>> Lastly, which versions of xorg-server does this work with?
>=20
> These changes were in xorg-server-1.12.4 and up...
>=20
>=20
> Sorry for my english.
> _______________________________________________
> freebsd-x11@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-x11
> To unsubscribe, send any mail to "freebsd-x11-unsubscribe@freebsd.org"
>=20


--m003oifnSVLLQSXO3S1wMnVvIniQW7O13
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (MingW32)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJTVmwvAAoJEGSnDuw8E9qYuPEH/0hv8R/FZFjVqtz7I9PM1VrZ
0bAkHlnGalV2eDyRV/as71aMbWzYHJWgCFi1qJ1sTFDkszuMKaeh+VHFJHGDou4R
TOkJ9VvDuVRUNpcFKrXAVn6QOCFlimyujEAO/iy2wju3x0ctar2WI6rVzf4ddnfh
eChCHe1X4EeIeweKi+EVHzt/PM/BXVfcM3j8snlJ8yxHTd6LSBViXw59RtfNVZvz
pExmxwpauaDpiaRw3QT7n0O7K9n5ndu7yKe30O9oqFNS3Fr+HmxyXO0SErOYC3cA
x+RWzOHufz0sWPVVPe1peCaAl739mXaaSU1TfowlvWQDn9OrnNt84MFekmEYA0E=
=9ZNg
-----END PGP SIGNATURE-----

--m003oifnSVLLQSXO3S1wMnVvIniQW7O13--



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