From owner-freebsd-scsi Thu Apr 11 2:19:37 2002 Delivered-To: freebsd-scsi@freebsd.org Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by hub.freebsd.org (Postfix) with ESMTP id C1DE137B405 for ; Thu, 11 Apr 2002 02:19:35 -0700 (PDT) Received: by elvis.mu.org (Postfix, from userid 1000) id A332FAE1D7; Thu, 11 Apr 2002 02:19:35 -0700 (PDT) Date: Thu, 11 Apr 2002 02:19:35 -0700 From: Paul Saab To: Lukas Ertl Cc: freebsd-scsi@freebsd.org Subject: Re: ciss driver and tagged queuing Message-ID: <20020411091935.GA99318@elvis.mu.org> References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="VbJkn9YxBvnuCH5J" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.27i Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --VbJkn9YxBvnuCH5J Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Can you try this patch? It should fix the performance problems you are having. --VbJkn9YxBvnuCH5J Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="ciss.diff" Index: ciss.c =================================================================== RCS file: /home/ncvs/src/sys/dev/ciss/ciss.c,v retrieving revision 1.3 diff -u -I$PMS -I$FreeBSD -I$Id -u -r1.3 ciss.c --- ciss.c 2001/12/18 08:01:48 1.3 +++ ciss.c 2002/04/11 09:18:42 @@ -1999,8 +1999,9 @@ * Create a SIM. */ if ((sc->ciss_cam_sim = cam_sim_alloc(ciss_cam_action, ciss_cam_poll, "ciss", sc, - device_get_unit(sc->ciss_dev), 1, + device_get_unit(sc->ciss_dev), sc->ciss_cfg->max_outstanding_commands, + 1, sc->ciss_cam_devq)) == NULL) { ciss_printf(sc, "can't allocate CAM SIM\n"); return(ENOMEM); --VbJkn9YxBvnuCH5J-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message