public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* depmod memory usage.
@ 2011-11-18 20:35 Dave Jones
  2011-11-18 21:35 ` Jon Masters
  0 siblings, 1 reply; 2+ messages in thread
From: Dave Jones @ 2011-11-18 20:35 UTC (permalink / raw)
  To: Linux Kernel; +Cc: rusty, jcm

I pulled out an older laptop last night to test something, and built
a kernel on it.  When I did the make install part, the machine almost
ground to a halt.

It turned out that depmod used at peak 1.7GB of memory, (the laptop only had 1GB,
so it was swapping to the point of locking up interactivity for minutes
at a time).  It took an hour to complete.

The config file is pretty pathological (it's a distro build, so tons of
modules -- http://codemonkey.org.uk/junk/fedora-config-x86-64)

It's been a while since I built on a machine with this amount of memory,
but it seems that depmod has taken a big step backwards as it used to
cope with this just fine.

This is with the m-i-t that shipped in Fedora 16 (3.16)

	Dave


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: depmod memory usage.
  2011-11-18 20:35 depmod memory usage Dave Jones
@ 2011-11-18 21:35 ` Jon Masters
  0 siblings, 0 replies; 2+ messages in thread
From: Jon Masters @ 2011-11-18 21:35 UTC (permalink / raw)
  To: Dave Jones; +Cc: Linux Kernel, rusty, jcm

On Fri, 2011-11-18 at 15:35 -0500, Dave Jones wrote:
> I pulled out an older laptop last night to test something, and built
> a kernel on it.  When I did the make install part, the machine almost
> ground to a halt.
> 
> It turned out that depmod used at peak 1.7GB of memory, (the laptop only had 1GB,
> so it was swapping to the point of locking up interactivity for minutes
> at a time).  It took an hour to complete.
> 
> The config file is pretty pathological (it's a distro build, so tons of
> modules -- http://codemonkey.org.uk/junk/fedora-config-x86-64)
> 
> It's been a while since I built on a machine with this amount of memory,
> but it seems that depmod has taken a big step backwards as it used to
> cope with this just fine.
> 
> This is with the m-i-t that shipped in Fedora 16 (3.16)

I'll do some digging at the distro specific side of things. It's odd
because I've got a couple of netbooks and embedded systems with *less*
memory than 1GB that run depmod just fine. There were some memory leaks
in older versions that should not be a problem any more.

Jon.



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-11-18 22:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-18 20:35 depmod memory usage Dave Jones
2011-11-18 21:35 ` Jon Masters

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox