From owner-freebsd-scsi@freebsd.org Mon Jun 26 13:57:51 2017 Return-Path: Delivered-To: freebsd-scsi@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 C6E12D87ED2; Mon, 26 Jun 2017 13:57:51 +0000 (UTC) (envelope-from ben.rubson@gmail.com) Received: from mail-wr0-x242.google.com (mail-wr0-x242.google.com [IPv6:2a00:1450:400c:c0c::242]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 520A17A71D; Mon, 26 Jun 2017 13:57:51 +0000 (UTC) (envelope-from ben.rubson@gmail.com) Received: by mail-wr0-x242.google.com with SMTP id 77so29375157wrb.3; Mon, 26 Jun 2017 06:57:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=BEEoNVE2CrKbx9gHAYaoAeYCLOeLKlHzIeLaw57IxhM=; b=UsYDHf2MKfhWumAmRebPCb6bCSggmRSDFnFLjuvilFmech2TywdD/ndov24EjhoymJ Z2Xx97kkP6A+660RgmcnK6bOF/Lf6JfFns6Ja7iq+72PLpdf6/s0hb2M+xfFpMy5xq06 p/SSkkuQFuwGoOEBFurEmKk2FpCHmmPH6oT9iovIDwColSEWQftxecL3BcSmutekcZzw MlCIxloPgnmHv6qCQBeiHNyUybf0uA1QzEu/DJXmu3gwiLMSRHHAfEg59psgYMWytE7E aTRhzAte7rFHY6zG+L+RI3FWJ/uA+Z/Ow2aF4+CNyMhFWel2kRhCSLA9q4AU6JfSR0Mk KX/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=BEEoNVE2CrKbx9gHAYaoAeYCLOeLKlHzIeLaw57IxhM=; b=EPOM7iZ+mG1ijkPCVmnie3cdGRmNCjdIDB7/RhaLEC7EPf+Ft9cCAYb42/Q/hV7nOu 6KSmTAcu210B1VyQoWEilui8BNa1ZWvvDl1z7u9AW9pSHOoPQn8/Q7oWA5mH3n7hsdaW IyygC2ElKuo+wtVMSbBAa3jX6pIbaa67C4o3yDbx+lL9q1qeCQ3NhJ9VRQlcdTvtGCxR nYGGK9fwdUGOJ+io9s9a/4llFsUHUizmN3bdptazJWCiePFDqSwwrmjb6iEP+kvJMZQD kgH5MPTFPNgyRzyhaoxtpwMShGkXNLXbrrSwHOfpcAjGHEZ+nTa/o99GDKSM2YXuJAtQ lAgw== X-Gm-Message-State: AKS2vOxJrNXYjufhTjxToBVUxgc+b5YxWwlOfkrsJs+hdAs3CzlYj8wc Cuxfkljmx/0vdw== X-Received: by 10.223.151.51 with SMTP id r48mr14803383wrb.189.1498485469753; Mon, 26 Jun 2017 06:57:49 -0700 (PDT) Received: from ben.home (LFbn-1-7159-4.w90-116.abo.wanadoo.fr. [90.116.90.4]) by smtp.gmail.com with ESMTPSA id p87sm209778wma.2.2017.06.26.06.57.48 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 26 Jun 2017 06:57:49 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: mbuf_jumbo_9k & iSCSI failing From: Ben RUBSON In-Reply-To: <61f98b7d-f55d-aa0f-4aef-1bdfbc7086ff@yandex.ru> Date: Mon, 26 Jun 2017 15:57:48 +0200 Cc: Ryan Stone , FreeBSD Net , "freebsd-scsi@freebsd.org" Content-Transfer-Encoding: quoted-printable Message-Id: <2C291A70-B6DD-4E21-9106-4FE023E9EAFE@gmail.com> References: <486A6DA0-54C8-40DF-8437-F6E382DA01A8@gmail.com> <6a31ef00-5f7a-d36e-d5e6-0414e8b813c7@selasky.org> <613AFD8E-72B2-4E3F-9C70-1D1E43109B8A@gmail.com> <2c9a9c2652a74d8eb4b34f5a32c7ad5c@AM5PR0502MB2916.eurprd05.prod.outlook.com> <52A2608C-A57E-4E75-A952-F4776BA23CA4@gmail.com> <9B507AA6-40FE-4B8D-853F-2A9422A2DF67@gmail.com> <64abec26-e310-d66d-93ae-3536914ddd84@yandex.ru> <86D76532-92F4-479C-A714-126D007AD91F@gmail.com> <61f98b7d-f55d-aa0f-4aef-1bdfbc7086ff@yandex.ru> To: "Andrey V. Elsukov" X-Mailer: Apple Mail (2.3124) X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Jun 2017 13:57:51 -0000 > On 26 Jun 2017, at 15:36, Andrey V. Elsukov wrote: >=20 > On 26.06.2017 16:29, Ben RUBSON wrote: >>=20 >>> On 26 Jun 2017, at 15:25, Andrey V. Elsukov = wrote: >>>=20 >>> On 26.06.2017 16:27, Ben RUBSON wrote: >>>>=20 >>>>> On 26 Jun 2017, at 15:13, Andrey V. Elsukov = wrote: >>>>>=20 >>>>> I think it is not mlxen specific problem, we have the same = symptoms with >>>>> ixgbe(4) driver too. To avoid the problem we have patches that are >>>>> disable using of 9k mbufs, and instead only use 4k mbufs. >>>>=20 >>>> Interesting feedback Andrey, thank you ! >>>> The problem may be then "general". >>>> So you still use large MTU (>=3D9000) but only allocating 4k mbufs, = as a workaround ? >>>=20 >>> Yes. >>=20 >> Is it a kernel patch or a driver/ixgbe patch ? >=20 > I attached it. Thank you ! The idea of new sysctls to enable/disable the workaround is nice. Should be easy to modify to use with mlx4_en, waiting for Ryan specific = work on this driver.=20 I found a similar issue, reported date : 2013-10-28 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D183381 FreeBSD certainly needs a general solid patch !=