lkml.org 
[lkml]   [2000]   [Oct]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Topic for discussion: OS Design
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/

\
 
 \ /
  Last update: 2005-03-22 12:45    [W:0.054 / U:0.044 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site