From owner-freebsd-current@FreeBSD.ORG Sun Jan 22 19:28:16 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 40EDB16A41F for ; Sun, 22 Jan 2006 19:28:16 +0000 (GMT) (envelope-from bra@fsn.hu) Received: from people.fsn.hu (people.fsn.hu [195.228.252.137]) by mx1.FreeBSD.org (Postfix) with ESMTP id C4D8643D48 for ; Sun, 22 Jan 2006 19:28:15 +0000 (GMT) (envelope-from bra@fsn.hu) Received: from localhost (localhost [127.0.0.1]) by people.fsn.hu (Postfix) with ESMTP id A37508444C; Sun, 22 Jan 2006 20:28:13 +0100 (CET) Received: from people.fsn.hu ([127.0.0.1]) by localhost (people.fsn.hu [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 19985-02-2; Sun, 22 Jan 2006 20:28:07 +0100 (CET) Received: from [172.16.164.71] (fw.axelero.hu [195.228.243.120]) by people.fsn.hu (Postfix) with ESMTP id B546B84420; Sun, 22 Jan 2006 20:28:07 +0100 (CET) Message-ID: <43D3DCCA.50100@fsn.hu> Date: Sun, 22 Jan 2006 20:28:10 +0100 From: Attila Nagy User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 To: Scott Long References: <43D3AA14.9090800@fsn.hu> <43D3B806.4020006@samsco.org> <43D3C6DD.4090702@fsn.hu> <43D3D917.30200@samsco.org> In-Reply-To: <43D3D917.30200@samsco.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at fsn.hu Cc: freebsd-current@freebsd.org Subject: Re: SCSI target mode LOR X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jan 2006 19:28:16 -0000 Scott Long wrote: >> BTW, will you work on CAM, target mode support, or 4G/MP safety of any >> of the two? > CAM: yes > target mode: yes > 4G/SMP: yes Hmm. Is it christmas, or something? :) This is absolutely great news! Do you have any deeper details? BTW, this is what I got on 6-STABLE with two HP BL25p connected to each other with a single FC loop: target: CPU states: 3.0% user, 0.0% nice, 59.9% system, 15.4% interrupt, 21.7% idle initiator: dT: 0.502 flag_I 500000us sizeof 288 i -1 L(q) ops/s r/s kBps ms/r w/s kBps ms/w %busy Name 2 261 147 18869 6.7 114 14534 8.6 99.5| da1 2 265 149 19124 6.7 116 14789 8.6 100.9| da2 2 275 157 20144 6.3 118 15044 8.3 100.0| da3 2 273 155 19889 6.3 118 15044 8.4 100.0| da4 2 267 153 19634 6.4 114 14534 8.6 100.0| da5 2 277 157 20144 6.3 120 15299 8.3 100.7| da6 2 263 151 19379 6.6 112 14279 8.7 99.9| da7 2 267 153 19634 6.5 114 14534 8.7 100.2| da8 The machines have two Opteron 252, 8G of RAM (running with 4G because of isp (I guess)) and a Qlogic 2312 dual port 2G FC adapter (only one port utilized). On the target I did 8 malloc backed RAM disks and shared them with scsi_target. On the initiator, I do this (just blindly testing for now): dd if=/dev/zero of=/dev/daX bs=1024k dd if=/dev/daX of=/dev/zero bs=1024k simultaneously for the 8 LUNs. -- Attila Nagy e-mail: Attila.Nagy@fsn.hu Free Software Network (FSN.HU) phone: +3630 306 6758 http://www.fsn.hu/