linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [highmem bug report against -test5 and -test6] Re: [PATCH] Re: simple FS application that hangs 2.4-test5, mem mgmt problem or FS buffer cache mgmt problem? (fwd)
@ 2000-10-02 19:35 Rik van Riel
  2000-10-02 19:56 ` Andrea Arcangeli
  0 siblings, 1 reply; 36+ messages in thread
From: Rik van Riel @ 2000-10-02 19:35 UTC (permalink / raw)
  To: Andrea Arcangeli
  Cc: Ingo Molnar, linux-mm, Linus Torvalds, Stephen C. Tweedie

Hi,

as you can see below, the highmem bug was already there before
the new VM. However, it may be easier to trigger in the new VM
because we keep the buffer heads on active pages in memory...

(then again, we can't clear the buffer heads on dirty pages
anyway, so maybe the difference in how easy it is to trigger is
very small or nonexistant)


One possible explanation for the problem may be that we use
GFP_ATOMIC (and PF_MEMALLOC is set) in prepare_highmem_swapout().

That means we /could/ eat up the last free pages for creating
bounce buffers in low memory, after which we end up with a bunch
of unflushable, unfreeable pages in low memory (because we can't
allocate bufferheads or read indirect blocks from the swapfile).

Maybe we want to use GFP_SOFT (fail if we have less than pages_min
free pages in the low memory zone) for prepare_highmem_swapout(),
it appears that try_to_swap_out() and shm_swap_core() are already
quite capable of dealing with bounce buffer create failures.

I'd really like to see this bug properly fixed in 2.4...

regards,

Rik
---------- Forwarded message ----------
Date: Fri, 1 Sep 2000 09:27:58 -0700
From: Ying Chen/Almaden/IBM <ying@almaden.ibm.com>
To: Rik van Riel <riel@conectiva.com.br>
Subject: Re: [PATCH] Re: simple FS application that hangs 2.4-test5,
     mem mgmt problem or FS buffer cache mgmt problem?


Hi, Rik,

I while back I reported some problems with buffer cache and probably memory
mgmt subsystem when I ran high IOPS with SPEC SFS.
I haven't got a chance to go back to the problem and dig out where the
problem is yet.
I recently tried the same thing, i.e., running large IOPS SPEC SFS, against
the test6 up kernel. I had no problem if I don't turn HIGHMEM
support on in the kernel. As soon as I turned HIGHMEM support on (I have
2GB memory in my system), I ran into the same problem, i.e., I'd get "Out
of memory" sort of thing from various subsystems, like SCSI or IP, and
eventually my kernel hangs. I don't know if this rings some bell to you or
not. I'll try to locate the problem more accurately in the next few days.
If you get have any suggestions on how I might pursu this, let me know.
Thanks a lot!


Ying

--
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] 36+ messages in thread

end of thread, other threads:[~2000-10-03 12:05 UTC | newest]

Thread overview: 36+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-10-02 19:35 [highmem bug report against -test5 and -test6] Re: [PATCH] Re: simple FS application that hangs 2.4-test5, mem mgmt problem or FS buffer cache mgmt problem? (fwd) Rik van Riel
2000-10-02 19:56 ` Andrea Arcangeli
2000-10-02 19:59   ` Rik van Riel
2000-10-02 20:17     ` Andrea Arcangeli
2000-10-02 20:24       ` Rik van Riel
2000-10-02 21:16     ` Linus Torvalds
2000-10-02 20:06   ` Linus Torvalds
2000-10-02 20:16     ` Rik van Riel
2000-10-02 20:25     ` Ingo Molnar
2000-10-02 20:45       ` Rik van Riel
2000-10-02 21:21         ` Linus Torvalds
2000-10-02 21:27           ` Rik van Riel
2000-10-02 21:19       ` Linus Torvalds
2000-10-02 21:23         ` Rik van Riel
2000-10-02 21:31           ` Linus Torvalds
2000-10-02 21:42             ` Rik van Riel
2000-10-02 21:58               ` Linus Torvalds
2000-10-02 22:08                 ` Rik van Riel
2000-10-02 22:18                   ` Andrea Arcangeli
2000-10-02 22:23                     ` Rik van Riel
2000-10-02 23:06                     ` Linus Torvalds
2000-10-02 23:12                       ` Rik van Riel
2000-10-02 23:16                         ` Linus Torvalds
2000-10-02 23:20                       ` Andrea Arcangeli
2000-10-02 22:53                   ` Linus Torvalds
2000-10-02 23:06                     ` Rik van Riel
2000-10-02 23:14                       ` Linus Torvalds
2000-10-02 21:57         ` Ingo Molnar
2000-10-02 21:52           ` Rik van Riel
2000-10-02 22:53             ` Ingo Molnar
2000-10-02 23:01               ` Rik van Riel
2000-10-02 23:10                 ` Andrea Arcangeli
2000-10-02 23:29                 ` Ingo Molnar
2000-10-02 23:25                   ` Andrea Arcangeli
2000-10-02 23:32                     ` Linus Torvalds
2000-10-03 12:05                     ` Ingo Molnar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox