This is a discussion on Re: Top - Mem: 119212k used within the Linux General forums, part of the Linux Forums category; On Tue, 29 Jul 2003 11:12:35 -0400, bd <bdonlan@bd-home-comp.no-ip.org> wrote: &...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
On Tue, 29 Jul 2003 11:12:35 -0400, bd <bdonlan@bd-home-comp.no-ip.org> wrote:
> > > On Sun, 27 Jul 2003 17:29:24 +0000, Alan Connor wrote: > >> On 27 Jul 2003 16:23:36 GMT, Davide Bianchi <davideyeahsure@onlyforfun.net> wrote: >>> >>> >>> Alan Connor <xxxxxx@xxxx.xxx> wrote: >>>> I'm trying to figure out why my memory footprint is so large when I am >>>> running NOTHING! >>> >>> Unused memory=wasted memory, use free, you'd probably discover tat >>> most of the memory is cache. >>> >>> Davide >> >> >> Yeh. That's a relief, but 60+megs to run nothing from a tty with X down, >> still seems an awful lot.... > > It'll make it run faster. If the memory is needed, it'll be freed > instantaneously. > Freed from WHAT? It's not being used for anything anyway. Alan -- For Linux/Bash users: Eliminate spam with the Mailbox-Sentry-Program. See the thread MSP on comp.mail.misc for the scripts and docs. |
|
|||
|
On Tue, 29 Jul 2003 15:39:48 +0000, Alan Connor wrote:
>>> Yeh. That's a relief, but 60+megs to run nothing from a tty with X down, >>> still seems an awful lot.... >> It'll make it run faster. If the memory is needed, it'll be freed >> instantaneously. > Freed from WHAT? It's not being used for anything anyway. I think they meant "freed from being used as cache" - but I think they may have also misunderstood "60+megs" as "60+megs including cache". You meant "60+megs after excluding cache", right? Here's some data from your original /dev/vcs2 examination: 126528K total 7316K free 18932K buffers 45920K cached This indicates 54360K in use, after excluding buffers and cache. Have you itemized this usage by process? |
|
|||
|
On Tue, 29 Jul 2003 16:24:09 GMT, Ed Murphy <emurphy42@socal.rr.com> wrote:
> > >> Freed from WHAT? It's not being used for anything anyway. > > I think they meant "freed from being used as cache" - but I think they > may have also misunderstood "60+megs" as "60+megs including cache". You > meant "60+megs after excluding cache", right? > > Here's some data from your original /dev/vcs2 examination: > > 126528K total > 7316K free > 18932K buffers > 45920K cached > > This indicates 54360K in use, after excluding buffers and cache. Have > you itemized this usage by process? > Been working on it, Ed. I removed all the gettys but 2 from /etc/inittab, and when running from a tty with screen, as I am at present, (X not up) I am using about 12 Megs of RAM, When I bring up the xserver, open an xterm and use it to launch a graphical browser (skipstone: REALLY need something smaller that's still graphical!) mem usage goes up to 37 megs! (16 for the xserver alone. i'm using flwm, which is the smallest window manager I could find. Alan -- For Linux/Bash users: Eliminate spam with the Mailbox-Sentry-Program. See the thread MSP on comp.mail.misc for the scripts and docs. |
|
|||
|
Alan Connor <xxxxxx@xxxx.xxx>,
In a message on Tue, 29 Jul 2003 17:29:54 GMT, wrote : AC> On Tue, 29 Jul 2003 16:24:09 GMT, Ed Murphy <emurphy42@socal.rr.com> wrote: AC> > AC> > AC> >> Freed from WHAT? It's not being used for anything anyway. AC> > AC> > I think they meant "freed from being used as cache" - but I think they AC> > may have also misunderstood "60+megs" as "60+megs including cache". You AC> > meant "60+megs after excluding cache", right? AC> > AC> > Here's some data from your original /dev/vcs2 examination: AC> > AC> > 126528K total AC> > 7316K free AC> > 18932K buffers AC> > 45920K cached AC> > AC> > This indicates 54360K in use, after excluding buffers and cache. Have AC> > you itemized this usage by process? AC> > AC> AC> Been working on it, Ed. AC> AC> I removed all the gettys but 2 from /etc/inittab, and when running from a tty AC> with screen, as I am at present, (X not up) I am using about 12 Megs of RAM, AC> AC> When I bring up the xserver, open an xterm and use it to launch a graphical AC> browser (skipstone: REALLY need something smaller that's still graphical!) AC> mem usage goes up to 37 megs! (16 for the xserver alone. i'm using flwm, which AC> is the smallest window manager I could find. On my system: sauron.deepsoft.com% free total used free shared buffers cached Mem: 126744 123080 3664 0 2676 38608 -/+ buffers/cache: 81796 44948 Swap: 530136 68920 461216 I use fvwm2 as my window manager. I use real xterms (/usr/bin/X11/xterm, not the 'fancy' xterms), and Mozilla. I have both Postgres AND Apache running. I *don't* use any sort of graphical file manager and use MicroEmacs 3.10 for editing. AC> AC> AC> Alan AC> AC> AC> AC> -- AC> For Linux/Bash users: Eliminate spam with AC> the Mailbox-Sentry-Program. See the thread AC> MSP on comp.mail.misc for the scripts and docs. AC> AC> \/ Robert Heller ||InterNet: heller@cs.umass.edu http://vis-www.cs.umass.edu/~heller || heller@deepsoft.com http://www.deepsoft.com /\FidoNet: 1:321/153 |
|
|||
|
On Tue, 29 Jul 2003 18:39:28 +0000, Robert Heller <heller@deepsoft.com> wrote:
> > > On my system: > > sauron.deepsoft.com% free > total used free shared buffers cached > > Mem: 126744 123080 3664 0 2676 38608 > -/+ buffers/cache: 81796 44948 > Swap: 530136 68920 461216 > > I use fvwm2 as my window manager. I use real xterms > (/usr/bin/X11/xterm, not the 'fancy' xterms), and Mozilla. I have both > Postgres AND Apache running. I *don't* use any sort of graphical file > manager and use MicroEmacs 3.10 for editing. > Yeh. I use a real xterm too. But am going to go to a smaller one because I don't use it for anything but calling x-apps. Much prefer screen. That's a pretty small footprint for all of that. What do you think of mc? Alan -- For Linux/Bash users: Eliminate spam with the Mailbox-Sentry-Program. See the thread MSP on comp.mail.misc for the scripts and docs. |
|
|||
|
Alan Connor <xxxxxx@xxxx.xxx>,
In a message on Tue, 29 Jul 2003 19:12:17 GMT, wrote : AC> On Tue, 29 Jul 2003 18:39:28 +0000, Robert Heller <heller@deepsoft.com> wrote: AC> > AC> > AC> > On my system: AC> > AC> > sauron.deepsoft.com% free AC> > total used free shared buffers cached AC> > AC> > Mem: 126744 123080 3664 0 2676 38608 AC> > -/+ buffers/cache: 81796 44948 AC> > Swap: 530136 68920 461216 AC> > AC> > I use fvwm2 as my window manager. I use real xterms AC> > (/usr/bin/X11/xterm, not the 'fancy' xterms), and Mozilla. I have both AC> > Postgres AND Apache running. I *don't* use any sort of graphical file AC> > manager and use MicroEmacs 3.10 for editing. AC> > AC> AC> Yeh. I use a real xterm too. But am going to go to a smaller one because I AC> don't use it for anything but calling x-apps. Much prefer screen. AC> AC> That's a pretty small footprint for all of that. AC> AC> What do you think of mc? Never used it. AC> AC> AC> Alan AC> AC> -- AC> For Linux/Bash users: Eliminate spam with AC> the Mailbox-Sentry-Program. See the thread AC> MSP on comp.mail.misc for the scripts and docs. AC> AC> \/ Robert Heller ||InterNet: heller@cs.umass.edu http://vis-www.cs.umass.edu/~heller || heller@deepsoft.com http://www.deepsoft.com /\FidoNet: 1:321/153 |