On Thu, Mar 9, 2017 at 8:37 AM, Eero Tamminen <eero.t.tammi...@intel.com>
wrote:

> HI,
>
> On 09.03.2017 13:28, Tapani Pälli wrote:
> ...
>
>> We had some discussion today with Eero and came to conclusion that maybe
>> that 2GB is actually too big for 32bit system anyway and should consider
>> to have even smaller block pool size in this case? Or should I just send
>> a patch that adds '- 1' to ftruncate call? Opinions?
>>
>
> Vulkan driver taking 2GB out of application address space, doesn't leave
> that much for rest of the memory mappings, if the application itself would
> want to mmap() some large data files.
>

That's not really what's going on.  We ftruncate the file to 2GB to make
sure it's "big enough" but we only mmap a very small portion of it.
Dropping the size to 1GB should be just fine.
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to