On Fri, Mar 16, 2018 at 05:10:44PM +, Emil Velikov wrote:
> On 16 March 2018 at 08:43, Daniel Vetter wrote:
> > On Thu, Mar 15, 2018 at 06:20:09PM -0700, James Xiong wrote:
> >> From: "Xiong, James"
> >>
> >> With gem_reuse enabled, when a buffer size is different than
> >> the sizes of bucke
>-Original Message-
>From: dri-devel [mailto:dri-devel-boun...@lists.freedesktop.org] On Behalf Of
>Daniel Vetter
>Sent: Friday, March 16, 2018 1:43 AM
>To: Xiong, James
>Cc: intel-...@lists.freedesktop.org; dri-devel@lists.freedesktop.org
>Subject: Re: [PATCH libd
On 16 March 2018 at 08:43, Daniel Vetter wrote:
> On Thu, Mar 15, 2018 at 06:20:09PM -0700, James Xiong wrote:
>> From: "Xiong, James"
>>
>> With gem_reuse enabled, when a buffer size is different than
>> the sizes of buckets, it is aligned to the next bucket's size,
>> which means about 25% more
On Thu, Mar 15, 2018 at 06:20:09PM -0700, James Xiong wrote:
> From: "Xiong, James"
>
> With gem_reuse enabled, when a buffer size is different than
> the sizes of buckets, it is aligned to the next bucket's size,
> which means about 25% more memory than the requested is allocated
> in the worst
From: "Xiong, James"
With gem_reuse enabled, when a buffer size is different than
the sizes of buckets, it is aligned to the next bucket's size,
which means about 25% more memory than the requested is allocated
in the worst senario. For example:
Orignal sizeActual
32KB+1Byte 40KB
.
.
.