All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC] libdrm_intel: Optimize BO alloc to avoid rounding to bucket size
@ 2014-08-29 10:02 Arun Siluvery
  2014-08-29 10:02 ` [RFC] libdrm_intel: Rework BO allocs to avoid rounding up " Arun Siluvery
  0 siblings, 1 reply; 6+ messages in thread
From: Arun Siluvery @ 2014-08-29 10:02 UTC (permalink / raw)
  To: intel-gfx; +Cc: Lancaster, Matthias Dejaegher

This patch reworks BO allocation to avoid rounding up to bucket size.
Considering the current bucket sizes, certain BOs are allocated with
more than the requested size wasting significant memory and it adds to
the memory pressure on systems with low memory and in the worst case
killing the benchmark itself which is not a good user experience.

The data presented is the shmem usage obtained from an Android device;
I am sending this patch to get initial feedback from the community and
I can get similar benchmark data on linux.

I am keen to upstream this and would really appreciate if you can review
and provide any comments/suggestions.


Garry Lancaster (1):
  libdrm_intel: Rework BO allocs to avoid rounding up to bucket size

 intel/intel_bufmgr_gem.c | 134 +++++++++++++++++++++++++++++------------------
 1 file changed, 83 insertions(+), 51 deletions(-)

-- 
2.0.4

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-08-29 12:33 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-29 10:02 [RFC] libdrm_intel: Optimize BO alloc to avoid rounding to bucket size Arun Siluvery
2014-08-29 10:02 ` [RFC] libdrm_intel: Rework BO allocs to avoid rounding up " Arun Siluvery
2014-08-29 10:16   ` Chris Wilson
2014-08-29 10:45     ` Siluvery, Arun
2014-08-29 11:18       ` Chris Wilson
2014-08-29 12:34         ` Daniel Vetter

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.