From: Zlatko Calusic <zlatko@iskon.hr>
To: Vlad Bolkhovitine <vladb@sw.com.sg>
Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org
Subject: Re: mmap()/VM problems in 2.4.0
Date: 15 Jan 2001 21:31:56 +0100 [thread overview]
Message-ID: <87hf30d0ar.fsf@atlas.iskon.hr> (raw)
In-Reply-To: "Vlad Bolkhovitine"'s message of "Mon, 15 Jan 2001 17:42:08 +0800"
"Vlad Bolkhovitine" <vladb@sw.com.sg> writes:
> Here is updated info for 2.4.1pre3:
>
> Size is MB, BlkSz is Bytes, Read, Write, and Seeks are MB/sec
>
> with mmap()
>
> File Block Num Seq Read Rand Read Seq Write Rand Write
> Dir Size Size Thr Rate (CPU%) Rate (CPU%) Rate (CPU%) Rate (CPU%)
> ------- ------ ------- --- ----------- ----------- ----------- -----------
> . 1024 4096 2 1.089 1.24% 0.235 0.45% 1.118 4.11% 0.616 1.41%
>
> without mmap()
>
> File Block Num Seq Read Rand Read Seq Write Rand Write
> Dir Size Size Thr Rate (CPU%) Rate (CPU%) Rate (CPU%) Rate (CPU%)
> ------- ------ ------- --- ----------- ----------- ----------- -----------
> . 1024 4096 2 28.41 41.0% 0.547 1.15% 13.16 16.1% 0.652 1.46%
>
>
> Mmap() performance dropped dramatically down to almost unusable level. Plus,
> system was unusable during test: "vmstat 1" updated results every 1-2 _MINUTES_!
>
You need Marcelo's patch. Please apply and retest.
--- linux.orig/mm/vmscan.c Mon Jan 15 02:33:15 2001
+++ linux/mm/vmscan.c Mon Jan 15 02:46:25 2001
@@ -153,7 +153,7 @@
if (VALID_PAGE(page) && !PageReserved(page)) {
try_to_swap_out(mm, vma, address, pte,
page);
- if (--count)
+ if (!--count)
break;
}
}
--
Zlatko
--
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:[~2001-01-15 20:31 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <3A5EFB40.6080B6F3@sw.com.sg>
2001-01-15 9:42 ` Vlad Bolkhovitine
2001-01-15 20:31 ` Zlatko Calusic [this message]
2001-01-15 20:49 ` Mike Galbraith
2001-01-16 6:43 ` Vlad Bolkhovitine
2001-01-16 7:06 ` Mike Galbraith
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=87hf30d0ar.fsf@atlas.iskon.hr \
--to=zlatko@iskon.hr \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=vladb@sw.com.sg \
/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