On 03/10/2013 02:35 PM, Richard Braun wrote: > It can help, e.g. > noticing some linking operations take a lot of memory in a build > process, I'd just look at the working set/vmsize for that (usually, just pressing 'M' vs. 'P' in top)
> or tune a virtual machine by giving it less memory and making > it rely on the host cache instead Do you run with swap? I haven't configured any of my machines with swap for at least .. many years now[*]. That might be a key difference in our setups. Whenever I want to make stuff faster, I just give it tmpfs to use. Which is a lot of the time. I usually work with everything (source code trees, even virtual machine images on tmpfs). Then whenever I created something I want to keep I "commit" it (either to a repository or by copying to persistent storage). I was a little sketchy on the caching things I mentioned. I should have said I'm used to seeing cache/buffer distinctively. It's probably as simple as that. I too am curious what other people think about the patch. Seth [*] I'm sure you know the reasoning. Just in case: To me, if swap is needed, you're already dead in the water.(It means the machine is underdimensioned for what it's supposed to do). I prefer to OOM-kill, rather than have swap grind the system to a halt ------------------------------------------------------------------------------ Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the endpoint security space. For insight on selecting the right partner to tackle endpoint security challenges, access the full report. http://p.sf.net/sfu/symantec-dev2dev _______________________________________________ htop-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/htop-general
