Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Research methods for conserving memory bandwidth #34

Open
any1 opened this issue Jun 12, 2020 · 0 comments
Open

Research methods for conserving memory bandwidth #34

any1 opened this issue Jun 12, 2020 · 0 comments
Labels

Comments

@any1
Copy link
Owner

any1 commented Jun 12, 2020

I've been thinking a bit about what would be the best way to make things faster on platforms such as the i.MX6. The biggest constraint is probably memory bandwidth, and to that end these are the things that we could try optimising:

  • The ZRLE encoder currently copies its results into a buffer and then sends the whole buffer. By dividing the zlib stream into chunks that are sent as soon as they are available, there should be less memory traffic. Hopefully individual chunks can fit in the cache.
  • A similar approach can be used for "tight" encoding.
  • We could look into tiling nvnc_fb and perhaps even compressing it. I suspect that the i.MX6 has plenty of processing power that just goes to waste because the bus just can't cope. Perhaps compression can improve performance. Lossy compression of the buffer might even be a good compromise when the user allows it.

cc @agners

@any1 any1 added the research label Jun 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant