From owner-freebsd-hackers@freebsd.org Tue Jan 7 22:48:00 2020 Return-Path: Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 48F031F4E1C for ; Tue, 7 Jan 2020 22:48:00 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from CAN01-TO1-obe.outbound.protection.outlook.com (mail-to1can01on0627.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe5d::627]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "GlobalSign Organization Validation CA - SHA256 - G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47snb24XFyz3Ggv for ; Tue, 7 Jan 2020 22:47:58 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mLc/zJLrCscZlLvsQ56lojJurBjcdLHQB6twIFlrQNrHlC8UTnGcPOEJpv7an+/JgE0YATGl8c/gYnDUaTkqt8RSfXwV8DLCnnjmrZlrfNwkqgxxAyKbAEnWCKnZNrfG5ihePqRE3PP/KIVuL/9gYDOiN/+x343BzU3Zeacn5kHYbUH7ceDn3c1bbf54jxX0+ccThO+IMM8L021WhKsPuRRW2A8F2yq2DeDmeq6fauz7a+CoFNy+cWpb09sk20ywOzFjp0aIN50yp/voGiNS0wELGQmAPqeNGzQiWo+Akjb8EzJ4YQqXmgIkx92OYjK0f8JZ1oBlxAgEqpiXgrLuqQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=b5Qx60ZPt6hIRkjqEj8fCXyUYqiEcDmrfrhJlT92noQ=; b=neCsjubFKhMCyV7Tr/Qi2RLFDyvi95yQh2B1hw2HIWP5pua9KZpNtUswQqQTjLWbAjgZQ1/wsTvCMcMRvG/VDE+1WxgCafY3ZfgQ4HECN2IuIhGTksPO4LtHATNYZp/B0e1KYdrcjDTuZf0CY7P+9AQMt5Ix6NNIFNk5e8uFFZCdg0FLw3GlUo1vhTLg3TyPsVNv+KYkm5cFhAZSpm7Mf1SEHr64WR906KWB3Knxkzb04sSGcdQWPI5nqjZK2XDAsoSXH+0bW+/Jc4SjX8ObOIROP/wq4niQc7UI079rmO+lFnVb/yJh7UxdUbxk1SX1+N04CLxKsFT0JvprdjF1cQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=uoguelph.ca; dmarc=pass action=none header.from=uoguelph.ca; dkim=pass header.d=uoguelph.ca; arc=none Received: from YQBPR0101MB1427.CANPRD01.PROD.OUTLOOK.COM (52.132.69.153) by YQBPR0101MB1106.CANPRD01.PROD.OUTLOOK.COM (52.132.72.19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2602.11; Tue, 7 Jan 2020 22:47:55 +0000 Received: from YQBPR0101MB1427.CANPRD01.PROD.OUTLOOK.COM ([fe80::7512:8580:8d82:6c94]) by YQBPR0101MB1427.CANPRD01.PROD.OUTLOOK.COM ([fe80::7512:8580:8d82:6c94%6]) with mapi id 15.20.2602.016; Tue, 7 Jan 2020 22:47:55 +0000 From: Rick Macklem To: Hans Petter Selasky , Wojciech Puchar , "freebsd-hackers@freebsd.org" Subject: Re: maximum MAXBSIZE Thread-Topic: maximum MAXBSIZE Thread-Index: AQHVxZ9FBsxnSDZEj0us27plJrH9YKfftkgAgAAWuIg= Date: Tue, 7 Jan 2020 22:47:54 +0000 Message-ID: References: , In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 464bd3af-0ffb-4910-1b1d-08d793c3a292 x-ms-traffictypediagnostic: YQBPR0101MB1106: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7219; x-forefront-prvs: 027578BB13 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(396003)(346002)(366004)(39860400002)(136003)(376002)(189003)(199004)(33656002)(786003)(186003)(110136005)(26005)(6506007)(2906002)(316002)(86362001)(76116006)(478600001)(91956017)(7696005)(66946007)(66446008)(66556008)(3480700007)(64756008)(9686003)(66476007)(55016002)(8676002)(71200400001)(8936002)(5660300002)(81166006)(81156014)(4744005)(52536014)(7116003); DIR:OUT; SFP:1101; SCL:1; SRVR:YQBPR0101MB1106; H:YQBPR0101MB1427.CANPRD01.PROD.OUTLOOK.COM; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: uoguelph.ca does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: XOmsr1D4ATUEKI0mb/BtW2QWrywv/XrBQadmCstb7CD92KWvnckH89qL/3ZLYWWIJn81BR4LWpL5ig9S4I8zAEiMv+BtIUsspQ500NBBanq/+NNpeY/GcD9V6TWIBLqMBG7VZYrmPPyrRJBGrTcUYGWaLmM6lLsy/AHW5DOraqLc4InSkAed/AyYsVRMgBpYWHN5vi1TfwFVDbZXt2ohpPLhRPjnf+Na41tQh+S4druTEFdv0H1tjcM0Tht2mx5e3Jtysuz0Qb8GbBl5gdnVtUHlnn/nJGpMm7Tw17mBAgUIoBuJk4NPm8duW27+vUdsRd4GXVfQEULH1lNquD1224P68Q0WUM4MjzmgdeQYW0pVAjuwFLDNUJR6XwBCWF8r5J04sLiwa+i5i1lZGzoWGJiaNY+77Evt25+yIiiD/aotOaDQz/WCDvuEEYwK90HT x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: uoguelph.ca X-MS-Exchange-CrossTenant-Network-Message-Id: 464bd3af-0ffb-4910-1b1d-08d793c3a292 X-MS-Exchange-CrossTenant-originalarrivaltime: 07 Jan 2020 22:47:54.8456 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: be62a12b-2cad-49a1-a5fa-85f4f3156a7d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: ucK7G3z29QmQmQINTA7NLZethTtN5pWHVCqa3ewKeFJZwT6S8YEeTTTSF0blezOrnNvg5ogxFYgxY4A9UJaF3w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: YQBPR0101MB1106 X-Rspamd-Queue-Id: 47snb24XFyz3Ggv X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of rmacklem@uoguelph.ca designates 2a01:111:f400:fe5d::627 as permitted sender) smtp.mailfrom=rmacklem@uoguelph.ca X-Spamd-Result: default: False [-4.65 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a01:111:f400::/48]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[uoguelph.ca]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; IP_SCORE(-1.35)[ipnet: 2a01:111:f000::/36(-3.69), asn: 8075(-2.98), country: US(-0.05)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:8075, ipnet:2a01:111:f000::/36, country:US]; ARC_ALLOW(-1.00)[i=1] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Jan 2020 22:48:00 -0000 Hans Petter Selasky wrote:=0A= >On 2020-01-07 22:12, Wojciech Puchar wrote:=0A= >> default MAXBSIZE is 128kB. badly low for todays magnetic disks.=0A= >>=0A= >> i have it set to 2MB on all computers that have magnetic disks. Great=0A= >> improvement with large files. especially when more than one are=0A= >> read/wrote in parallel. And no problems experienced=0A= >>=0A= >> But for optimal performance MAXBSIZE should be transfered in few times= =0A= >> longer than average seek time. todays disk do 200-250MB/s so 2MB is=0A= >> transfered below 10ms.=0A= >>=0A= >> 8-16MB seems like good choice. is there any reason not to set it that hi= gh?=0A= >=0A= >Old disk may not support it, especially USB 1.0/2.0 disks.=0A= I also thought it was limited to MAXPHYS, but maybe I'm only thinking of th= e NFS=0A= specific case?=0A= =0A= rick=0A=