Re: Topic for discussion: OS Design

From: Jesse Pollard (pollard@tomcat.admin.navo.hpc.mil)
Date: Thu Oct 26 2000 - 11:00:03 EST


Keith Owens <kaos@ocs.com.au>:
>
> On Thu, 26 Oct 2000 09:17:49 -0400 (EDT),
> "Richard B. Johnson" <root@chaos.analogic.com> wrote:
[snip]
> >This shows that out of 34,678 bytes we needed, we wasted 6282, ~1.5
> >pages. Since there are 5 modules, we waste about 1/3 page per module.
> >
> >So I don't, as you say; "... waste 1/2 page or more per module".
>
> Statistics say that the average loss will be 1/2 page per module. Some
> will waste more, some will waste less, average is 1/2 the unit.

Only if the size of a random module can be between 0 and a full page....

Module sizes are skewed data... there is a minimum size for a module
(somewhere around 1k, I believe - didn't measure it), and if the module
is going to DO anything then it will be between 1-2K. This skews the data
sample such that you are only loosing 1/2 of (1 page - minimum) or 1/2 of
3K = 1.5K. Hence the 1/3 measured loss will be closer to the correct
theoretical loss than 1/2.

-------------------------------------------------------------------------
Jesse I Pollard, II
Email: pollard@navo.hpc.mil

Any opinions expressed are solely my own.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Oct 31 2000 - 21:00:18 EST