From owner-freebsd-hackers Fri Mar 21 04:20:33 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id EAA12434 for hackers-outgoing; Fri, 21 Mar 1997 04:20:33 -0800 (PST) Received: from root.com (implode.root.com [198.145.90.17]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id EAA12429 for ; Fri, 21 Mar 1997 04:20:29 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by root.com (8.8.5/8.6.5) with SMTP id EAA08284; Fri, 21 Mar 1997 04:19:24 -0800 (PST) Message-Id: <199703211219.EAA08284@root.com> X-Authentication-Warning: implode.root.com: localhost [127.0.0.1] didn't use HELO protocol To: "A JOSEPH KOSHY" cc: freebsd-hackers@freebsd.org Subject: Re: SDDISKSORT In-reply-to: Your message of "Fri, 21 Mar 1997 16:44:18 +0500." <199703211144.AA094094658@fakir.india.hp.com> From: David Greenman Reply-To: dg@root.com Date: Fri, 21 Mar 1997 04:19:24 -0800 Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >I noticed that by default we never turn on disk sorting for SCSI drives. Yes, that is correct. >What would be the reason for doing so. I understand that if a drive supports >command queueing then presorting the request list may not be effective. >However not all hardware support command queueing. > >Is not sorting the disk I/Os beneficial for all SCSI drives? The block sort algorithm in FreeBSD is highly inferior to the algorithms used in modern SCSI drives. Enabling the FreeBSD algorithm in this situation substantially reduces disk performance for drives/controllers that support tagged command queueing, which is why 'disksort' is disabled by default in FreeBSD. For people who have controllers that don't support tagged queueing, they can enable the disksort algorithm with the SDDISKSORT kernel option. -DG David Greenman Core-team/Principal Architect, The FreeBSD Project