From owner-freebsd-current@freebsd.org Thu Jun 8 18:46:31 2017 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D54FCC776FA for ; Thu, 8 Jun 2017 18:46:31 +0000 (UTC) (envelope-from peter.blok@bsd4all.org) Received: from smtpq2.tb.mail.iss.as9143.net (smtpq2.tb.mail.iss.as9143.net [212.54.42.165]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7FA186A23B; Thu, 8 Jun 2017 18:46:31 +0000 (UTC) (envelope-from peter.blok@bsd4all.org) Received: from [212.54.34.120] (helo=smtp12.mnd.mail.iss.as9143.net) by smtpq2.tb.mail.iss.as9143.net with esmtp (Exim 4.86_2) (envelope-from ) id 1dJ2Rq-0007se-Fw; Thu, 08 Jun 2017 20:46:22 +0200 Received: from 5ed15678.cm-7-2b.dynamic.ziggo.nl ([94.209.86.120] helo=wan0.bsd4all.org) by smtp12.mnd.mail.iss.as9143.net with esmtp (Exim 4.86_2) (envelope-from ) id 1dJ2Rq-0005UM-D5; Thu, 08 Jun 2017 20:46:22 +0200 Received: from newnas (localhost [127.0.0.1]) by wan0.bsd4all.org (Postfix) with ESMTP id 90DED720C; Thu, 8 Jun 2017 20:46:21 +0200 (CEST) X-Virus-Scanned: amavisd-new at bsd4all.org Received: from wan0.bsd4all.org ([127.0.0.1]) by newnas (newnas.bsd4all.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BlzmmbWJ7KfU; Thu, 8 Jun 2017 20:46:20 +0200 (CEST) Received: from [192.168.1.64] (mm [192.168.1.64]) by wan0.bsd4all.org (Postfix) with ESMTPSA id B86B87202; Thu, 8 Jun 2017 20:46:19 +0200 (CEST) From: peter.blok@bsd4all.org Message-Id: Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: Time to increase MAXPHYS? Date: Thu, 8 Jun 2017 20:46:19 +0200 In-Reply-To: <20170605174930.GA6259@brick> Cc: Hans Petter Selasky , Tomoaki AOKI , freebsd-current@freebsd.org To: =?utf-8?Q?Edward_Tomasz_Napiera=C5=82a?= References: <0100015c6fc1167c-6e139920-60d9-4ce3-9f59-15520276aebb-000000@email.amazonses.com> <972dbd34-b5b3-c363-721e-c6e48806e2cd@elischer.org> <3719c729-9434-3121-cf52-393a4453d0b2@freebsd.org> <20170604163948.eb5f74ce2a233b8f204ba671@dec.sakura.ne.jp> <15e42fd1-055d-28f6-5e24-1448e16954a9@selasky.org> <20170605174930.GA6259@brick> X-Mailer: Apple Mail (2.3273) X-SourceIP: 94.209.86.120 X-Ziggo-spambar: / X-Ziggo-spamscore: 0.0 X-Ziggo-spamreport: CMAE Analysis: v=2.2 cv=Baeo6vl2 c=1 sm=1 tr=0 a=IkzOOneQUJP1+bAPekPvBg==:17 a=LWSFodeU3zMA:10 a=6I5d2MoRAAAA:8 a=TInpbu2Uoq2eLERIPWUA:9 a=QEXdDO2ut3YA:10 a=Yu5NEQuBHAHfXgcPOwwA:9 a=ZI24qOWCWR5z0UmS:21 a=_W_S_7VecoQA:10 a=IjZwj45LgO3ly-622nXo:22 none X-Ziggo-Spam-Status: No X-Spam-Status: No X-Spam-Flag: No Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.23 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: Thu, 08 Jun 2017 18:46:31 -0000 One area that breaks after changing MAXPHYS from 128K to 1MB is the = iscsi target. I don=E2=80=99t have details, because that server is = semi-production and I reverted it back ASAP > On 5 Jun 2017, at 19:49, Edward Tomasz Napiera=C5=82a = wrote: >=20 > On 0604T0952, Hans Petter Selasky wrote: >> On 06/04/17 09:39, Tomoaki AOKI wrote: >>> Hi >>>=20 >>> One possibility would be to make it MD build-time OTIONS, >>> defaulting 1M on regular systems and 128k on smaller systems. >>>=20 >>> Of course I guess making it a tunable (or sysctl) would be best, >>> though. >>>=20 >>=20 >> Hi, >>=20 >> A tunable sysctl would be fine, but beware that commonly used = firmware=20 >> out there produced in the millions might hang in a non-recoverable = way=20 >> if you exceed their "internal limits". Conditionally lowering this=20 >> definition is fine, but increasing it needs to be carefully verified. >>=20 >> For example many USB devices are only tested with OS'es like Windows = and=20 >> MacOS and if these have any kind of limitation on the SCSI transfer=20= >> sizes, it is very likely many devices out there do not support any=20 >> larger transfer sizes either. >=20 > FWIW, when testing cfiscsi(4) with Windows and OSX I've noticed > that both issue 1MB requests. I wouldn't be surprised if they avoided > doing that for older devices, depending on eg the SCSI version = reported > by device. >=20 > _______________________________________________ > freebsd-current@freebsd.org = mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-current = > To unsubscribe, send any mail to = "freebsd-current-unsubscribe@freebsd.org = "