public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* [JFFS2] Running fsstress causes panic
@ 2008-05-16 11:11 rohit h
  2008-05-16 12:03 ` Adrian Hunter
  0 siblings, 1 reply; 3+ messages in thread
From: rohit h @ 2008-05-16 11:11 UTC (permalink / raw)
  To: linux-mtd

Hello all,
 I am running a filesystem testing utility 'fsstress' on JFFS2 running
over a 80MB OneNAND partition.
 The fsstress command line used is 'fsstress -p 3 -n 1000000 -d /tmp -l 0 &'
 This creates 3 processes with each process executing 1000000 operations.
 The testing board has 64MB of RAM.
 After around 5 hours, I get panic message pasted below.
 I have done the same test with the command line 'fsstress -p3 -n
10000 -d /tmp -l 0 &'
 This test goes through for 5 days without failing, after which I
ended the test.
 Can somebody throw some light as to why this is happening.
Thanks a lot
 Rohit


fsstress invoked oom-killer: gfp_mask=0x201d2, order=0, oomkilladj=0
[<c0026b98>] <4>init invoked oom-killer: gfp_mask=0x201d2, order=0, oomkilladj=0
[<c0026b98>] (dump_stack+0x0/0x14) from [<c006b31c>] (out_of_memory+0x7c/0x224)
[<c006b2a0>] (out_of_memory+0x0/0x224) from [<c006c944>]
(__alloc_pages+0x24c/0x2d8)
r8:c0566820 r7:c0285f80 r6:000201d2 r5:00000000 r4:00000000
[<c006c6f8>] (__alloc_pages+0x0/0x2d8) from [<c00687a0>]
(page_cache_read+0x44/0xb4)
[<c006875c>] (page_cache_read+0x0/0xb4) from [<c0068a48>]
(filemap_nopage+0x238/0x3bc)
r8:000000cc r7:00000000 r6:00127edc r5:c056a000 r4:00000000
[<c0068810>] (filemap_nopage+0x0/0x3bc) from [<c00765cc>]
(__handle_mm_fault+0x17c/0xb24)
[<c0076450>] (__handle_mm_fault+0x0/0xb24) from [<c002836c>]
(do_page_fault+0xe8/0x218)
[<c0028284>] (do_page_fault+0x0/0x218) from [<c00284bc>]
(do_translation_fault+0x20/0x7c)
[<c002849c>] (do_translation_fault+0x0/0x7c) from [<c002227c>]
(do_PrefetchAbort+0x18/0x1c)
r5:000169c0 r4:ffffffff
[<c0022264>] (do_PrefetchAbort+0x0/0x1c) from [<c0022e40>]
(ret_from_exception+0x0/0x10)
Exception stack(0xc056bfb0 to 0xc056bff8)
bfa0:                                     00000003 0000e118 beafa8c8 00000000
bfc0: beafa8c8 000169c0 10000000 beafaba8 beafabac 0000a1a0 000167ec 000167d8
bfe0: 000166e0 beafa8bc 0000c440 400ec344 60000010 ffffffff

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [JFFS2] Running fsstress causes panic
  2008-05-16 11:11 [JFFS2] Running fsstress causes panic rohit h
@ 2008-05-16 12:03 ` Adrian Hunter
  2008-05-19  5:44   ` rohit h
  0 siblings, 1 reply; 3+ messages in thread
From: Adrian Hunter @ 2008-05-16 12:03 UTC (permalink / raw)
  To: rohit h; +Cc: linux-mtd

rohit h wrote:
> Hello all,
>  I am running a filesystem testing utility 'fsstress' on JFFS2 running
> over a 80MB OneNAND partition.
>  The fsstress command line used is 'fsstress -p 3 -n 1000000 -d /tmp -l 0 &'
>  This creates 3 processes with each process executing 1000000 operations.
>  The testing board has 64MB of RAM.
>  After around 5 hours, I get panic message pasted below.
>  I have done the same test with the command line 'fsstress -p3 -n
> 10000 -d /tmp -l 0 &'
>  This test goes through for 5 days without failing, after which I
> ended the test.
>  Can somebody throw some light as to why this is happening.
> Thanks a lot
>  Rohit
> 
> 
> fsstress invoked oom-killer: gfp_mask=0x201d2, order=0, oomkilladj=0
> [<c0026b98>] <4>init invoked oom-killer: gfp_mask=0x201d2, order=0, oomkilladj=0
> [<c0026b98>] (dump_stack+0x0/0x14) from [<c006b31c>] (out_of_memory+0x7c/0x224)
> [<c006b2a0>] (out_of_memory+0x0/0x224) from [<c006c944>]
> (__alloc_pages+0x24c/0x2d8)
> r8:c0566820 r7:c0285f80 r6:000201d2 r5:00000000 r4:00000000
> [<c006c6f8>] (__alloc_pages+0x0/0x2d8) from [<c00687a0>]
> (page_cache_read+0x44/0xb4)
> [<c006875c>] (page_cache_read+0x0/0xb4) from [<c0068a48>]
> (filemap_nopage+0x238/0x3bc)
> r8:000000cc r7:00000000 r6:00127edc r5:c056a000 r4:00000000
> [<c0068810>] (filemap_nopage+0x0/0x3bc) from [<c00765cc>]
> (__handle_mm_fault+0x17c/0xb24)
> [<c0076450>] (__handle_mm_fault+0x0/0xb24) from [<c002836c>]
> (do_page_fault+0xe8/0x218)
> [<c0028284>] (do_page_fault+0x0/0x218) from [<c00284bc>]
> (do_translation_fault+0x20/0x7c)
> [<c002849c>] (do_translation_fault+0x0/0x7c) from [<c002227c>]
> (do_PrefetchAbort+0x18/0x1c)
> r5:000169c0 r4:ffffffff
> [<c0022264>] (do_PrefetchAbort+0x0/0x1c) from [<c0022e40>]
> (ret_from_exception+0x0/0x10)
> Exception stack(0xc056bfb0 to 0xc056bff8)
> bfa0:                                     00000003 0000e118 beafa8c8 00000000
> bfc0: beafa8c8 000169c0 10000000 beafaba8 beafabac 0000a1a0 000167ec 000167d8
> bfe0: 000166e0 beafa8bc 0000c440 400ec344 60000010 ffffffff

Are you using tmpfs?  It uses virtual memory.  Maybe it is sized too big, or
maybe /tmp has too much in it to start with.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [JFFS2] Running fsstress causes panic
  2008-05-16 12:03 ` Adrian Hunter
@ 2008-05-19  5:44   ` rohit h
  0 siblings, 0 replies; 3+ messages in thread
From: rohit h @ 2008-05-19  5:44 UTC (permalink / raw)
  To: Adrian Hunter; +Cc: linux-mtd

On Fri, May 16, 2008 at 5:33 PM, Adrian Hunter
<ext-adrian.hunter@nokia.com> wrote:
> rohit h wrote:
>>
>> Hello all,
>>  I am running a filesystem testing utility 'fsstress' on JFFS2 running
>> over a 80MB OneNAND partition.
>>  The fsstress command line used is 'fsstress -p 3 -n 1000000 -d /tmp -l 0
>> &'
>>  This creates 3 processes with each process executing 1000000 operations.
>>  The testing board has 64MB of RAM.
>>  After around 5 hours, I get panic message pasted below.
>>  I have done the same test with the command line 'fsstress -p3 -n
>> 10000 -d /tmp -l 0 &'
>>  This test goes through for 5 days without failing, after which I
>> ended the test.
>>  Can somebody throw some light as to why this is happening.
>> Thanks a lot
>>  Rohit
>>
>>
>> fsstress invoked oom-killer: gfp_mask=0x201d2, order=0, oomkilladj=0
>> [<c0026b98>] <4>init invoked oom-killer: gfp_mask=0x201d2, order=0,
>> oomkilladj=0
>> [<c0026b98>] (dump_stack+0x0/0x14) from [<c006b31c>]
>> (out_of_memory+0x7c/0x224)
>> [<c006b2a0>] (out_of_memory+0x0/0x224) from [<c006c944>]
>> (__alloc_pages+0x24c/0x2d8)
>> r8:c0566820 r7:c0285f80 r6:000201d2 r5:00000000 r4:00000000
>> [<c006c6f8>] (__alloc_pages+0x0/0x2d8) from [<c00687a0>]
>> (page_cache_read+0x44/0xb4)
>> [<c006875c>] (page_cache_read+0x0/0xb4) from [<c0068a48>]
>> (filemap_nopage+0x238/0x3bc)
>> r8:000000cc r7:00000000 r6:00127edc r5:c056a000 r4:00000000
>> [<c0068810>] (filemap_nopage+0x0/0x3bc) from [<c00765cc>]
>> (__handle_mm_fault+0x17c/0xb24)
>> [<c0076450>] (__handle_mm_fault+0x0/0xb24) from [<c002836c>]
>> (do_page_fault+0xe8/0x218)
>> [<c0028284>] (do_page_fault+0x0/0x218) from [<c00284bc>]
>> (do_translation_fault+0x20/0x7c)
>> [<c002849c>] (do_translation_fault+0x0/0x7c) from [<c002227c>]
>> (do_PrefetchAbort+0x18/0x1c)
>> r5:000169c0 r4:ffffffff
>> [<c0022264>] (do_PrefetchAbort+0x0/0x1c) from [<c0022e40>]
>> (ret_from_exception+0x0/0x10)
>> Exception stack(0xc056bfb0 to 0xc056bff8)
>> bfa0:                                     00000003 0000e118 beafa8c8
>> 00000000
>> bfc0: beafa8c8 000169c0 10000000 beafaba8 beafabac 0000a1a0 000167ec
>> 000167d8
>> bfe0: 000166e0 beafa8bc 0000c440 400ec344 60000010 ffffffff
>
> Are you using tmpfs?  It uses virtual memory.  Maybe it is sized too big, or
> maybe /tmp has too much in it to start with.
>
>
tmpfs is not mounted. Also I erase the partition before mounting JFFS2 on it.
How can I know who is consuming memory which causes oom-killer - is it
fsstress, it is JFFS2?
Could there be a way to find memory usage of JFFS2?
Thanks
 Rohit

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-05-19  5:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-16 11:11 [JFFS2] Running fsstress causes panic rohit h
2008-05-16 12:03 ` Adrian Hunter
2008-05-19  5:44   ` rohit h

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