Subject: Re: dump speed of ncr vs. siop
To: Nathan J. Williams <nathanw@MIT.EDU>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: current-users
Date: 10/02/2000 21:39:19
--6c2NcOVqGQ03X4Wi
Content-Type: text/plain; charset=us-ascii

On Sat, Sep 30, 2000 at 09:52:45PM -0400, Nathan J. Williams wrote:
> 
> Today I got tired of my crash-and-burn PC (old Intel p90 box) taking
> six minutes to do a crash dump of 64M. It's been using the siop driver
> for the bus the disk is on, and on a lark I switched it back to the
> ncr driver. Dumping 64M only took two minutes in that setup. 
> 
> Anyone else see the same problem?

I can't see any difference on my cyrix 133.

Could you try the attached patch on your system ? the ncr driver does the
delay() between 2 pools.

--
Manuel Bouyer <bouyer@antioche.eu.org>
--

--6c2NcOVqGQ03X4Wi
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=diff

--- siop.c.old	Mon Oct  2 21:35:04 2000
+++ siop.c	Mon Oct  2 21:35:11 2000
@@ -1257,8 +1257,10 @@
 	siop_start(sc);
 	if (xs->xs_control & XS_CTL_POLL) {
 		/* poll for command completion */
-		while ((xs->xs_status & XS_STS_DONE) == 0)
+		while ((xs->xs_status & XS_STS_DONE) == 0) {
+			DELAY(1000);
 			siop_intr(sc);
+		}
 		splx(s);
 		return (COMPLETE);
 	}

--6c2NcOVqGQ03X4Wi--