All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sebastian Kuzminsky <seb@highlab.com>
To: linux-kernel@vger.kernel.org
Subject: Re: io priorities?
Date: Thu, 01 Jul 2004 17:15:38 -0600	[thread overview]
Message-ID: <E1BgAmJ-0006dx-00@highlab.com> (raw)
In-Reply-To: <20040701155637.74af8c0d.akpm@osdl.org>

Andrew Morton <akpm@osdl.org> wrote:
] "Richard B. Johnson" <root@chaos.analogic.com> wrote:
] > Periodically fsync() the logs so there isn't soooo much stuff to
] > write. In fact, a simple sync() call about once every few seconds
] > should make everything work,
] 
] Yup.  Alternatively, set /proc/sys/vm/dirty_ratio and /proc/sys/vm/dirty_background_ratio
] to really small values.  Say, 2 and 1.


Thanks guys, that sort of fixes it, but not really.  Occasionally i get
a big load of IO (copying tens of megs of log files around), and even if
i synced a second before, now there's tens of seconds of IO in the queue,
and my next fsync() still drags on.


Really i just want this one process to go to the front of the queue, any
time it has IO to do, independent of what the rest of the system is doing.




--
Sebastian


      reply	other threads:[~2004-07-01 23:22 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-01 18:14 io priorities? Sebastian Kuzminsky
2004-07-01 19:07 ` Richard B. Johnson
2004-07-01 22:56   ` Andrew Morton
2004-07-01 23:15     ` Sebastian Kuzminsky [this message]

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=E1BgAmJ-0006dx-00@highlab.com \
    --to=seb@highlab.com \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.