depmod memory usage.

From: Dave Jones
Date: Fri Nov 18 2011 - 15:35:55 EST


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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/