[PATCH] glamor: Set environment variable RADEON_THREAD=0

Grigori Goronzy greg at chown.ath.cx
Wed Jul 30 11:27:47 PDT 2014


On 30.07.2014 09:33, Michel Dänzer wrote:
> +			/* This prevents the Gallium radeon winsys from spawning
> +			 * a separate thread for submitting command streams to
> +			 * the kernel. Imrpoves scores of at least gtkperf and
> +			 * x11perf -putimage/-shmput/-getimage/-shmget, probably
> +			 * because glamor causes too many command stream flushes
> +			 * / too much synchronization with pending command
> +			 * streams for the separate thread to pay off.
> +			 */
> +			setenv("RADEON_THREAD", "0", 0);
> +

How much difference does it actually make? This kind of gives me the
impression that the winsys threading may need some optimizations.

Grigori

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 246 bytes
Desc: OpenPGP digital signature
URL: <http://lists.x.org/archives/xorg-driver-ati/attachments/20140730/8437d5cc/attachment.sig>


More information about the xorg-driver-ati mailing list