Re: Slow loading big kernel module in 2.6 on PPC platform

From: Wilson Li
Date: Wed Sep 28 2005 - 16:38:16 EST




--- Bill Davidsen <davidsen@xxxxxxx> wrote:

> Wilson Li wrote:
> > Hi,
> >
> > I am trying to port several third party kernel modules from
> kernel
> > 2.4 to 2.6 on a ppc (MPC824x) platform. For small size of
> modules, it
> > works perfectly in 2.6. But there's one huge kernel module which
> size
> > is about 2.7M bytes (size reported by lsmod after insmod), and it
> > takes about 90 seconds to load this module before init_module
> starts.
> > I did not notice there's such obvious delay in 2.4 kernel.
>
> How big is the module on disk? That is, what is the disk to memory
> transfer size. Really 2.7MB, or is there a lot of uninitialized
> storage?
> --
> -bill davidsen (davidsen@xxxxxxx)

The original module size on disk is around 3.3M bytes. Here's details
of size.

text data bss dec hex filename
2025644 263244 213024 2501912 262d18 mrbig.ko

Thanks,
Wilson Li




______________________________________________________
Yahoo! for Good
Donate to the Hurricane Katrina relief effort.
http://store.yahoo.com/redcross-donate3/

-
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/