public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Todd Poynor <tpoynor@mvista.com>
To: Steven Scholz <steven.scholz@imc-berlin.de>
Cc: linux-mtd@lists.infradead.org
Subject: Re: JFFS2: mount time, SUMMARY and gc.c ?
Date: Fri, 07 Jan 2005 12:53:15 -0800	[thread overview]
Message-ID: <41DEF6BB.6040704@mvista.com> (raw)
In-Reply-To: <Pine.LNX.4.58.0501071938420.14398@phoenix.infradead.org>

Steven Scholz wrote:

>>And this slows down the start up of important user applications.
>>
>>Would it help to enable CONFIG_PREEMPT?

It sounds like your apps need to write to an fs on flash and are blocked 
on completion of the initial jffs2 gc pass, not that the cpu hogging is 
blocking your apps.  If so, would suggest a separate partition with a 
read-only fs (CramFS, etc.) for read-only data/executables (if not 
already), maybe put /tmp and /var/tmp (or whatever dirs the apps are 
writing to) in a ram fs such as tmpfs, and later copy 
important/persistent data to jffs2 after everything's started up...


-- 
Todd

  reply	other threads:[~2005-01-07 20:53 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-07 18:36 JFFS2: mount time, SUMMARY and gc.c ? Steven Scholz
2005-01-07 18:44 ` Steven Scholz
2005-01-07 19:05   ` Artem B. Bityuckiy
2005-01-07 19:11     ` Steven Scholz
2005-01-07 19:24       ` Artem B. Bityuckiy
2005-01-07 19:40       ` Artem B. Bityuckiy
2005-01-07 20:53         ` Todd Poynor [this message]
2005-01-08 12:43           ` Artem B. Bityuckiy
2005-01-07 20:31       ` Josh Boyer
2005-01-10  9:02         ` Steven Scholz
2005-01-07 19:01 ` Artem B. Bityuckiy

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=41DEF6BB.6040704@mvista.com \
    --to=tpoynor@mvista.com \
    --cc=linux-mtd@lists.infradead.org \
    --cc=steven.scholz@imc-berlin.de \
    /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