Hemmann, Volker Armin posted <[EMAIL PROTECTED]>, excerpted below, on Wed, 25 Jan 2006 23:11:22 +0100:
> On Wednesday 25 January 2006 20:37, Duncan wrote: >> >> With a gig of physical memory here, and swap entirely turned off for >> some time, my issues weren't with kdebase or kdelibs, but with kdepim, >> before the spit ebuilds, or kmail, since them. With >> USE=kdeenablefinal, there's one spot in the kmail build that takes over >> 700MB for a single build-thread! I watched as the single thread >> gobbled that much, in top. > > swap does not help. > > I had several ooms with tons of swap free... > > (I have posted one of these to lkml and asked for an explanation, but > got none). > > So I use -j1 now. > Has the advantage, that my single core, single cpu box is much more > responsive while compiling away in the background ;) Were you the one that posted to that effect some time ago? At the time, I had swap turned off, so I couldn't verify one way or another, but like I said, I've run up to 5 merges at a time, at -j3, including the big kmail with its 700 meg requirement, actually sort of trying to duplicate that OOM someone mentioned before (that it wouldn't go to swap), and somewhat to my surprise, everything went thru. I do know that memory isn't as simple as you have it or you don't. There are different zones of memory, and locked memory that can't swap as compared to regular memory that can. At the time of the earlier report, I assumed something was running that couldn't swap. <shrug> There's one other factor with KDE, as well. Regular (GNU?) make doesn't make as efficient a use of parallel jobs as unsermake does. My tests above were with regular make, because I haven't been able to get unsermake running correctly such that the KDE builds would use it, for some time. I believe it broke with KDE 3.4, upline, anyway, and they basically gave up on it. From what I've read, 4.0 will use a different make system again, not GNU-make, not unsermake, something else. They gave up on unsermake. Regular GNU-make will AFAIK be usable, as it is with KDE 3, but it's just not terribly efficient on C++ code and when you are compiling that much... -- Duncan - List replies preferred. No HTML msgs. "Every nonfree program has a lord, a master -- and if you use the program, he is your master." Richard Stallman in http://www.linuxdevcenter.com/pub/a/linux/2004/12/22/rms_interview.html -- [email protected] mailing list
