From: Ewerton Romulo <ewertonromulo@gmail.com>
To: Jan Hudec <bulb@ucw.cz>
Cc: linux-fsdevel@vger.kernel.org
Subject: Re: Run linux in ramdisk(tmpfs) and use a mounted HD for files cause memory and CPU overflow!
Date: Tue, 28 Jun 2005 15:06:55 -0300 [thread overview]
Message-ID: <1f52e8ed0506281106392511f2@mail.gmail.com> (raw)
In-Reply-To: <20050627142013.GA11425@vagabond>
Thanks for answer Jan
> > I am building a very small linux system to boot off an IDE-HD module
> > and run from a ramdisk.
>
> Ramdisk *OR* tmpfs? They are completely different things.
Sorry. I can say that is a ramdisk formatted to use tmpfs
filesystem! If I need to select one, so can I say that is a tmpfs!
> > He´s working well and have no problem funtion like that. I´m using
> > linux kernel 2.4.30!
> > But some times I need to mount a partion on HD and use a directory to
> > save many files in it!
>
> How large are those "many files"? Where do the data come from?
>
Any files!! Any size!!! From any where!!! If I´d like to save a .txt
file ... or download a .tgz file and save in it .. a gif figure to
using later ... just a jpeg ... a HTML file ... a big movie file ..
a mp3 file ... just a .bin ... or linux module ... download from ftp
... any size ... any file ... from any where!! If I mount a partion on
HD and put things in it ... consumes memory (RAM) ... and problem
appear!!!
Not important if the file is big or not, if I put things there I had
this problem!!
Suppose that I had 100MB in a partion mounted HD !!! If I put many
3KB txt in there ... I think that I´ll not problem with memory!!! But
it´s consumes my memory!!!
> > I mount it, create a directory there but ... when I try to use the HD
> > mount with the directory, save many files in it, the memory go up .. up
> > ... and the linux stop working!!!o
> > If I umount the partion everything return to function well.
>
> How do you umount it, when it stopped working?!
>
No! I umount before it´s stopped!!! Before memory go 100% .. And
things back to normal!
> Anyway, could you provide contents of /proc/meminfo, /proc/slabinfo,
> /proc/mounts and /proc/swaps when the bad things are happening?
I´ll take a look in it and post here!
>
> > When I mount the partion again and begin to put files in it ... the
> > problem return!
> > I try to mount partion using ext2 and ext3 ... the problem is the
> > same!!!
>
> I'd be surprised if there was a difference. The filesystems are quite
> similar.
In this case I only use it to see if I had different result! I try
to mount a fat partion too!! Same result!!!
-
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2005-06-28 18:06 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-06-27 9:18 Run linux in ramdisk(tmpfs) and use a mounted HD for files cause memory and CPU overflow! Ewerton Romulo
2005-06-27 14:20 ` Jan Hudec
2005-06-28 18:06 ` Ewerton Romulo [this message]
2005-06-28 20:24 ` Jan Hudec
2005-06-29 4:41 ` Ewerton Romulo
2005-06-29 8:41 ` Jan Hudec
2005-06-29 16:28 ` Bryan Henderson
2005-06-29 18:36 ` Ewerton Romulo
2005-06-29 21:00 ` Bryan Henderson
2005-06-30 16:02 ` Jan Hudec
2005-06-29 18:46 ` Ewerton Romulo
2005-06-28 21:42 ` Bryan Henderson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1f52e8ed0506281106392511f2@mail.gmail.com \
--to=ewertonromulo@gmail.com \
--cc=bulb@ucw.cz \
--cc=linux-fsdevel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).