RE: Complete I/O starvation with 3ware raid on 2.6

From: Adam Radford (aradford_at_3WARE.com)
Date: 09/25/03

  • Next message: Sam Ravnborg: "Re: [2.6 patch] add a config option for -Os compilation"
    To: 'Nick Piggin' <piggin@cyberone.com.au>, Aaron Lehmann <aaronl@vitelus.com>
    Date:	Thu, 25 Sep 2003 11:19:20 -0700
    
    

    You should set CONFIG_3W_XXXX_CMD_PER_LUN in your .config to 16 or 32.

    -Adam

    -----Original Message-----
    From: Nick Piggin [mailto:piggin@cyberone.com.au]
    Sent: Thursday, September 25, 2003 3:29 AM
    To: Aaron Lehmann
    Cc: Andrew Morton; linux-kernel@vger.kernel.org
    Subject: Re: Complete I/O starvation with 3ware raid on 2.6

    Aaron Lehmann wrote:

    >On Thu, Sep 25, 2003 at 07:13:32PM +1000, Nick Piggin wrote:
    >
    >>But the load average will be 11 because there are processes stuck in the
    >>kernel somewhere in D state. Have a look for them. They might be things
    >>like pdflush, kswapd, scsi_*, etc.
    >>
    >
    >They're pdflush and kjournald. I don't have sysrq support compiled in
    >at the moment.
    >

    OK, it would be good if you could get a couple of sysrq T snapshots then
    and post them to the list.

    >
    >I've noticed the problem does not occur when the raid can absorb data
    >faster than the other drive can throw data at it. My naive mind is
    >pretty sure that this is just an issue of way too much being queued
    >

    Although your system (usr, lib, bin etc) is on the IDE disk, right?
    And that is only doing reads?

    How does your system behave if you are doing just the read side (ie.
    going to /dev/null), or just the write side (coming from /dev/zero).

    >
    >for writing. If someone could tell me how to control this parameter,
    >I'd definately give it a try [tomorrow]. All I've found on my own is
    >#define TW_Q_LENGTH 256 in 3w-xxxx.h and am not sure if this is the
    >right thing to change or safe to change.
    >

    That looks like it, try it at 4.

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/


  • Next message: Sam Ravnborg: "Re: [2.6 patch] add a config option for -Os compilation"

    Relevant Pages

    • Re: XFS breakage in 2.6.18-rc1
      ... system disk too who had to take the hit. ... send the line "unsubscribe linux-kernel" in ... More majordomo info at http://vger.kernel.org/majordomo-info.html ... Please read the FAQ at http://www.tux.org/lkml/ ...
      (Linux-Kernel)
    • Re: How to run an a.out file in a kernel module
      ... called in a kernel module using call_usermodehelper ... Please read the FAQ at http://www.tux.org/lkml/ ... More majordomo info at http://vger.kernel.org/majordomo-info.html ...
      (Linux-Kernel)
    • Re: XFS Bug null pointer dereference in xfs_free_ag_extent
      ... I also filed bug 6877 at kernel.org ... send the line "unsubscribe linux-kernel" in ... More majordomo info at http://vger.kernel.org/majordomo-info.html ... Please read the FAQ at http://www.tux.org/lkml/ ...
      (Linux-Kernel)
    • Re: [patch] remove unused acct variables from task_struct
      ... struct mempolicy *mempolicy; ... More majordomo info at http://vger.kernel.org/majordomo-info.html ... Please read the FAQ at http://www.tux.org/lkml/ ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: DIPC alpha2 for i386, Alpha, SPARC, and M68k
      ... there seems to be a delay on cs.uwindsor.ca between the time you upload something and the time it actually shows up on the page. ... More majordomo info at http://vger.kernel.org/majordomo-info.html ... Please read the FAQ at http://www.tux.org/lkml/ ... To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ ...
      (Linux-Kernel)