* new vm - OK but not THAT great
@ 2000-08-16 17:53 Benjamin Redelings
2000-08-16 19:09 ` Rik van Riel
0 siblings, 1 reply; 2+ messages in thread
From: Benjamin Redelings @ 2000-08-16 17:53 UTC (permalink / raw)
To: linux-mm; +Cc: linux-kernel
Hi,
I tested Rik's latest, tuned, VM code on my machine at home. Sorry
this isn't more detailed - I have to do some comparisons later.
However, I DO notice some problems: when I run netscape and a few other
apps, performance is OK, but when I then run 'tar -xf
linux-2.4.0-pre4.tar' preformance drops.
Firstly, the page cache gets really big. A LOT of swap is suddenly
used, like 25 MB where before there was nothing, and running programs
(netscape,gnomehack,the gnome panel) start getting unresponsive due to
swapin.
Secondly, programs like xfs, which are NOT RUNNING AT ALL, do not get
swapped out as much as vanilla pre7-4.
So, the page aging code does not appear to be helping as much as it
should. Swapping seems, in some sense, to not as good as pre7-4...
Awaiting next tuned version!!
-BenRI
P.S. could this block of code go into the mainstreat kernel w/o the rest
of the code?
> + /* Reset to 0 when we reach the end of address space */
> + mm->swap_address = 0;
> + mm->swap_cnt = 0;
> +
> +out_unlock:
> vmlist_access_unlock(mm);
>
> /* We didn't find anything for the process */
> - mm->swap_cnt = 0;
> - mm->swap_address = 0;
> return 0;
> }
--
"For nature does not give virtue,
It is an art to become good." - Seneca
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/
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: new vm - OK but not THAT great
2000-08-16 17:53 new vm - OK but not THAT great Benjamin Redelings
@ 2000-08-16 19:09 ` Rik van Riel
0 siblings, 0 replies; 2+ messages in thread
From: Rik van Riel @ 2000-08-16 19:09 UTC (permalink / raw)
To: Benjamin Redelings; +Cc: linux-mm, linux-kernel
On Wed, 16 Aug 2000, Benjamin Redelings wrote:
> I tested Rik's latest, tuned, VM code on my machine at home. Sorry
> this isn't more detailed - I have to do some comparisons later.
> However, I DO notice some problems: when I run netscape
> and a few other apps, performance is OK, but when I then run
> 'tar -xf linux-2.4.0-pre4.tar' preformance drops.
Indeed, I've seen this here as well. I have some ideas on
fixing this and once I figure out all the details I'll
implement and tune them.
(but first, I have to fix the SMP bug where __alloc_pages
hands out a page that has one of the PG_(in)active_* bits
set...)
> Secondly, programs like xfs, which are NOT RUNNING AT ALL,
> do not get swapped out as much as vanilla pre7-4.
> So, the page aging code does not appear to be helping as
> much as it should. Swapping seems, in some sense, to not as
> good as pre7-4...
This is also something which needs to be tuned more. Remember
that you're working with a VM patch that received only about
4 hours of tuning ;)
I hope any of the other VM hackers will use the quiet period
around the vger problems to help tune this VM patch a bit ;)
regards,
Rik
--
"What you're running that piece of shit Gnome?!?!"
-- Miguel de Icaza, UKUUG 2000
http://www.conectiva.com/ http://www.surriel.com/
--
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/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2000-08-16 19:09 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-08-16 17:53 new vm - OK but not THAT great Benjamin Redelings
2000-08-16 19:09 ` 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