From: Benjamin Redelings I <bredelin@ucla.edu>
To: Rajagopal Ananthanarayanan <ananth@sgi.com>
Cc: Linus Torvalds <torvalds@transmeta.com>,
"Quintela Carreira Juan J." <quintela@vexeta.dc.fi.udc.es>,
Andrea Arcangeli <andrea@suse.de>,
linux-mm@kvack.org
Subject: [DATAPOINT] pre7-8 swaps with FREE mem?
Date: Tue, 09 May 2000 08:56:38 -0700 [thread overview]
Message-ID: <39183536.C0017DCA@ucla.edu> (raw)
In-Reply-To: <39178682.9AA1AB59@sgi.com>
I have an UP PPro, 166 Mhz, 64MB RAM, IDE disk.
1. Pre7-8 swaps a lot. Firstly, it swaps when I have 12Mb/64Mb memory
free. (just to clarify, I don't mean 'cache', I mean 'free') Secondly,
look at this:
telomere:~> free
total used free shared buffers
cached
Mem: 62780 61360 1420 0 412
44804
-/+ buffers/cache: 16144 46636
Swap: 128484 38456 90028
The VM is definately balanced towards swapping out. I'm only running
netscape, and emacs, (and gnome), so there should be minimal swap-out.
I'm not sure the high swap usage is a result of a large cache, because
the high swap usage started BEFORE memory actually got tight. So, may
the cache is just taking advantage of the nice, large free chunks of
memory :)
2. Pre7-8 swaps out things that should be left in. It DOESN"T swap out
the running quake engine this time :) However, it does swap out chunks
of netscape, while loading it, making it significantly slower.
Basically, there is not need to do ANY page-in, but there is a
significant page-in rate when load netscape. This implies that the
wrong pages are swapped out. (Am I saying something stupid here??)
RSS SWAP MAJFLT
8864 14032 26248 netscape
36 2656 78 xfs
4 2303 59 jserver
6780 2252 13508 X
2372 856 4739 emacs
netscape, emacs, and X should not have been swapped out.
xfs and jserver SHOULD be swapped out. (this is an improvement over
pre7-6)
3. Unlike pre7-6, which basically died, if I tried to run more than a
few programs, pre7-8 is more or less useable, although not perfect (as
in 2), because it DOES swap out unused code :) In can (not well :) run
netscape, mozilla, gimp, quake, and emacs in 64Mb RAM. There is no way
that pre7-6 could get this far.
telomere:~> free
total used free shared buffers
cached
Mem: 62780 61168 1612 0 348
14992
-/+ buffers/cache: 45828 16952
Swap: 128484 39004 89480
telomere:~> vmstat 1
procs memory swap io
system cpu
r b w swpd free buff cache si so bi bo in cs us
sy id
1 0 0 38560 1484 256 14764 35 31 167 10 151 439
58 9 33
5 0 1 38560 1668 276 14664 20 0 3215 0 561 975 65
35 0
1 2 0 38560 1584 276 14636 556 0 1596 0 204 514 75
24 1
3 0 0 38560 1476 276 14732 0 0 97 0 152 456
99 1 0
3 2 0 38556 1536 172 14752 632 0 2902 9 499 850 52
32 16
4 0 1 38548 1564 164 14820 440 0 627 0 327 693 70
28 2
3 0 0 38540 1212 180 15152 216 0 1337 0 174 447 50
42 9
3 2 1 38620 1296 188 15160 1276 84 810 21 352 486
56 44 0 1 2 0 38616 1248 188 15204 436 0 733 1
242 465 67 33 0
4 0 0 38616 1208 192 15244 112 0 345 0 197 535 84
16 0
4 0 0 38616 1336 196 15120 196 0 244 0 232 516 69
21 10
3 0 0 38616 1192 196 15244 56 0 83 0 172 573
97 1 2
3 0 0 38616 1568 196 14916 4 0 53 2 211 548 81
19 0
2 0 0 38616 1516 204 14960 36 0 535 0 198 493 86
14 0
4 0 0 38616 1224 204 15252 176 0 159 0 184 479
92 6 2
4 0 1 38616 1320 216 15164 52 0 1291 0 186 483 79
21 0
</datapoint>
-BenRI
--
"I want to be in the light, as He is in the Light,
I want to shine like the stars in the heavens." - DC Talk, "In the
Light"
Benjamin Redelings I <>< http://www.bol.ucla.edu/~bredelin/
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux.eu.org/Linux-MM/
next prev parent reply other threads:[~2000-05-09 15:56 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <8evk0f$7jote$1@fido.engr.sgi.com>
2000-05-06 17:12 ` [DATAPOINT] pre7-6 will not swap Rajagopal Ananthanarayanan
2000-05-06 4:25 ` Benjamin Redelings I
2000-05-06 19:35 ` Linus Torvalds
2000-05-06 5:35 ` Benjamin Redelings I
2000-05-06 21:46 ` Rik van Riel
2000-05-06 22:24 ` Rajagopal Ananthanarayanan
2000-05-06 14:03 ` Benjamin Redelings I
2000-05-07 0:22 ` Rik van Riel
2000-05-07 2:23 ` Linus Torvalds
2000-05-07 17:40 ` Rik van Riel
2000-05-07 17:53 ` Linus Torvalds
2000-05-07 19:13 ` Rajagopal Ananthanarayanan
2000-05-07 19:30 ` Linus Torvalds
2000-05-08 20:40 ` gprof data for pre7-6 Rajagopal Ananthanarayanan
2000-05-09 1:52 ` [DATAPOINT] pre7-6 will not swap Quintela Carreira Juan J.
2000-05-09 2:28 ` Rajagopal Ananthanarayanan
2000-05-09 2:33 ` Linus Torvalds
2000-05-09 3:31 ` Rajagopal Ananthanarayanan
2000-05-09 15:56 ` Benjamin Redelings I [this message]
2000-05-06 20:12 ` PG_referenced and lru_cache (cpu%) Roger Larsson
2000-05-06 18:31 ` Rik van Riel
2000-05-06 22:16 ` Roger Larsson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=39183536.C0017DCA@ucla.edu \
--to=bredelin@ucla.edu \
--cc=ananth@sgi.com \
--cc=andrea@suse.de \
--cc=linux-mm@kvack.org \
--cc=quintela@vexeta.dc.fi.udc.es \
--cc=torvalds@transmeta.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox