From nobody@FreeBSD.ORG  Thu Jun  8 11:20:53 2000
Return-Path: <nobody@FreeBSD.ORG>
Received: by hub.freebsd.org (Postfix, from userid 32767)
	id 640E337BB68; Thu,  8 Jun 2000 11:20:53 -0700 (PDT)
Message-Id: <20000608182053.640E337BB68@hub.freebsd.org>
Date: Thu,  8 Jun 2000 11:20:53 -0700 (PDT)
From: cwilkes@singingfish.com
Sender: nobody@FreeBSD.ORG
To: freebsd-gnats-submit@FreeBSD.org
Subject: AMI Raid Express 200 card extremely slow ( < 6MB/s)
X-Send-Pr-Version: www-1.0

>Number:         19129
>Category:       misc
>Synopsis:       AMI Raid Express 200 card extremely slow ( < 6MB/s)
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jun 08 11:30:00 PDT 2000
>Closed-Date:    Sun Dec 2 13:36:18 PST 2001
>Last-Modified:  Sun Dec 02 13:36:39 PST 2001
>Originator:     Chris Wilkes
>Release:        4.0
>Organization:
>Environment:
FreeBSD octopus 4.0-STABLE FreeBSD 4.0-STABLE #0: Sun May 28 11:04:59 GMT 2000
>Description:
File server with an AMI MegaRaid Express 200 card attached to a disk enclosure
with 8 9G LVD SCSI2 drives, for a total of ~60G of RAID5 storage.
Disk writes are extremely slow on it, around 6MB/s.  Called AMI and they
suggested moving from Linux to FreeBSD.  Did that and I still see the same
(bad) performance.
Speed (MB/s)	Description
17.1		internal SCSI -> other internal SCSI
16.5		raid -> internal scsi
6.05		internal scsi -> raid
4.10		raid -> raid

The drives are rated at 20MB/s, I'm really happy with the 17.1MB/s I'm seeing
for local to local.  I was expecting a huge gain up to about the 80MB/s max
spec for scsi-2, but instead writes are 1/3 the speed.
>How-To-Repeat:
Reformated drives after the system became unstable and core dumped on an
fsck.  Still the same performance numbers.
>Fix:


>Release-Note:
>Audit-Trail:

From: "Aleksandr A. Babaylov" <babolo@zx.ru>
To: cwilkes@singingfish.com
Cc: freebsd-gnats-submit@FreeBSD.ORG
Subject: Re: misc/19129: AMI Raid Express 200 card extremely slow ( < 6MB/s)
Date: Fri, 9 Jun 2000 04:17:59 +0400 (MSD)

 cwilkes@singingfish.com writes:
 > 
 > >Number:         19129
 > >Category:       misc
 > >Synopsis:       AMI Raid Express 200 card extremely slow ( < 6MB/s)
 > >Confidential:   no
 > >Severity:       non-critical
 > >Priority:       medium
 > >Responsible:    freebsd-bugs
 > >State:          open
 > >Quarter:        
 > >Keywords:       
 > >Date-Required:
 > >Class:          sw-bug
 > >Submitter-Id:   current-users
 > >Arrival-Date:   Thu Jun 08 11:30:00 PDT 2000
 > >Closed-Date:
 > >Last-Modified:
 > >Originator:     Chris Wilkes
 > >Release:        4.0
 > >Organization:
 > >Environment:
 > FreeBSD octopus 4.0-STABLE FreeBSD 4.0-STABLE #0: Sun May 28 11:04:59 GMT 2000
 > >Description:
 > File server with an AMI MegaRaid Express 200 card attached to a disk enclosure
 > with 8 9G LVD SCSI2 drives, for a total of ~60G of RAID5 storage.
 > Disk writes are extremely slow on it, around 6MB/s.  Called AMI and they
 > suggested moving from Linux to FreeBSD.  Did that and I still see the same
 > (bad) performance.
 I see that if LVD controller works with non-LVD disks
 I dont know  AMI MegaRaid Express 200 card  - are you shure it has
 LVD interface?
 
 > Speed (MB/s)	Description
 > 17.1		internal SCSI -> other internal SCSI
 > 16.5		raid -> internal scsi
 > 6.05		internal scsi -> raid
 > 4.10		raid -> raid
 > 
 > The drives are rated at 20MB/s, I'm really happy with the 17.1MB/s I'm seeing
 > for local to local.  I was expecting a huge gain up to about the 80MB/s max
 > spec for scsi-2, but instead writes are 1/3 the speed.
 > >How-To-Repeat:
 > Reformated drives after the system became unstable and core dumped on an
 > fsck.  Still the same performance numbers.
 > >Fix:
 > 
 > 
 > >Release-Note:
 > >Audit-Trail:
 > >Unformatted:
 > 
 > 
 > To Unsubscribe: send mail to majordomo@FreeBSD.org
 > with "unsubscribe freebsd-bugs" in the body of the message
 > 
 
 
 -- 
 
 ZZZZ X   X
   Z   X X          ZX Spectrum software museum
  Z     X   http://www.zx.ru/    ftp://zx-museum.org.ru/
 Z     X X        babolo@zx.ru  Alexandr Babaylov
 ZZZZ X   X
 
 

From: Chris Wilkes <cwilkes@singingfish.com>
To: "Aleksandr A. Babaylov" <babolo@zx.ru>
Cc: freebsd-gnats-submit@FreeBSD.ORG
Subject: Re: misc/19129: AMI Raid Express 200 card extremely slow ( < 6MB/s)
Date: Thu, 8 Jun 2000 17:30:07 -0700 (PDT)

 On Fri, 9 Jun 2000, Aleksandr A. Babaylov wrote:
 
 > > File server with an AMI MegaRaid Express 200 card attached to a disk enclosure
 > > with 8 9G LVD SCSI2 drives, for a total of ~60G of RAID5 storage.
 > > Disk writes are extremely slow on it, around 6MB/s.  Called AMI and they
 > > suggested moving from Linux to FreeBSD.  Did that and I still see the same
 > > (bad) performance.
 > I see that if LVD controller works with non-LVD disks
 > I dont know  AMI MegaRaid Express 200 card  - are you shure it has
 > LVD interface?
 > 
 
 I painfully know that the drives are LVD as I tried to hook them up to an
 Adaptec card when this was to be used with a Sun Sparc box.  Didn't work
 as they do not support LVD drives.  I've since started to use this array
 on my (then) Linux and now FreeBSD 4.0 one.
 Also the active terminator I have specifies "HVD" "LVD" and "SE" and the
 LVD light is lifted up.
 As for the card, it can support SE (single ended) or LVD (low voltage
 differential).  I would imagine that if it were in SE mode my terminator
 would state that.
 I played around with the TCQ (command tag queuing) settings in the
 MegaRaid BIOS and that didn't seem to have an effect.
 Changing from raid 5 to 0 caused the times to be about cut in half.  So
 instead of 6MB/s it would be closer to 10MB/s -- which is still half the
 speed of one of the internal SCSI drives!
 
 
State-Changed-From-To: open->feedback 
State-Changed-By: iedowse 
State-Changed-When: Sun Dec 2 13:19:08 PST 2001 
State-Changed-Why:  

Does this problem still exist? 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=19129 
State-Changed-From-To: feedback->closed 
State-Changed-By: iedowse 
State-Changed-When: Sun Dec 2 13:36:18 PST 2001 
State-Changed-Why:  

Mail to submitter bounces. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=19129 
>Unformatted:
