2006-12-28 05:58:05

by Gordon Farquharson

[permalink] [raw]
Subject: Re: [PATCH] mm: fix page_mkclean_one

On 12/27/06, Linus Torvalds <[email protected]> wrote:

> That's just 400kB!
>
> There's no way you should see corruption with that kind of value. It
> should all stay solidly in the cache.

100kB and 200kB files always succeed on the ARM system. 400kB and
larger always seem to fail.

Does the following help interpret the results on ARM at all ?

$ free
total used free shared buffers cached
Mem: 30000 23620 6380 0 808 15676
-/+ buffers/cache: 7136 22864
Swap: 88316 3664 84652

Gordon

--
Gordon Farquharson


2006-12-28 17:10:36

by Linus Torvalds

[permalink] [raw]
Subject: Re: [PATCH] mm: fix page_mkclean_one



On Wed, 27 Dec 2006, Gordon Farquharson wrote:
>
> 100kB and 200kB files always succeed on the ARM system. 400kB and
> larger always seem to fail.

Oh, wow. Yeah, I've just repressed how tiny 32MB is. And especially if you
lowered the /proc/sys/vm/dirty_ratio to a smaller percentage, I guess
400kB should be enough to cause writeback.

Ugh. I tested a 128MB machine a few weeks ago, and found it painful.

Linus