RE: reducing memory footprint?

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

 



Gerald Richter wrote:

>Hi all,
>
>Thanks for your suggestions.
>
>I tried it out and here is the result (everything is after startup and
>without any load or work. The numbers are the virtual memory that ps shows):
>
>- default configuration ~ 122MB
>
>- reduce db cache from 10MB to 1 MB ~ 113MB
>
>- reduce number of threads from 30 to 3 ~ 57MB
>
>- disable unneeded plugins ~ 55MB
>
>BTW This is still a factor of 5 higher than OpenLdap, which takes about 10MB
>  
>
Can you explain a little more about your goal here ?
Trying to reduce the VM footprint for an application seems (to me) to be
a fruitless exercise. It'd be the working set size that one would typically
want to reduce. VM size is an (almost) meaningless number. For example
when you reduced the number of threads, the VM size went down because
you removed N * (thread stack size) from the process address space.
However, in reality you didn't change the application's use of system
resources significantly at all because almost none of the pages would
have been comitted. OpenLDAP probably uses a smaller stack size.

I would be interested in hearing if the WSS is too large. I don't have
a running slapd to check to hand, but I don't remember it being
terribly large last time I checked (20 meg from memory).







[Index of Archives]     [Fedora User Discussion]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora News]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora QA]     [Fedora Triage]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Yosemite Photos]     [Linux Apps]     [Maemo Users]     [Gnome Users]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Maemo Users]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Fedora ARM]

  Powered by Linux