9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: erik quanstrom <quanstro@quanstro.net>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] man is really slow on a terminal
Date: Wed, 16 Jan 2008 19:59:38 -0500	[thread overview]
Message-ID: <ab02ca98fa4d062fa678f028c3785fc5@quanstro.net> (raw)
In-Reply-To: <13426df10801161630q961f8dcu58c2901a420a71c1@mail.gmail.com>

> 
> I hope, hope, hope that nobody is really setting up firmware to
> respond to PCIe reads of the framebuffer. I don't see how this could
> be.

to read directly from the framebuffer, the video memory in the card
would have to be directly attached to the pcie interface on the card.
i believe that would require a general memory bus & coherency protcol
arbitrating between memory, pcie, and the gpu.

(the old-fashioned solution to this was dual-ported ram.)

of course, this is speculation.  but i think that it's safely not as simple
as just reading video memory.

also, even with the mtrr the reads are not read combining.  it's uncachable
for reads, so it's 32bit pio.  

> >
> > as one data point, my pcie-based nvidia card raises windows much
> > more slowly than the older agp one that i have.  and the pcie card
> > has every advantage.  the agp card runs in a intel celery system.
> 
> What OS? are you sure this is not an os setup issue?

uh, plan 9.

- erik

p.s. i found this link from nvidia on how to make textures faster.
one thing they're concerned about is the *latency* of downloading
textures.  that might apply to reading the fb as well.

http://download.nvidia.com/developer/Papers/2005/Fast_Texture_Transfers/Fast_Texture_Transfers.pdf


      reply	other threads:[~2008-01-17  0:59 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-16 18:19 john
2008-01-16 18:52 ` ron minnich
2008-01-16 19:05   ` erik quanstrom
2008-01-16 23:08     ` ron minnich
2008-01-16 23:14       ` erik quanstrom
2008-01-16 23:28         ` ron minnich
2008-01-16 23:42           ` erik quanstrom
2008-01-17  0:30             ` ron minnich
2008-01-17  0:59               ` erik quanstrom [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ab02ca98fa4d062fa678f028c3785fc5@quanstro.net \
    --to=quanstro@quanstro.net \
    --cc=9fans@cse.psu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).