Re: poor sata performance on 2.6

From: Prakash K. Cheemplavam (PrakashKC_at_gmx.de)
Date: 04/15/04

  • Next message: Chris Friesen: "Re: modules in 2.6 kernel - question for FAQ?"
    Date:	Thu, 15 Apr 2004 16:52:04 +0200
    To: Konstantin Sobolev <kos@supportwizard.com>
    
    

    Konstantin Sobolev wrote:
    > On Thursday 15 April 2004 18:33, Justin Cormack wrote:
    >
    >>On Thu, 2004-04-15 at 15:26, Konstantin Sobolev wrote:
    >>
    >>>On Thursday 15 April 2004 18:00, Justin Cormack wrote:
    >>>
    >>>>hmm, odd. I get 50MB/s or so from normal (7200, 8MB cache) WD disks,
    >>>>and Seagate from the same controller. Can you send lspci,
    >>>>/proc/interrupts and dmesg...
    >>>
    >>>Attached are files for 2.6.5-mm5 with highmem, ACPI and APIC turned off.
    >>
    >>ah. Make a filesystem on it and mount it and try again. I see you have
    >>no partition table and so probably no filesystem. This means the block
    >>size is set to default 512byte not 4k which makes disk operations slow.
    >>Any filesystem should default to block size of 4k, eg ext2.
    >
    >
    > Very interesting!
    > created partition table,
    > kos sata # mkfs.ext2 /dev/sda1
    > [..skipped..]
    > kos mnt # cd /
    > kos / # mkdir wd
    > kos / # mount /dev/sda1 /wd
    > kos / # hdparm -t -a8192 /dev/sda

    [snip]

    > So first time it gave the same loosy 27 MB/s and subsequent tests give pretty
    > good 68 MB/s! Why?

    I once reported that to lkml but got no reaction. siimage.c doesn't show
    this behaviour.

    Prakash
    -
    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: Chris Friesen: "Re: modules in 2.6 kernel - question for FAQ?"

    Relevant Pages

    • read/only root filesystem strategy
      ... the installed system as possible be running under a read/only mount. ... or a widely shared network filesystem. ... Modifying the kernel to perform the setup. ... Partition hda1 would house the kernel and a small rescue ...
      (comp.os.linux.development.system)
    • Re: Basic structure of Linux : File system, types of files with extentions, drive informations, and
      ... occurs at a certain place (the mount point) in the filesystem. ... When a partition is mounted onto the filing tree at a specific directory, ... note though that the op was asking a very newbie question, ...
      (alt.os.linux)
    • Re: hardisk full
      ... mount the appropriate partition on each. ... create tar files (This assumes you have at least twice the currently ... one filesystem at a time and use the other partition as the location to ...
      (Fedora)
    • Re: Problem with multiple mounts
      ... make reiserfs and run fsstress test case on this partition. ... I mount this partition on the nbd server. ... Unless you have a filesystem that is ...
      (Linux-Kernel)
    • Re: SATA disk device naming ?
      ... > matter where/how you mount your drives, ... > into the proper places in the filesystem. ... help at boot time. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)