From owner-freebsd-scsi Mon Apr 17 14:56:05 1995 Return-Path: freebsd-scsi-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id OAA25164 for freebsd-scsi-outgoing; Mon, 17 Apr 1995 14:56:05 -0700 Received: from cs.sunysb.edu (sbcs.sunysb.edu [130.245.1.15]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id OAA25157 for ; Mon, 17 Apr 1995 14:56:03 -0700 Received: from syslab11.csdept (syslab11.cs.sunysb.edu [130.245.14.11]) by cs.sunysb.edu (8.6.11/8.6.9) with SMTP id RAA29886 for ; Mon, 17 Apr 1995 17:55:58 -0400 Date: Mon, 17 Apr 1995 17:55:58 -0400 From: Michael Vernick Message-Id: <199504172155.RAA29886@cs.sunysb.edu> Received: by syslab11.csdept (4.1/SMI-4.1) id AA04136; Mon, 17 Apr 95 17:52:46 EDT To: freebsd-scsi@FreeBSD.org Subject: SCSI command processing Sender: freebsd-scsi-owner@FreeBSD.org Precedence: bulk I have also done some testing of SCSI overhead processing. On average an 'Inquiry' command sent to the disk over an EISA bus takes 1.2 ms, that is going in and out of user space from start to finish. To retrieve 1 block from the disk cache also takes about the same amount of time, 1.22ms on average. I test this by first doing a read of a random block and then re-read it. The first read incurs the seek, rotation, and transfer overhead, the second read is satisfied by from the disk cache. So the 1.22 ms includes: going in and out of user space, 2 each of: EISA bus transfer, SCSI controller overhead, SCSI bus transfer and disk overhead. Thus, it would seem the disk overhead is quite small. mv