From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail2.matrix-vision.com (mail2.matrix-vision.com [85.214.244.251]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "template", Issuer "template" (not verified)) by ozlabs.org (Postfix) with ESMTPS id 50F6FB6FED for ; Thu, 21 Apr 2011 05:28:51 +1000 (EST) Received: from mail2.matrix-vision.com (localhost [127.0.0.1]) by mail2.matrix-vision.com (Postfix) with ESMTP id 0EE983F663 for ; Wed, 20 Apr 2011 21:21:01 +0200 (CEST) Received: from polydeuces (g1.matrix-vision.com [217.7.222.190]) by mail2.matrix-vision.com (Postfix) with ESMTPA id E07DD3F61D for ; Wed, 20 Apr 2011 21:21:00 +0200 (CEST) Received: from polydeuces (sao.intern.matrix-vision.de [192.168.5.121]) by polydeuces (Postfix) with ESMTP id 7FFEC5F9D for ; Wed, 20 Apr 2011 21:21:00 +0200 (CEST) Received: from proteus.g1.matrix-vision.de (proteus.intern.matrix-vision.de [192.168.5.122]) by polydeuces (Postfix) with ESMTPA id 5AB495F9D for ; Wed, 20 Apr 2011 21:21:00 +0200 (CEST) Date: Wed, 20 Apr 2011 21:21:00 +0200 (CEST) From: "Schwarz,Andre" To: "linuxppc-dev@lists.ozlabs.org" Message-ID: <211009162.1147.1303327260364.JavaMail.open-xchange@proteus> Subject: tmpfs size restriction MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_1146_153851450.1303327260351" List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , ------=_Part_1146_153851450.1303327260351 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi, I'm facing an issue with tmpfs mounts on PowerPC (mpc83xx specifically). After "mount -t tmpfs tmpfs /tmp -o size=3D16m" I can fill the machine's me= m (512MiB) until oom becomes active. I can't see this on any other machine (x86/ARM) I have access to. There's always a "no space left on device" message as soon as size specifie= d is reached ... kernel versions available are v2.6.26.27 and v2.6.34.7 showing the same behaviour. I'd expect the kernel to limit available tmpfs size to 50% of physical memo= ry anyway. Any ideas what might be wrong ? Regards, Andr=C3=A9 =0AMATRIX VISION GmbH, Talstrasse 16, DE-71570 Oppenweiler=0ARegistergerich= t: Amtsgericht Stuttgart, HRB 271090=0AGeschaeftsfuehrer: Gerhard Thullner, = Werner Armingeon, Uwe Furtner=0A ------=_Part_1146_153851450.1303327260351 MIME-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit Hi,

I'm facing an issue with tmpfs mounts on PowerPC (mpc83xx specifically).

After "mount -t tmpfs tmpfs /tmp -o size=16m" I can fill the machine's mem (512MiB) until oom becomes active.

I can't see this on any other machine (x86/ARM) I have access to.
There's always a "no space left on device" message as soon as size specified is reached ...

kernel versions available are v2.6.26.27 and v2.6.34.7 showing the same behaviour.

I'd expect the kernel to limit available tmpfs size to 50% of physical memory anyway.

Any ideas what might be wrong ?


Regards,
André
MATRIX VISION GmbH, Talstrasse 16, DE-71570 Oppenweiler Registergericht: Amtsgericht Stuttgart, HRB 271090 Geschaeftsfuehrer: Gerhard Thullner, Werner Armingeon, Uwe Furtner
------=_Part_1146_153851450.1303327260351--