[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.
> 

Well it's killing my ram then.
What changes for other tools other than apt-get? For example, apt-cache?

-- 
http://syx.googlecode.com - Smalltalk YX
http://lethalman.blogspot.com - Thoughts about computer technologies
http://www.debian.org - The Universal Operating System

Attachment: signature.asc
Description: Digital signature


Reply to: