Re: FVWM: FVWM modules

From: Dominik Vogt <fvwm_at_fvwm.org>
Date: Wed, 14 Aug 2002 19:51:10 +0200

On Wed, Aug 14, 2002 at 10:25:28AM -0700, Perry Hutchison wrote:
> > > Point is, Perl is *huge* (last I heard). If most of the size is
> > > in the text segment, and some Perl process is already running, it's
> > > possible that the incremental size of an additional process is not
> > > all that big.
> >
> > I don't know what "huge" means for you. Are xterm or rxvt huge?
> >
> > USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
> > migo 19860 1.5 0.6 2712 1292 pts/23 S 19:29 0:00 rxvt
> > migo 19877 3.3 1.1 5840 2240 pts/23 S 19:30 0:00 xterm
> > migo 19778 0.0 0.4 2444 832 pts/7 S 19:24 0:00 perl
> >
> > migo 16908 0.0 1.2 4292 2432 tty6 S 13:32 0:02 FvwmPager
> > migo 16897 0.0 1.4 3924 2768 tty6 S 13:32 0:00 /usr/bin/perl -w .../themes/redmondxp/modules/FvwmThemesPanelManager
> > migo 19947 0.0 1.2 3464 2296 tty6 S 19:39 0:00 /usr/bin/perl -w .../FvwmAutoReplacementPostedInThisMailThread
>
> Interesting that there are no shell processes in this list :)
>
> Compared with other script interpreters, I would expect Perl to be
> much larger than a Bourne shell, and probably larger than bash.
> Perl used to be described as a "Swiss Army chainsaw" on the way to
> becoming a "Swiss Army tactical nuke."
>
> I don't have any Perl processes active, but here are some samples
> of other stuff (on Red Hat 6.2/i686, FVWM 2.2.4). Netscape is the
> clear winner of the bloat award :)
>
> USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
> phutchis 5115 0.0 0.5 2532 1508 ? S 08:08 0:02 fvwm2
> phutchis 5242 6.6 0.5 2392 1328 ? S 08:08 7:47 xosview -geometry +1383+0
> phutchis 5244 0.1 5.5 22428 14392 ? S 08:08 0:08 /usr/lib/netscape/netscape-communicator -irix-session-management -geometry +0+0
> phutchis 5298 0.0 0.8 4284 2168 ? S 08:08 0:00 xterm
> phutchis 5302 0.0 0.3 1628 844 ? S 08:08 0:00 sh /folk/phutchis/.xsession
> phutchis 5327 0.0 0.3 1716 1012 pts/1 S 08:08 0:00 bash
> phutchis 5328 0.0 0.3 2120 944 ? S 08:08 0:00 /usr/X11R6/lib/X11/fvwm2/FvwmPager 8 5 /folk/phutchis/.fvwm2rc 0 8 0 0
> phutchis 5434 0.0 1.4 5112 3860 ? S 08:08 0:03 ical -geometry +450+300
>
> For a comparison involving an actual Bourne shell, this is from
> Solaris/sun4u 2.5.1:
>
> USER PID %CPU %MEM SZ RSS TT S START TIME COMMAND
> phutchis 879 0.2 1.2 3232 3040 ? R 08:08:28 0:00 xterm
> phutchis 880 0.0 0.5 1496 1296 pts/1 S 08:08:28 0:00 bash
> phutchis 1051 0.0 0.4 912 832 pts/1 R 10:14:48 0:00 /bin/sh -c /usr/ucb/ps ugxww

What's the point in this discussion? On the average system, the
shell and probably perl too are probably permanently in main
memory. It's moot to discuss the size of the executable in memory
since it's there anyway. What counts it the dynamic memory usage,
and that depends on what you do with perl/shell/whatever (and you
won't see it in "top"). memstat gives much better information
about dynamic memory usage.

Bye

Dominik ^_^ ^_^

 --
Dominik Vogt, mail: dominik.vogt_at_schlund.de, phone: 0721/91374-382
Schlund + Partner AG, Erbprinzenstr. 4-12, D-76133 Karlsruhe
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Wed Aug 14 2002 - 12:52:22 BST

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:53 BST