public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Nick Piggin <piggin@cyberone.com.au>
To: Con Kolivas <kernel@kolivas.org>
Cc: linux kernel mailing list <linux-kernel@vger.kernel.org>
Subject: Re: Deadline for video capture
Date: Thu, 22 Jan 2004 16:17:25 +1100	[thread overview]
Message-ID: <400F5CE5.6000602@cyberone.com.au> (raw)
In-Reply-To: <200401221608.05924.kernel@kolivas.org>



Con Kolivas wrote:

>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA1
>
>Hi all
>
>I suspected that the anticipatory scheduler might not have been the best 
>choice for video capture because of the interruption to writes by reads and 
>the subsequent anticipatory delay associated with it.  I have now confirmed 
>that booting with the default anticipatory i/o elevator I get many dropped 
>frames that I don't get if I boot with elevator=deadline. 
>
>briefly: dual 7200 rpm ATA5 IDE drives in software RAID0
>
>I guess there isn't really a lot to do about this, it's a compromise one way 
>or the other. The anticipatory scheduler seems better all round but in this 
>large streaming write situation it doesn't seem ideal. Any sysctl settings I 
>could use to blunt the anticipation just before I do video capture?
>

echo 0 > /sys/block/*/queue/iosched/antic_expire
Turns it off alltogether.

You could also adjust read and write batch expire settings which are
heavily biased toward reads.



  reply	other threads:[~2004-01-22  5:18 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-22  5:08 Deadline for video capture Con Kolivas
2004-01-22  5:17 ` Nick Piggin [this message]
2004-01-22 14:28   ` Timothy Miller
2004-01-22 15:37     ` Con Kolivas

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=400F5CE5.6000602@cyberone.com.au \
    --to=piggin@cyberone.com.au \
    --cc=kernel@kolivas.org \
    --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