public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Andrew Tridgell <tridge@valinux.com>
To: marcelo@conectiva.com.br
Cc: linux-kernel@vger.kernel.org
Subject: Re: 2.4.8preX VM problems
Date: Wed,  1 Aug 2001 01:13:44 -0700 (PDT)	[thread overview]
Message-ID: <20010801081344.8A6C04603@lists.samba.org> (raw)
In-Reply-To: <Pine.LNX.4.21.0108010232100.8866-100000@freak.distro.conectiva> (message from Marcelo Tosatti on Wed, 1 Aug 2001 03:10:58 -0300 (BRT))
In-Reply-To: <Pine.LNX.4.21.0108010232100.8866-100000@freak.distro.conectiva>

Marcelo,

I'm afraid that didn't help. I get:

[root@skurk /root]# ./readfiles /dev/ddisk 
362 MB    181.145 MB/sec
695 MB    166.455 MB/sec
811 MB    57.6077 MB/sec
812 MB    0.439532 MB/sec
813 MB    0.463901 MB/sec
814 MB    0.416093 MB/sec
815 MB    0.409958 MB/sec
816 MB    0.410413 MB/sec




> Could you please try the patch below ? (against 2.4.8pre3)
> 
> --- linux.orig/mm/vmscan.c	Wed Aug  1 04:26:36 2001
> +++ linux/mm/vmscan.c	Wed Aug  1 04:33:22 2001
> @@ -593,13 +593,9 @@
>  			 * If we're freeing buffer cache pages, stop when
>  			 * we've got enough free memory.
>  			 */
> -			if (freed_page) {
> -				if (zone) {
> -					if (!zone_free_shortage(zone))
> -						break;
> -				} else if (!free_shortage()) 
> -					break;
> -			}
> +			if (freed_page && !total_free_shortage())
> +				break;
> +
>  			continue;
>  		} else if (page->mapping && !PageDirty(page)) {
>  			/*
> 
> 


  reply	other threads:[~2001-08-01  8:18 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-08-01  3:05 2.4.8preX VM problems Andrew Tridgell
2001-08-01  2:26 ` Marcelo Tosatti
2001-08-01  4:37   ` Andrew Tridgell
2001-08-01  3:32     ` Marcelo Tosatti
2001-08-01  5:43       ` Andrew Tridgell
2001-08-01  6:09   ` Andrew Tridgell
2001-08-01  6:10     ` Marcelo Tosatti
2001-08-01  8:13       ` Andrew Tridgell [this message]
2001-08-01  8:13         ` Marcelo Tosatti
2001-08-01 10:54           ` Andrew Tridgell
2001-08-01 11:51             ` Mike Black
2001-08-01 18:39               ` Daniel Phillips
2001-08-11 12:06                 ` Pavel Machek
2001-08-16 21:57                   ` Daniel Phillips
2001-08-04  6:50           ` Anton Blanchard
2001-08-04  5:55             ` Marcelo Tosatti
2001-08-04 17:17               ` Anton Blanchard
2001-08-06 22:58                 ` Marcelo Tosatti
2001-08-07 17:18                   ` Anton Blanchard
2001-08-07 21:02                     ` Kernel 2.4.6 & 2.4.7 networking performance: seeing serious delays in TCP layer depending upon packet length Ron Flory

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=20010801081344.8A6C04603@lists.samba.org \
    --to=tridge@valinux.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=marcelo@conectiva.com.br \
    /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