Re: ciss(4): speed degradation for Compaq Smart Array

From: Maxim Sobolev (sobomax_at_portaone.com)
Date: 03/30/05

  • Next message: Gavin Atkinson: "Re: NFSv4 failure"
    Date: Wed, 30 Mar 2005 12:52:41 +0300
    To: Andrey Koklin <aka@veco.ru>
    
    

    Are you sure that in both cases /tmp is located in the same physical
    zone of the disk? Due to CAV (constant angular velocity) natute of
    modern HDDs there is drastical difference (more than 2x) in read/write
    speeds between data located on outer tracks and data on inner tracks.
    Therefore, to make a meaningful comparison you should at least mount the
    very same slice in every case. Even better, you need to newfs this slice
    before doing any tests, to avoid any interference of your results with
    fragmentation.

    -Maxim

    Andrey Koklin wrote:
    > We have several Proliants DL380 with integrated Smart Array 5i controller,
    > with installed FreeBSD OS versions 4.11-stable, 5.4-pre and 6.0-current.
    > All systems have disks configured as RAID5.
    >
    > I've noticed there is drastic difference in speed for the systems.
    > While I have linear transfer 45-50 Mb/s (write) and 100 Mb/s (read)
    > for FreeBSD 4.11, there is near two times degradation in speed
    > with 5.4 and 6.0.
    >
    > -- 8< ------------------------------------------------------------------
    >
    > FreeBSD 4.11:
    > ciss.c,v 1.2.2.21 2005/01/21
    >
    > # dd if=/dev/zero of=/var/tmp/4G bs=1024 count=$[4*1024*1024]
    >
    > 4294967296 bytes transferred in 107.075789 secs (40111470 bytes/sec)
    >
    > # dd if=/var/tmp/4G of=/dev/zero
    >
    > 4294967296 bytes transferred in 42.394322 secs (101309966 bytes/sec)
    >
    >
    > FreeBSD 5.4-pre:
    > ciss.c,v 1.56.2.1 2005/01/20
    >
    > # dd if=/dev/zero of=/var/tmp/4G bs=1024 count=$[4*1024*1024]
    >
    > 4294967296 bytes transferred in 163.088095 secs (26335259 bytes/sec)
    >
    > # dd if=/var/tmp/4G of=/dev/zero
    >
    > 4294967296 bytes transferred in 79.773797 secs (53839324 bytes/sec)
    >
    >
    > FreeBSD 6.0:
    > ciss.c,v 1.60 2005/03/29
    >
    > # dd if=/dev/zero of=/var/tmp/4G bs=1024 count=$[4*1024*1024]
    >
    > 4294967296 bytes transferred in 224.804547 secs (19105340 bytes/sec)
    >
    > # dd if=/var/tmp/4G of=/dev/zero
    >
    > 4294967296 bytes transferred in 94.839699 secs (45286598 bytes/sec)
    >
    > -- 8< ------------------------------------------------------------------
    >
    > These are simple tests taken on running systems (tests in single user
    > mode are slightly different but of the same order)
    >
    > It seems, there is sensible speed penalty with driver version growing.
    >
    > Andrey
    > _______________________________________________
    > freebsd-current@freebsd.org mailing list
    > http://lists.freebsd.org/mailman/listinfo/freebsd-current
    > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
    >
    >
    >

    _______________________________________________
    freebsd-current@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-current
    To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"


  • Next message: Gavin Atkinson: "Re: NFSv4 failure"

    Relevant Pages

    • Re: FreeBSD and newer HDD problems ?
      ... FreeBSD has some troubles with it when trying to transfer files over ... Problem comes when I try to copy something to disk over network (tried ... highest transfer speeds possible and I'd like to stick with FreeBSD:-/. ...
      (freebsd-questions)
    • Re: FreeBSD and newer HDD problems ?
      ... FreeBSD has some troubles with it when trying to transfer files over ... Problem comes when I try to copy something to disk over network (tried ... highest transfer speeds possible and I'd like to stick with FreeBSD:-/. ...
      (freebsd-questions)
    • Re: FreeBSD and newer HDD problems ?
      ... I've recently bought new big HDD and it looks like FreeBSD has some troubles with it when trying to transfer files over network. ... Problem comes when I try to copy something to disk over network disk write speed is very low - about 5-6MB/s at max. ... To be sure that disk it is not some kind of disk problem I've installed Debian 3.1r2 with same version of samba and I get 9-11MB/s transfer speeds!! ... Because my server is primarily used for transfer files it is crucial for me to have highest transfer speeds possible and I'd like to stick with FreeBSD:-/. ...
      (freebsd-questions)
    • Re: some issues about partitions and boot manager in dual boot cases with Windows
      ... freeBSD edition. ... The first is installing on a disk that is completely given to FreeBSD ... master, Windows 2000 or XP, and on the other, on the first partition, the ... It requires its own slice. ...
      (freebsd-questions)
    • Machine doesnt boot after switching from Linux to FreeBSD
      ... I'm trying to switch a Linux system to FreeBSD. ... The full dmesg output that I get after net-booting from the rescue disk ... <PLIP network interface> on ppbus0 ... (no root path) ...
      (freebsd-questions)