memory reduction

jw schultz jw at pegasys.ws
Tue Feb 10 04:10:23 GMT 2004


On Thu, Feb 05, 2004 at 09:27:51PM -0800, jw schultz wrote:
> As those of you who watch CVS will be aware Wayne has been
> making progress in reducing memory requirements of rsync.
> Much of what he has done has been the product of discussions
> between he and myself that started a month ago with John Van
> Essen.
> 
> Most recently Wayne has changed how the file_struct and its
> associated data are allocated, eliminating the string areas.
> Most of these changes have been small and relatively low
> impact although combining the allocation of the file_struct
> with the strings does impact the memory management of
> file_struct.
> 
> Attached is a patch that implements the next step.  It
> alters flist memory management and introduces a MM pool
> layer that reduces malloc overhead and allows destructors to
> actually release memory to the OS.
> 
> The patch adds a couple of new files so use patch -p1
> and rerun ./configure after patching.
> 

The patch has now been committed.  If you use "cvs update"
be sure to rerun ./configure.


More information about the rsync mailing list