All of lore.kernel.org
 help / color / mirror / Atom feed
* [BUG] generic/224 causes OOM and hangs 1G RAM system
@ 2013-12-24  6:36 Qu Wenruo
  2013-12-24  7:48 ` Qu Wenruo
  0 siblings, 1 reply; 2+ messages in thread
From: Qu Wenruo @ 2013-12-24  6:36 UTC (permalink / raw)
  To: linux-btrfs

Hi everyone,

When using testcase generic/224 in xfstests on a 1Gigabytes RAM test
machine,
OOM is triggered after about 5 sec and then hangs the system.

This bug can be triggered *all the time* but only on 1Gigabytes or less RAM
machine.
If tested on a 2Gigabytes or higher machine, the memory consumption is high,
but OOM will not be triggered and after the testcase, memory consumption
will
return normal.

So this is not a memory leak but a ridiculous btrfs behavior.

Since systems with 1Gigabytes are not quite old and even very common in
VMs or
embedded devices, it would be better to fix the ridiculous memory
consuption.

Thanks,
Qu

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

* Re: [BUG] generic/224 causes OOM and hangs 1G RAM system
  2013-12-24  6:36 [BUG] generic/224 causes OOM and hangs 1G RAM system Qu Wenruo
@ 2013-12-24  7:48 ` Qu Wenruo
  0 siblings, 0 replies; 2+ messages in thread
From: Qu Wenruo @ 2013-12-24  7:48 UTC (permalink / raw)
  To: linux-btrfs

It seems that ext4 also has the same problem.
And the problem also happens in 3.11 kernel, seems to be a fs independent
things.

Qu

On tue, 24 Dec 2013 14:36:27 +0800, Qu Wenruo wrote:
> Hi everyone,
>
> When using testcase generic/224 in xfstests on a 1Gigabytes RAM test
> machine,
> OOM is triggered after about 5 sec and then hangs the system.
>
> This bug can be triggered *all the time* but only on 1Gigabytes or less RAM
> machine.
> If tested on a 2Gigabytes or higher machine, the memory consumption is high,
> but OOM will not be triggered and after the testcase, memory consumption
> will
> return normal.
>
> So this is not a memory leak but a ridiculous btrfs behavior.
>
> Since systems with 1Gigabytes are not quite old and even very common in
> VMs or
> embedded devices, it would be better to fix the ridiculous memory
> consuption.
>
> Thanks,
> Qu
> --
> To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>


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

end of thread, other threads:[~2013-12-24  8:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-12-24  6:36 [BUG] generic/224 causes OOM and hangs 1G RAM system Qu Wenruo
2013-12-24  7:48 ` Qu Wenruo

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.