Google
  Web www.spinics.net

Re: Dispatching and scheduling--basic questions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


Daniel Stone wrote:
> What happens when an XGetImage
> requires a complete GPU sync (forget software rendering for a moment),
> which takes a while, then a copy? Bonus points if you have to stall to
> clean its MMU, too.  Then you memcpy it into SHM and get that out to
> the client, but in the meantime, all your other clients waiting for
> trivial requests are doing just that: waiting.

In a hypothetical future scheduler, all that time should be charged
against the client requesting the GetImage. Plus some extra, for abusing
GetImage.

"This request is not general-purpose in the same sense as other
graphics-related requests. It is intended specifically for rudimentary
hardcopy support."

I suspect that we could keep up with most commodity printers even if we
put the client to sleep for a full second each time it calls GetImage.

I'd cheer if ProcGetImage was replaced with "return BadAccess;", so take
anything I say on this subject with a grain of salt.

Peter Harris
-- 
     Hummingbird Connectivity - A Division of Open Text
Peter Harris                    http://connectivity.hummingbird.com
Research and Development        Phone: +1 905 762 6001
peter.harris@xxxxxxxxxxxxxxx    Toll Free: 1 877 359 4866
_______________________________________________
xorg mailing list
xorg@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/xorg

[X Forum]     [Devices]     [XFree86]     [XFree86 Newbie]     [Site Home]     [IETF Annouce]     [Security]     [Fontconfig]     [Bugtraq]     [Rubini]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Video for Linux]     [Linux RAID]     [Linux Resources]

Powered by Linux