From: Jan Hudec Subject: Re: Run linux in ramdisk(tmpfs) and use a mounted HD for files cause memory and CPU overflow! Date: Wed, 29 Jun 2005 10:41:29 +0200 Message-ID: <20050629084129.GA5701@vagabond> References: <1f52e8ed050627021872365696@mail.gmail.com> <20050627142013.GA11425@vagabond> <1f52e8ed0506281106392511f2@mail.gmail.com> <20050628202457.GC30378@vagabond> <1f52e8ed05062821415f505fee@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="pf9I7BMVVzbSWLtt" Cc: linux-fsdevel@vger.kernel.org Return-path: Received: from cimice4.lam.cz ([212.71.168.94]:18586 "EHLO vagabond.light.src") by vger.kernel.org with ESMTP id S262271AbVF2Ilf (ORCPT ); Wed, 29 Jun 2005 04:41:35 -0400 To: Ewerton Romulo Content-Disposition: inline In-Reply-To: <1f52e8ed05062821415f505fee@mail.gmail.com> Sender: linux-fsdevel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org --pf9I7BMVVzbSWLtt Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jun 29, 2005 at 01:41:13 -0300, Ewerton Romulo wrote: > OK!=20 >=20 > /proc/modules > [snipped] Only network stuff here. Since there is no problem when disk is not used, I think we can rule out network stuff. > My /proc/mount is: > rootfs / rootfs rw 0 0 > /dev/root / tmpfs rw 0 0 So you are using tmpfs, *not* ramdisk. Tmpfs lives in memory and occupies amout of memory equal to amount of data stored. Unlike ramdisk, memory is reclaimed when you remove files from tmpfs and when you umount it. > /proc /proc proc rw 0 0=20 > devpts /dev/pts devpts rw 0 0 > /dev/hda1 /test vfat rw 0 0=20 Ok, got the picture. > I use kernel 2.4.30 oficial, no especific linux distribution! You should have included your config too, since you are using a custom one. We need to know what drivers you have compiled in your kernel. It's called .config and located in the build directory of the kernel. And of course, you did not include the most important stuff -- /proc/meminfo, /proc/slabinfo, /proc/diskstats and /proc/vmstats from time when it exhibits the problem. Also you forgot about /proc/swaps (it may be empty or not even exist, but you should at least say so). ---------------------------------------------------------------------------= ---- Jan 'Bulb' Hudec --pf9I7BMVVzbSWLtt Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFCwl65Rel1vVwhjGURAh5xAKDghJ8h/EWGnHpXwcGBcsesUAOhMgCfTOCt DpImrmUOKVGwdEUZwLVG30Q= =jXJ2 -----END PGP SIGNATURE----- --pf9I7BMVVzbSWLtt--