[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: apt without MMap



"Eugene V. Lyubimkin" <jackyf.devel@gmail.com> writes:

> Hi Luca, thanks for look.
>
> Luca Bruno wrote:
>> You only analyzed the speed part of your changes, which is amazing.
>> But, what about the memory/resources used?
> Cache memory is consumed by arrays/lists of small struct's, which previously has fields of
> type map_ptrloc, where sizeof(map_ptrloc) == 4. In 'nommap' they contain (<type>)* fields,
> which has the same 4 bytes on 32-bit arches and 8 bytes on 64-bit ones.
>
> So, I assume that it will be only a regression in memory size on 64-bit arches, but I
> don't consider this as problem because 64-bit arches usually have large amounts of RAM,
> and additional 8-32 MiB of heap doesn't make a concern.

I fully consider it as a nice improvement for APT and fully support it
for 0.8.

Thanks a lot by looking into it :-D

-- 
        O T A V I O    S A L V A D O R
---------------------------------------------
 E-mail: otavio@debian.org      UIN: 5906116
 GNU/Linux User: 239058     GPG ID: 49A5F855
 Home Page: http://otavio.ossystems.com.br
---------------------------------------------
"Microsoft sells you Windows ... Linux gives
 you the whole house."


Reply to: