Re: Milestones document



Hi, this is all very new to me so your tolerance is appreciated.
I read the web pages indicated below, but there is something that
is still not clear to me. Specifically, what is SHARE. 
I mean, is that reenterant code or is it a common (shared) pool of
variables?

And why is RSS - SHARE appropriate? For example, if you are running a
single program-A whos RSS = 1000 and SHARE = 750, then according to the
recomended evaluation of the amount of memory being used would be 250.
But suppose that this is the only program running. In other words,
there is the POTENTIAL to share 750, but in actuality there is no other
job/program that actually is sharing the 750. Wouldn't it then be more
appropriate to say that program-A uses 1000.

If I am so far off, that you don't know where to start with me, feel
free to point me to a book on UNIX memory management or something like
that. But if my understanding just needs a little tweeking, maybe you
could write a few lines to straighten me out.

thanks,
Mike



--- Ian Peters <itp@gnu.org> wrote:
> On Mon, Dec 06, 1999 at 05:59:29PM -0600, Eric Gillespie, Jr. wrote:
> > This is why I use rxvt:
> > 
> >   PID TTY STAT TIME  PAGEIN TSIZ DSIZ  RSS   LIM %MEM COMMAND
> >   596  ?  S    0:00     433   70 1761 1112    xx  1.1 rxvt
> >   538  p2 S    0:00     456  147 2724 1672    xx  1.7 xterm 
> >   543  p2 S    0:00     773   44 5259 3328    xx  3.4
> gnome-terminal
> 
> Please instead of posting this read
> 
> http://serendipity.res.cmu.edu/~jberkman/MemoryUsage/index.html
> 
> The PAGEIN value is much closer to the "true" memory usage than
> anything else, on my system gnome-terminal starts out using 750-some
> bytes, but if you use File->New Terminal, I can have 8 terminals
> running in only 892 bytes.  The RSS fields charges all the shared
> libraries that gnome-terminal uses against it, but that's not fair,
> because they are shared, hence other programs use the same memory.
> 
> -- 
> Ian Peters  | GnuPG Key ID 5C23D20C    | "They shout about love but
> when push
> itp@gnu.org | E584 2558 FAC3 BEAB EFAC |  comes to shove, they live
> for things
> itp@acm.org | FC74 CFED 7E24 5C23 D20C |  they're afraid of." -- Neil
> Peart
> 
> 
> -- 
>         FAQ: Frequently-Asked Questions at
> http://www.gnome.org/gnomefaq
>          To unsubscribe: mail gnome-list-request@gnome.org with 
>                        "unsubscribe" as the Subject.
> 
> 

__________________________________________________
Do You Yahoo!?
Thousands of Stores.  Millions of Products.  All in one place.
Yahoo! Shopping: http://shopping.yahoo.com



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]