* rmap15a swappy?
@ 2002-12-12 17:46 Sean Neakums
2002-12-12 21:14 ` Rik van Riel
0 siblings, 1 reply; 4+ messages in thread
From: Sean Neakums @ 2002-12-12 17:46 UTC (permalink / raw)
To: linux-mm
I just fitted an extra 512M of RAM to my laptop, and though there is
currently about 400M free, it is still hitting swap. I seem to recall
that older rmaps generally only started to page stuff out when there
was no more memory free. (My recollection may be faulty, though.)
Some random info:
[revox(~)] uname -a
Linux revox 2.4.20-rmap15a-4 #1 Mon Dec 9 12:47:13 GMT 2002 i686 unknown unknown GNU/Linux
[revox(~)] cat /proc/meminfo
total: used: free: shared: buffers: cached:
Mem: 792940544 288563200 504377344 0 3063808 184758272
Swap: 539852800 34787328 505065472
MemTotal: 774356 kB
MemFree: 492556 kB
MemShared: 0 kB
Buffers: 2992 kB
Cached: 146456 kB
SwapCached: 33972 kB
Active: 110840 kB
ActiveAnon: 78764 kB
ActiveCache: 32076 kB
Inact_dirty: 0 kB
Inact_laundry: 139960 kB
Inact_clean: 7644 kB
Inact_target: 51688 kB
HighTotal: 0 kB
HighFree: 0 kB
LowTotal: 774356 kB
LowFree: 492556 kB
SwapTotal: 527200 kB
SwapFree: 493228 kB
[revox(~)] uptime
17:42:26 up 41 min, 6 users, load average: 0.00, 0.02, 0.03
--
/ |
[|] Sean Neakums | Questions are a burden to others;
[|] <sneakums@zork.net> | answers a prison for oneself.
\ |
--
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-mm.org/
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: rmap15a swappy?
2002-12-12 17:46 rmap15a swappy? Sean Neakums
@ 2002-12-12 21:14 ` Rik van Riel
2002-12-12 21:21 ` Sean Neakums
0 siblings, 1 reply; 4+ messages in thread
From: Rik van Riel @ 2002-12-12 21:14 UTC (permalink / raw)
To: Sean Neakums; +Cc: linux-mm
On Thu, 12 Dec 2002, Sean Neakums wrote:
> I just fitted an extra 512M of RAM to my laptop, and though there is
> currently about 400M free, it is still hitting swap. I seem to recall
> that older rmaps generally only started to page stuff out when there
> was no more memory free. (My recollection may be faulty, though.)
Indeed, the older rmaps swapped later. However, swapping
a little bit earlier turns out to be faster for almost all
workloads.
Having said that, for some reason rmap15a is sometimes
swapping a lot too early. This is something I still have
to fix...
Rik
--
Bravely reimplemented by the knights who say "NIH".
http://www.surriel.com/ http://guru.conectiva.com/
Current spamtrap: <a href=mailto:"october@surriel.com">october@surriel.com</a>
--
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-mm.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: rmap15a swappy?
2002-12-12 21:14 ` Rik van Riel
@ 2002-12-12 21:21 ` Sean Neakums
2002-12-13 2:08 ` Rik van Riel
0 siblings, 1 reply; 4+ messages in thread
From: Sean Neakums @ 2002-12-12 21:21 UTC (permalink / raw)
To: linux-mm
commence Rik van Riel quotation:
> On Thu, 12 Dec 2002, Sean Neakums wrote:
>
> Indeed, the older rmaps swapped later. However, swapping
> a little bit earlier turns out to be faster for almost all
> workloads.
Oh right, because if you get sudden memory pressure you have a bunch
of pages that you can just throw away without writeout?
Anyway, that's nifty. I just wanted to make sure it wasn't a
regression.
--
/ |
[|] Sean Neakums | Questions are a burden to others;
[|] <sneakums@zork.net> | answers a prison for oneself.
\ |
--
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-mm.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: rmap15a swappy?
2002-12-12 21:21 ` Sean Neakums
@ 2002-12-13 2:08 ` Rik van Riel
0 siblings, 0 replies; 4+ messages in thread
From: Rik van Riel @ 2002-12-13 2:08 UTC (permalink / raw)
To: Sean Neakums; +Cc: linux-mm
On Thu, 12 Dec 2002, Sean Neakums wrote:
> > On Thu, 12 Dec 2002, Sean Neakums wrote:
> >
> > Indeed, the older rmaps swapped later. However, swapping
> > a little bit earlier turns out to be faster for almost all
> > workloads.
>
> Oh right, because if you get sudden memory pressure you have a bunch
> of pages that you can just throw away without writeout?
Exactly.
> Anyway, that's nifty. I just wanted to make sure it wasn't a
> regression.
I know there are a few regressions in "strange" corner cases,
stuff I can easily reproduce with special test programs but
haven't seen in real life. I'm still ironing out those.
regards,
Rik
--
Bravely reimplemented by the knights who say "NIH".
http://www.surriel.com/ http://guru.conectiva.com/
Current spamtrap: <a href=mailto:"october@surriel.com">october@surriel.com</a>
--
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-mm.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2002-12-13 2:08 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-12-12 17:46 rmap15a swappy? Sean Neakums
2002-12-12 21:14 ` Rik van Riel
2002-12-12 21:21 ` Sean Neakums
2002-12-13 2:08 ` Rik van Riel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox