From: Takashi Ikebe <ikebe.takashi@lab.ntt.co.jp>
To: Andrew Morton <akpm@osdl.org>
Cc: axboe@suse.de, andrea@suse.de, linux-kernel@vger.kernel.org
Subject: Re: Real-time problem due to IO congestion.
Date: Fri, 10 Jun 2005 16:13:09 +0900 [thread overview]
Message-ID: <42A93D85.4060005@lab.ntt.co.jp> (raw)
In-Reply-To: <20050609234231.42a10763.akpm@osdl.org>
I see.
The program which I tested is just sample, and I wanted to know the
phenomena is spec or bug.
I also understand that this problem is spec, and need to apply some
buffering to such applications.
Thank you.
Andrew Morton wrote:
> Takashi Ikebe <ikebe.takashi@lab.ntt.co.jp> wrote:
>
>>There are 2 type processes in test environment.
>> 1. The real-time needed process (run on with high static priority)
>> The process wake up every 10ms, and wake up, write some log (the
>> test case is current CPU clock via tsc) to the file.
>>
>> 2. The process which make IO load
>> The process have large memory size, and kill the process with dumping.
>> The process's memory area exceeds 70% of whole physical
>> RAM.(Actually 1.5GB memory area while whole RAM is 2GB)
>>
>> Whenever during dumping, the real-time needed process sometimes stop for
>> long time during write system call. (sometimes exceeds 1000ms)
>
>
> The writeback code does attempt to give some preference to realtime tasks
> (in get_dirty_limits()), but it can only work up to a point.
>
> Frankly, your application is poorly designed. If you want sub-10ms
> responsiveness you shouldn't be doing disk I/O. The realtime task should
> hand the data off to a non-realtime task for writeout, with suitable
> amounts of buffering in between.
--
Takashi Ikebe
next prev parent reply other threads:[~2005-06-10 7:18 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-06-10 4:55 Real-time problem due to IO congestion Takashi Ikebe
2005-06-10 6:24 ` Jens Axboe
2005-06-10 7:49 ` Takashi Ikebe
2005-06-10 18:26 ` Lee Revell
2005-06-10 6:42 ` Andrew Morton
2005-06-10 7:13 ` Takashi Ikebe [this message]
2005-06-10 7:21 ` Jens Axboe
2005-06-10 20:25 ` Helge Hafting
2005-06-13 1:46 ` Takashi Ikebe
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=42A93D85.4060005@lab.ntt.co.jp \
--to=ikebe.takashi@lab.ntt.co.jp \
--cc=akpm@osdl.org \
--cc=andrea@suse.de \
--cc=axboe@suse.de \
--cc=linux-kernel@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