LWN.net Logo

Heh...

Heh...

Posted Jan 9, 2012 13:06 UTC (Mon) by etienne (subscriber, #25256)
In reply to: Heh... by khim
Parent article: Linux Mint introduces Cinnamon

> transfer only 25 million bytes from memory at the same second.

Wiki PCIe 2.0 bandwidth: per-lane throughput rises from 250 MB/s to 500 MB/s
With an 8 line PCIe card we have 4Gbytes/s.
3000x2000 display in 32bpp: 22 Mbytes.
Maximum refresh rate (with all pixel changed at each refresh): 186 Hz
Unless I cannot calculate on Monday morning...


(Log in to post comments)

Yup. My mistake.

Posted Jan 9, 2012 13:14 UTC (Mon) by khim (subscriber, #9252) [Link]

Oops. I've actually looked on real tests but they were messed up (they had title "Memory Bandwidth, MB/s" and under that numbers between 20 and 25... now they are fixed and title says "Memory Bandwidth, MB/s" which of course makes a hell of difference).

Yes, your calculation looks correct - this means that in the absence of GPU acceleration perspective effect should be coded very carefully to saturate PCIe.

Oops...

Posted Jan 9, 2012 16:01 UTC (Mon) by khim (subscriber, #9252) [Link]

Sorry for repeating the typo :-( "Memory Bandwidth, MB/s" was replaced with "Memory Bandwidth, GB/s"...

Numbers are still between 20 and 25. For LGA 2011 CPUs it's between 40 and 45, but only if there are at least 6-8 threads working in parallel. For a single thread it's the same 20-25 GB/s.

Oops...

Posted Jan 9, 2012 17:20 UTC (Mon) by etienne (subscriber, #25256) [Link]

25 Gbits/s / 8 = 3 Gbytes/s
screen definition of 1600x1200 in 32 bits = 7.3 Mbytes
Maximum "total update" frequency: 3000 / 7 = 428 times/seconds.

That is obviously when you saturate the PCIe link, which may not be possible on PC.
It will be extremely sensitive to the amount of CPU cache you have and how you use it, less so on which assembly instruction you use.
PCIe is using posted write for even large write buffers, but it may be tricky in configuration.

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds