From owner-freebsd-hackers@freebsd.org Sun Jan 12 06:06:13 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 96A0A224F4C for ; Sun, 12 Jan 2020 06:06:13 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from anubis.delphij.net (anubis.delphij.net [64.62.153.212]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "anubis.delphij.net", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47wR6r1FTtz41hM; Sun, 12 Jan 2020 06:06:11 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from p51.home.us.delphij.net (unknown [IPv6:2601:646:8600:58ba:e670:b8ff:fe5c:4e69]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by anubis.delphij.net (Postfix) with ESMTPSA id 9F2CA3BD7E; Sat, 11 Jan 2020 22:06:04 -0800 (PST) Reply-To: d@delphij.net Subject: Re: open-vm-tools in base To: Josh Paetzel , freebsd-hackers@freebsd.org References: <202001102021.00AKLxjW001994@gndrsh.dnsmgr.net> From: Xin Li Autocrypt: addr=delphij@delphij.net; keydata= mQINBFuSR4oBEACvvEgwRIHs6IcSP/yaDtySF78Ji3rP29qdiQsxhMsOtvtffdbS56VApIWO UFb3/iN2gA8HwLvrmjijN0HEoLVX7na1WARmxRYzQMtApsZIUTtx7hnUYlsi2F5odZa6CDW9 a954DLRzYxiUwYDcu5Zjl9bglK1H8e/N9uC0Vuigr4teWfh86brzOyf819QzwFVYfMIK4ihw QGwMvTzbyVuCFy+LENkmcVYni70oQy6rZ5ktSuYbuOFvu7inRRfhSWPHziV7k+bW88sJ7xhv lBlegcnhkSudWX2M8tZ3MO1PJOcyys0CJlsBY5Weiog2lIPi05h/E9pZ9mc1Vud17iqDaL6w RaggOUhuPfDGCdO5ro82W4BZGeQMRnRF5Ntk+t2ShIH4nn3xRLV0E5nziCiKlgiMqOrz/ZTL QTVbHrCuiwD+fSK14y0oHbkOLYTYLlgh1JbwfY2Ty7elOYiWzyeJ7sJh2dF91NSEneWIOys3 mBpuvtU3nSzzTvAB48VV+Nbg1CpIOgNlPjj7uhIum/Z/VjUaJEyaLpTIRh0MVJVcbP7hXSqZ NA35EEZZVnWEOYdycm4CmEdeNPWkrAf2Ya77iR5VLGypwMlsUMQPh+sKVWDD38M8stFGBBNm d01Hi74Bsq5hKan654dOqMt5eYklrVj0ucMzFQtus7oE502UswARAQABtBxYaW4gTEkgPGRl bHBoaWpAZGVscGhpai5uZXQ+iQJUBBMBCgA+FiEEceNg5NEMZIki80nQQHl/fJX0g08FAluS R/YCGwMFCQmuhAAFCwkIBwMFFQoJCAsFFgIDAQACHgECF4AACgkQQHl/fJX0g0+2Og//bWpE F2V5/M5l6YW1T8oLcT9rIOH6oq9M0LMNRgFeiNNnilGIeeIgtOGBRueG4CZiZAvsRPJkrO70 1R2SrdkCIvwGUzUAxx1NfBWb+vgm4fgkW/MotGonceM5v0qfSKKXasWvDctkK28aG+IoQzmi FjXNW4+ju4zeQFYwD4ZDWqw9MqO0hVb24uW3dxtQhbfmOLgJ/PEDMQaFuANbW1c+iR0BQA3D Go/EeMY4kpN8on6Aqt/S/4JVltudfQ9OXdjQsC7netSaB9K3mHGt9aKAAB7RzlRY00DKkYS/ /eQwLzGPmK7yX13M68mMDjBs6mIR8t/E1S5OdBNhHRPNPlEbwugR4KaiCsN5yqzJoSV99fKY z2VyxjWPaG8yhHE+jmKUgIBKTfFUQEfkriQR4EASoeJ+soaMTiFDBij1Zw5n3ndLRFMB1ZCl fZLER36mAgW4m4kP83TWnDiJLxOxSOxifV8HpTFjff902H85cybg9KMwrfPDr6W19GGk5Vo1 fkza5krRMGbKWb7+74Evusi0ZxJLIOFwp5Y8eVqUMZaAD3f1ZX1M3pgXOp20QgAy+2KvMHij rLa4q+tMGRzYYD1BnFVSVdXAX5VOoTmHBcDz67DkuRwk2Byp1sgd407oEOmSwrNJlKS0TPCm xUJ2fdSQF+1/MMSRfee49vtMvz7cOrC5Ag0EW5JHigEQANiBmIFAfRNH3nzYNWC0yC+tfx3z sUwAsH1VaBM/cTib+yKtbBOSIlXWjJZWX3MHwoI/1LeGghB2mxkkX1L0pJ/vj1eXNR+sFZ32 0pYcl61Fxg/5fioG4QDTM4i3i7NR5PxDnc6UVaynSlII93DedRhZ1ROtdn4vyMgzsDiqhbL7 BthDOt5KxjqdRk4qRPSw7BovEqZLOcG5IJtf/zZUzRbM7SBljEbOAfekDGx1Br+RrYSD7/Ef Pwwzou9T8315IpBpIHyQF/dZNk3iFiB9Ed5CA71ZRYV5YoLWE9lL0j9kxOLQ5vHnX3mVq7QZ Bc7nzwZ6UhQgYmrG5+RWvuiPpGwvDRIsugJUGXucYkAQh5kuNblmkwpv6u9rNMjCNbzAylOa qdogra5EW+RUSbRz0b4iIr8nnZeAlh7BihCe7JjOwbDjoBEEEtSfVc4hD/LENqpcYVrChphf aOLB9YIXhnVDTVvMc9OklWT/81HzAaDQqOQCzEfY92199Ct9/CwRoQ2OpO8TO5+8A7b9Nb33 nmxMn09mb48ruRacMrfHxCWbgU4w9SEfbip4GcS5wGG6yTC+hw55Iwnnwus40NrJ0GEr8a4r cdsLbkvlyoNHB8ZGgyJ4aFCQ1V4qE1BnlTk7Z8BYBUkJM1odPSkVvHpCnMUjVpJ3hEOC+73Z YH1dh7lZABEBAAGJAjwEGAEKACYWIQRx42Dk0QxkiSLzSdBAeX98lfSDTwUCW5JHigIbDAUJ Ca6EAAAKCRBAeX98lfSDTz8DEACMh3poeUb+gWNF4RWFZuLteZVo0+E1JLYXQkmtrRBLXviP +Qy0pXyFAVxLM4hNIBoIDYfK9BcwrBYf7AwSKrH0GiNwFpgHCkbZd6qoZy2gB+adTnCpVCTJ KJetsH/8awkrChJWMK0ckGf3EeWMPvawG7kW7FBz70NYEZ0pOMiaEZNVtzD3wwbYWUiDFYth 83XGglOExg+1ShTW5XjQPRrdyJAO+aUW4o3lVjfyUJXMgI4rmhMiLVm06GuNrbpKIF0s+4Vd jQAjhrDQjfoXi9CkfsA/cONseuHNv1JGj3RqHiqHJq1dbrpodXp925zGDAnUGxCOBPoFopAH gVzR89GTut059GpwqsddZmU6y7rqifuam/ekJ+QRwc16vgt7pHqCrTY8WPxRZr2UpFU1wlTo COdeiFep1gq1F9jzFjJnoMaAdmC6k7bgAA+RQusOgIhJL0jIej7DoAHxmxFFCfRy+lDtpXwF gQ8HMvzHI65QWmQnMo7s6SQH/ZH5s1yR6SJq8+3lDz+dCuT42qJVqIPVvxd10LW0FNN+t7HF eLadU6ekSgD13/EYMYXlvNHkw7dAItSDxIzgRyykLz0bCU9xwNWoS4Z43+ifF9anJ+uR0ltW El1j++h6ZrD3LLuCgJIt1so0m49GzdcSpOI7LCwMlacyvafiEyjUn+tSNDsnfw== Organization: The FreeBSD Project Message-ID: Date: Sat, 11 Jan 2020 22:05:58 -0800 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="Zm4GutCI1Urslcpobs5YeavuxV3iruIzO" X-Rspamd-Queue-Id: 47wR6r1FTtz41hM X-Spamd-Bar: ------- X-Spamd-Result: default: False [-7.59 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[delphij.net:s=m7e2]; HAS_REPLYTO(0.00)[d@delphij.net]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; TO_MATCH_ENVRCPT_ALL(0.00)[]; HAS_ATTACHMENT(0.00)[]; MIME_GOOD(-0.20)[multipart/signed,multipart/mixed,text/plain]; REPLYTO_DOM_EQ_FROM_DOM(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; HAS_ORG_HEADER(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; DKIM_TRACE(0.00)[delphij.net:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[delphij.net,reject]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:+,3:~]; IP_SCORE(-2.49)[ip: (-9.89), ipnet: 64.62.128.0/18(1.09), asn: 6939(-3.57), country: US(-0.05)]; ASN(0.00)[asn:6939, ipnet:64.62.128.0/18, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] 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: Sun, 12 Jan 2020 06:06:13 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --Zm4GutCI1Urslcpobs5YeavuxV3iruIzO Content-Type: multipart/mixed; boundary="RY95IIogBW3ZfU44cOPibVZxmToci31Pj"; protected-headers="v1" From: Xin Li Reply-To: d@delphij.net To: Josh Paetzel , freebsd-hackers@freebsd.org Message-ID: Subject: Re: open-vm-tools in base References: <202001102021.00AKLxjW001994@gndrsh.dnsmgr.net> In-Reply-To: --RY95IIogBW3ZfU44cOPibVZxmToci31Pj Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable (picking one email for reply) On 1/10/20 12:56 PM, Josh Paetzel wrote: >> And for pespective I run a lot of ESXi and FreeBSD guests... so any >> bias I might have is in the wrong direction :-) >>=20 >=20 > ...things would be a lot more convenient for people who run > virtualized FreeBSD instances. This would Just Work (TM) and who > doesn't love changes that move us closer to a "Just Works out of the > box" state? I think the main concern is that it would be harder to deliver a fix or update the code with FreeBSD Security Update procedure. Fortunately (but I might be biased as I only looked at the svn history of open-vm-tools port), the code doesn't really change that often. This is not unprecedented, by the way, we are already shipping HyperV utilities. It's probably worth exploring if it's possible to import a stripped down version of the port that do not really change over time but needs to integrate with the ABI/KBI tightly, though. Cheers, --RY95IIogBW3ZfU44cOPibVZxmToci31Pj-- --Zm4GutCI1Urslcpobs5YeavuxV3iruIzO Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.2.19 (FreeBSD) iQIzBAEBCgAdFiEEceNg5NEMZIki80nQQHl/fJX0g08FAl4at0sACgkQQHl/fJX0 g08ndA/+I0VhuZdiVYw+DFMvta920xRwrPKjmenQgm8Zjtxd7+9/eqY+V6hs/LYT s09Pdoo4tkp8t+KaKcNrwUYLFboeFciV054F53nrfBTxPlE2DJo9BG8Sw8DMYBbK +n3JY16FaNNHLi/qVEONyGNNsbt4DbCJRBRSzj9d1AiLOEl2Omqlg9hy4AUsMoQ9 6T0Yo90OGb9WxvF1bmq11WI6s6SG4504MhpdJhAgEwfmaaMrnloNJpl6tMwP/MPp SfWSU+QIhS8sXzCNX5ke2lQiKNZCR49eAbt3gAn4spYG3qr2hZyj/wJkQOhqgOcG qCpwZE1dBtzeYRTmD/yhRH72Z30Xs7I7Bq3J8+MkOY4+NjEhbk9diTALKUWxCMMy WKyp4k58MrwOIZNF6ow9T/FH0SJ9nq7+2riTz+xMSTDNkTbD2QyQCHcCzveefu5R JeDe2FNh5l/2ButnoszMsMbk1WlJBU6GgpUYzJLCJ/NJDjGaTX11tFwUWyBihS/+ omkiGSJ0gQ4USAR/VLPqULfzG2IVw115+j3/7gW4fhm5HFwFe/B9PBDRD5zoAHIn QfFmQ7aE3crOjVLT8DjBjJlcIJ9/riEkbieyeLjiaKFD+kBJ8LQ3qbvFIDezgZ/t SB8lgVrSnOSw2RmHhQckTmm3mTsV+CqGzlvJByIKdcrxAiwQfAs= =fjJK -----END PGP SIGNATURE----- --Zm4GutCI1Urslcpobs5YeavuxV3iruIzO-- From owner-freebsd-hackers@freebsd.org Sun Jan 12 12:21:19 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 1BA2C22DE27 for ; Sun, 12 Jan 2020 12:21:19 +0000 (UTC) (envelope-from wojtek@puchar.net) Received: from puchar.net (puchar.net [194.1.144.90]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 47wbRd3z5Vz4KnM for ; Sun, 12 Jan 2020 12:21:17 +0000 (UTC) (envelope-from wojtek@puchar.net) Received: Received: from 127.0.0.1 (localhost [127.0.0.1]) by puchar.net (8.15.2/8.15.2) with ESMTPS id 00CCLEus061737 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Sun, 12 Jan 2020 13:21:14 +0100 (CET) (envelope-from puchar-wojtek@puchar.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=puchar.net; s=default; t=1578831675; bh=KpHngJBrrw8KTF1Fg7qCfKxuw5YaL4MYGcTt9gylDEM=; h=Date:From:To:Subject; b=TqVyDeDiynJrKeQcdpSYxbfIFok+cc5qj9PFCsVc064qzlFIZVPxcYfZ3ApQTStxV NDIKUoogd7b6oeD1r8mqUxm4tYVlYpqSHcz1kCvY7GxSsMKsgiPiEtfc1AR1W4m28y /NssWW17GS4ibYRbXF9K4uASGAwtaVenN2z9qXYc= Received: from localhost (puchar-wojtek@localhost) by puchar.net (8.15.2/8.15.2/Submit) with ESMTP id 00CCLEqe061734 for ; Sun, 12 Jan 2020 13:21:14 +0100 (CET) (envelope-from puchar-wojtek@puchar.net) Date: Sun, 12 Jan 2020 13:21:14 +0100 (CET) From: Wojciech Puchar To: freebsd-hackers@freebsd.org Subject: adding some smartness in file cache Message-ID: User-Agent: Alpine 2.20 (BSF 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII X-Rspamd-Queue-Id: 47wbRd3z5Vz4KnM X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=fail (rsa verify failed) header.d=puchar.net header.s=default header.b=TqVyDeDi; dmarc=none; spf=pass (mx1.freebsd.org: domain of wojtek@puchar.net designates 194.1.144.90 as permitted sender) smtp.mailfrom=wojtek@puchar.net X-Spamd-Result: default: False [-4.23 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; R_DKIM_REJECT(1.00)[puchar.net:s=default]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; DMARC_NA(0.00)[puchar.net]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DKIM_TRACE(0.00)[puchar.net:-]; RCVD_IN_DNSWL_NONE(0.00)[90.144.1.194.list.dnswl.org : 127.0.10.0]; IP_SCORE(-2.93)[ip: (-7.74), ipnet: 194.1.144.0/24(-3.87), asn: 43476(-3.10), country: PL(0.07)]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:43476, ipnet:194.1.144.0/24, country:PL]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_COUNT_TWO(0.00)[2] 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: Sun, 12 Jan 2020 12:21:19 -0000 FreeBSD uses unified cache which is generally great but have some disadventages. One common is case of linear reading or writing of large files. This wipes out other things from memory very quickly. Can cache be made to drop every full block (MAXPHYS) from cache instantly after is fully read by user program or is wrote to disk. This way memory would be much better utilized in caching small I/O. From owner-freebsd-hackers@freebsd.org Mon Jan 13 09:13:44 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 C153E1FC8D7 for ; Mon, 13 Jan 2020 09:13:44 +0000 (UTC) (envelope-from cse.cem@gmail.com) Received: from mail-ot1-f51.google.com (mail-ot1-f51.google.com [209.85.210.51]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47x7Dl5ddHz4D6J for ; Mon, 13 Jan 2020 09:13:43 +0000 (UTC) (envelope-from cse.cem@gmail.com) Received: by mail-ot1-f51.google.com with SMTP id w21so8272865otj.7 for ; Mon, 13 Jan 2020 01:13:43 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:reply-to :from:date:message-id:subject:to:cc; bh=1Uhpys8mjhzKIN6WA6CoPJ4QD98AeSMc7vtykndloCA=; b=bNl+RFLxJHZjVFDgptVNIBkoAcjyJBq4bUV6QjersW+NgVd5pU0Uf4lGC/HiBflVUA RclBr3bVPxErk1sX7eeOUCANoK7ne8TpbrAoNQGnf9tjDgQJ/48S4FYRYk0+Ay7nnfnT mhqfBNUFeRFF7w0rq1whT9qtB76tPxlnykAaL/sz5KuwIQTSZSny6fwQuR1MsqldGeFJ xTGeRuoE4JazgV1vwOW9wNqAO2ogvE1kY83odN3LvKuBUuhM2pHoGJV7we3yNeAEkJ96 7pjWOXGTPSNuhEQQvfbfT3BwLHu3JMStXTb6ZUPpzYA2fCl4AM8r53KG3II5OOCekHNv rYtw== X-Gm-Message-State: APjAAAUkq1/gFgWwWXDJK8IV4bWQWM1idPLmp61dyTxiK2gWIdzEkrLJ znRnH6FuVDic/oXY7sdcwJONRva8 X-Google-Smtp-Source: APXvYqyBG4myPgbMd39+X0hb2hpbljQKTaCa8JDizJu4mGsihw41bEByC6ea1undOBZG+GXZbWFdqQ== X-Received: by 2002:a9d:6745:: with SMTP id w5mr12756600otm.52.1578906822745; Mon, 13 Jan 2020 01:13:42 -0800 (PST) Received: from mail-oi1-f174.google.com (mail-oi1-f174.google.com. [209.85.167.174]) by smtp.gmail.com with ESMTPSA id k26sm3321270oiw.34.2020.01.13.01.13.42 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 13 Jan 2020 01:13:42 -0800 (PST) Received: by mail-oi1-f174.google.com with SMTP id k4so7605869oik.2 for ; Mon, 13 Jan 2020 01:13:42 -0800 (PST) X-Received: by 2002:aca:2b0a:: with SMTP id i10mr12159430oik.137.1578906822019; Mon, 13 Jan 2020 01:13:42 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: Reply-To: cem@freebsd.org From: Conrad Meyer Date: Mon, 13 Jan 2020 01:13:31 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: adding some smartness in file cache To: Wojciech Puchar Cc: "freebsd-hackers@freebsd.org" Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 47x7Dl5ddHz4D6J X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of csecem@gmail.com designates 209.85.210.51 as permitted sender) smtp.mailfrom=csecem@gmail.com X-Spamd-Result: default: False [-3.22 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[cem@freebsd.org]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17:c]; RWL_MAILSPIKE_GOOD(0.00)[51.210.85.209.rep.mailspike.net : 127.0.0.18]; REPLYTO_ADDR_EQ_FROM(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; RCPT_COUNT_TWO(0.00)[2]; FORGED_SENDER(0.30)[cem@freebsd.org,csecem@gmail.com]; MIME_TRACE(0.00)[0:+]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; TAGGED_FROM(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_NEQ_ENVFROM(0.00)[cem@freebsd.org,csecem@gmail.com]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org]; DMARC_NA(0.00)[freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[51.210.85.209.list.dnswl.org : 127.0.5.0]; IP_SCORE(-1.22)[ip: (-1.10), ipnet: 209.85.128.0/17(-3.09), asn: 15169(-1.84), country: US(-0.05)]; RCVD_TLS_ALL(0.00)[] 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: Mon, 13 Jan 2020 09:13:44 -0000 Consider modifying your linear scan programs to use posix_fadvise(2) POSIX_FADV_DONTNEED and/or POSIX_FADV_NOREUSE. You're right that we could be a bit more clever than straight LRU for eviction (if we are not already), such as incorporating some hybrid scoring using MRU/LFU/RR-like eviction policies. Your proposal is an extremely specific MRU heuristic. On Sun, Jan 12, 2020 at 4:21 AM Wojciech Puchar wrote: > > FreeBSD uses unified cache which is generally great but have some > disadventages. > > One common is case of linear reading or writing of large files. > This wipes out other things from memory very quickly. > > Can cache be made to drop every full block (MAXPHYS) from cache instantly > after is fully read by user program or is wrote to disk. > > This way memory would be much better utilized in caching small I/O. > > > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" From owner-freebsd-hackers@freebsd.org Mon Jan 13 12:32:26 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 436CE222E7B for ; Mon, 13 Jan 2020 12:32:26 +0000 (UTC) (envelope-from wojtek@puchar.net) Received: from puchar.net (puchar.net [194.1.144.90]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 47xCf11TxKz4QwN for ; Mon, 13 Jan 2020 12:32:24 +0000 (UTC) (envelope-from wojtek@puchar.net) Received: Received: from 127.0.0.1 (localhost [127.0.0.1]) by puchar.net (8.15.2/8.15.2) with ESMTPS id 00DCWMR6050579 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Mon, 13 Jan 2020 13:32:22 +0100 (CET) (envelope-from puchar-wojtek@puchar.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=puchar.net; s=default; t=1578918742; bh=mJVqFdckUBNC/zwJ8sbyRiIeFmp8yHoZrxcEhdurXBc=; h=Date:From:To:Subject; b=PFydzgv3OIOSvrpIsRIvg/Q2p5VmrxoM042GuHeV+Kn67UMe169UH4dozyV10fIqD zgKvMZ1I2UU4QbEE11OOcuQc3C7d2RZphA3LsamGQLL5xB/x6dblJ1pF+UJaEaO7IB QJ5vh3yvYOlp29R+1aCn4I/kAaI6DOzj78oB46BU= Received: from localhost (puchar-wojtek@localhost) by puchar.net (8.15.2/8.15.2/Submit) with ESMTP id 00DCWMEo050576 for ; Mon, 13 Jan 2020 13:32:22 +0100 (CET) (envelope-from puchar-wojtek@puchar.net) Date: Mon, 13 Jan 2020 13:32:22 +0100 (CET) From: Wojciech Puchar To: freebsd-hackers@freebsd.org Subject: tested setting of MAXPHYS/BKVASIZE Message-ID: User-Agent: Alpine 2.20 (BSF 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII X-Rspamd-Queue-Id: 47xCf11TxKz4QwN X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=fail (rsa verify failed) header.d=puchar.net header.s=default header.b=PFydzgv3; dmarc=none; spf=pass (mx1.freebsd.org: domain of wojtek@puchar.net designates 194.1.144.90 as permitted sender) smtp.mailfrom=wojtek@puchar.net X-Spamd-Result: default: False [-4.17 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx:c]; R_DKIM_REJECT(1.00)[puchar.net:s=default]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; DMARC_NA(0.00)[puchar.net]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DKIM_TRACE(0.00)[puchar.net:-]; RCVD_IN_DNSWL_NONE(0.00)[90.144.1.194.list.dnswl.org : 127.0.10.0]; IP_SCORE(-2.87)[ip: (-7.59), ipnet: 194.1.144.0/24(-3.79), asn: 43476(-3.04), country: PL(0.07)]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:43476, ipnet:194.1.144.0/24, country:PL]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_COUNT_TWO(0.00)[2] 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: Mon, 13 Jan 2020 12:32:26 -0000 for whose who use HDDs put in kernel config setting below. makeoptions CONF_CFLAGS="-DBKVASIZE=32768" options MAXPHYS=4194304 or RAID5 arrays with large stripe size higher value of MAXPHYS would make sense. additionally bump vfs.hirunningspace and vfs.lorunningspace (in /boot/loader.conf or sysctl.conf) i have vfs.hirunningspace=50000000 vfs.lorunningspace=35000000 it should be at least few times MAXPHYS From owner-freebsd-hackers@freebsd.org Mon Jan 13 13:40:29 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 DC66C224068 for ; Mon, 13 Jan 2020 13:40:29 +0000 (UTC) (envelope-from wojtek@puchar.net) Received: from puchar.net (puchar.net [194.1.144.90]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 47xF8X68Pzz4VFC for ; Mon, 13 Jan 2020 13:40:28 +0000 (UTC) (envelope-from wojtek@puchar.net) Received: Received: from 127.0.0.1 (localhost [127.0.0.1]) by puchar.net (8.15.2/8.15.2) with ESMTPS id 00DDePPR003010 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Mon, 13 Jan 2020 14:40:26 +0100 (CET) (envelope-from puchar-wojtek@puchar.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=puchar.net; s=default; t=1578922826; bh=08xrIASnfuvYlFNVzwyBrxZchCAGMlBkiJm3Mm0lRiM=; h=Date:From:To:Subject; b=L9tomQ6sicy51RYRzO7S2cl7BMf87lhBUWOHcMLZg5IxVlOC1YBg7/nCPgwDVxycP CP1dk7HrHyR3hyMfK9YCBVTtLoSleihSFGK2uhIz33ffHgD2bijVhihsHmEBf/lW+A i/pU/lKmQdknwHm71iALCuVZQjG2svcSDBQwIl6c= Received: from localhost (puchar-wojtek@localhost) by puchar.net (8.15.2/8.15.2/Submit) with ESMTP id 00DDePBe003007 for ; Mon, 13 Jan 2020 14:40:25 +0100 (CET) (envelope-from puchar-wojtek@puchar.net) Date: Mon, 13 Jan 2020 14:40:25 +0100 (CET) From: Wojciech Puchar To: freebsd-hackers@freebsd.org Subject: raspberry pi zero and SLOW USB HID Message-ID: User-Agent: Alpine 2.20 (BSF 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII X-Rspamd-Queue-Id: 47xF8X68Pzz4VFC X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=fail (rsa verify failed) header.d=puchar.net header.s=default header.b=L9tomQ6s; dmarc=none; spf=pass (mx1.freebsd.org: domain of wojtek@puchar.net designates 194.1.144.90 as permitted sender) smtp.mailfrom=wojtek@puchar.net X-Spamd-Result: default: False [-3.66 / 15.00]; ARC_NA(0.00)[]; SUBJECT_ENDS_SPACES(0.50)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx:c]; R_DKIM_REJECT(1.00)[puchar.net:s=default]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; DMARC_NA(0.00)[puchar.net]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DKIM_TRACE(0.00)[puchar.net:-]; RCVD_IN_DNSWL_NONE(0.00)[90.144.1.194.list.dnswl.org : 127.0.10.0]; IP_SCORE(-2.86)[ip: (-7.56), ipnet: 194.1.144.0/24(-3.78), asn: 43476(-3.02), country: PL(0.07)]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:43476, ipnet:194.1.144.0/24, country:PL]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_COUNT_TWO(0.00)[2] 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: Mon, 13 Jan 2020 13:40:29 -0000 thank you for the help i already got. Raspberry pi zero run now completely with FreeBSD including USB. Over this USB we connect our own hardware that looks like HID device. Actually it's nothing like mouse or keyboard, but it's HID device so to be able to work under windoze without requiring user to install any drivers. Both raspberry pi and PC have 480Mbit/s USB. device actually works with 12Mbit/s USB. my program does lots of hid_read_timeout from this device When running on PC it goes fast - able to perform enough reads to read all needed data. When running on raspberry pi - in spite of total CPU load is far less than 5% - it is slow. all hid_read_timeout works properly but way too slow. every read takes like 10 times more time. what is needed to fix this? From owner-freebsd-hackers@freebsd.org Mon Jan 13 13:42:32 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 1FAE92242C4 for ; Mon, 13 Jan 2020 13:42:32 +0000 (UTC) (envelope-from wojtek@puchar.net) Received: from puchar.net (puchar.net [194.1.144.90]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 47xFBv5ywxz4Vbf; Mon, 13 Jan 2020 13:42:31 +0000 (UTC) (envelope-from wojtek@puchar.net) Received: Received: from 127.0.0.1 (localhost [127.0.0.1]) by puchar.net (8.15.2/8.15.2) with ESMTPS id 00DDgQmW004478 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 13 Jan 2020 14:42:26 +0100 (CET) (envelope-from puchar-wojtek@puchar.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=puchar.net; s=default; t=1578922947; bh=d7H7xuKZGd053XdDD4/BKOAusDawQ5fwbcmYsOa3hNo=; h=Date:From:To:cc:Subject:In-Reply-To:References; b=i2cSBDk5m932dHEnJZ/J3M59ysMo//Ufcy/HxDAGlv6OGxmxlJuolA6mXOyt98/nG 9CBLCj1UrUUEhI/M5ucz881zkxLKRQu5tcrpaRadeuDd6LQ4KOUKMnEitm6DGaYBxh GR6QKvfAt8J2rBn32p38ThBXQXyn4ha25mAOHgww= Received: from localhost (puchar-wojtek@localhost) by puchar.net (8.15.2/8.15.2/Submit) with ESMTP id 00DDgQVR004475; Mon, 13 Jan 2020 14:42:26 +0100 (CET) (envelope-from puchar-wojtek@puchar.net) Date: Mon, 13 Jan 2020 14:42:26 +0100 (CET) From: Wojciech Puchar To: Conrad Meyer cc: Wojciech Puchar , "freebsd-hackers@freebsd.org" Subject: Re: adding some smartness in file cache In-Reply-To: Message-ID: References: User-Agent: Alpine 2.20 (BSF 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-Rspamd-Queue-Id: 47xFBv5ywxz4Vbf X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-6.00 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-0.996,0]; REPLY(-4.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0] 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: Mon, 13 Jan 2020 13:42:32 -0000 > Consider modifying your linear scan programs to use posix_fadvise(2) > POSIX_FADV_DONTNEED and/or POSIX_FADV_NOREUSE. or simply use DIRECTIO. But it is not about my own program to be written but general use - like copying large file, downloads/uploads over FTP or SMB or NFS. i am talking about doing it automatically when having large linear reads > > You're right that we could be a bit more clever than straight LRU for > eviction (if we are not already), such as incorporating some hybrid > scoring using MRU/LFU/RR-like eviction policies. Your proposal is an > extremely specific MRU heuristic. > > On Sun, Jan 12, 2020 at 4:21 AM Wojciech Puchar wrote: >> >> FreeBSD uses unified cache which is generally great but have some >> disadventages. >> >> One common is case of linear reading or writing of large files. >> This wipes out other things from memory very quickly. >> >> Can cache be made to drop every full block (MAXPHYS) from cache instantly >> after is fully read by user program or is wrote to disk. >> >> This way memory would be much better utilized in caching small I/O. >> >> >> _______________________________________________ >> freebsd-hackers@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-hackers >> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" > > From owner-freebsd-hackers@freebsd.org Mon Jan 13 14:11:26 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 A1A79224CB4 for ; Mon, 13 Jan 2020 14:11:26 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (turbocat.net [IPv6:2a01:4f8:c17:6c4b::2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 47xFrF5Hwfz4XBC for ; Mon, 13 Jan 2020 14:11:25 +0000 (UTC) (envelope-from hps@selasky.org) Received: from hps2020.home.selasky.org (unknown [62.141.129.235]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id DDB592600DD; Mon, 13 Jan 2020 15:11:16 +0100 (CET) Subject: Re: raspberry pi zero and SLOW USB HID To: Wojciech Puchar , freebsd-hackers@freebsd.org References: From: Hans Petter Selasky Message-ID: <9f8ae63f-abe5-27d9-e6bf-3d0cc1d3d4f3@selasky.org> Date: Mon, 13 Jan 2020 15:10:13 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.3.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 47xFrF5Hwfz4XBC X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of hps@selasky.org designates 2a01:4f8:c17:6c4b::2 as permitted sender) smtp.mailfrom=hps@selasky.org X-Spamd-Result: default: False [-4.93 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+a:mail.turbocat.net]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[selasky.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; IP_SCORE(-2.63)[ip: (-9.20), ipnet: 2a01:4f8::/29(-2.46), asn: 24940(-1.50), country: DE(-0.02)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:24940, ipnet:2a01:4f8::/29, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] 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: Mon, 13 Jan 2020 14:11:26 -0000 On 2020-01-13 14:40, Wojciech Puchar wrote: > thank you for the help i already got. Raspberry pi zero run now > completely with FreeBSD including USB. > > Over this USB we connect our own hardware that looks like HID device. > Actually it's nothing like mouse or keyboard, but it's HID > device so to be able to work under windoze without requiring user to > install any drivers. > > Both raspberry pi and PC have 480Mbit/s USB. device actually works with > 12Mbit/s USB. > > my program does lots of hid_read_timeout from this device > > When running on PC it goes fast - able to perform enough reads to read > all needed data. > > When running on raspberry pi - in spite of total CPU load is far less > than 5% - it is slow. all hid_read_timeout works properly but > way too slow. every read takes like 10 times more time. > > what is needed to fix this? Hi, Can you check the USB speed used between PC and RPI-zero ? Is one perhaps High-Speed, while the other is, Full-Speed? If yes, try to connect a high-speed USB hub in between. Output from: usbconfig You can also check using "usbdump -i usbus0 -s 65536" to see the actual timing of the commands. --HPS From owner-freebsd-hackers@freebsd.org Mon Jan 13 14:34:43 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 9CD71225A8E for ; Mon, 13 Jan 2020 14:34:43 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-qv1-xf29.google.com (mail-qv1-xf29.google.com [IPv6:2607:f8b0:4864:20::f29]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47xGM64Gkbz4ZCc for ; Mon, 13 Jan 2020 14:34:42 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-qv1-xf29.google.com with SMTP id dc14so4049999qvb.9 for ; Mon, 13 Jan 2020 06:34:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ctnDJhu9ZrBwSbNz25xTrUHxIeaeDAS8Kc+yoBDzuX8=; b=Skwj4lFIcDpXkO8XesNp6tbNfXCRxJhSUF4J3p6dZpWOyLILADHw05/SOK5kEyml9o w2gOwKukxPlIZ8f/gFJnD3ofLt/1CWM0KI9JkAwZopNCAC6mvKUVFik/Zgkm7Y37Q9tC l+vI0MzJQLpKpf1+2duGAeit7DohXrGPIPLRGNmepiJ+n6yFli/QibjtZ5/aLVwmmyO2 iEs+weS8UtudvYRS9Bih4lQkpDynxW0/wkDJDgXZP8D5QmF8HTdueJDV3kZFy/NHFzRE gL3XQWlWNvdVKmn0PPX+Cg+8B/MYxJtnlN1vbA0VAbVby5ckBnwxL1wKw/4f6hl5eVjh klOQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ctnDJhu9ZrBwSbNz25xTrUHxIeaeDAS8Kc+yoBDzuX8=; b=tqGUurhEO4/SKpjtMTznMF042B2k7kDoHZ/j8I9LZpPMpbGoimIWeaaxdfYZlETHqX b8eB/pBwDMefARFX37GJinsMQjbOrDjpzbyHxAY2Ez9ckzCuXb0vF6JWPKUf2J5ExUhn y2Tz613aQAEw7jee/sTQusGbuaBp7WFqzdTEOOvm/WUM38ROdKuwKLYVKVLX/rgeD0vc 9fl57YKeh18zObcNRDBu6IZM54mUdVCBIVB7GgXkPM8V7j3L7dpgXK0WHt68wGj3wfT5 2unSdbUgC83+MAwF/jn6PMf7XqQ+eOAq2+GceM7B5RKXZRMyKP3Fiu1z8NCdwOz4LlfP rzKA== X-Gm-Message-State: APjAAAWPDYQM6DEkT9TU4/83y6Usjq4u3Aj+S1UkwXQGoZzKU7kuMZE7 H8uZ6VzT7bUyA3Uaks0f/HyeS30fE3HoNY14sPTQbdum X-Google-Smtp-Source: APXvYqwz84MLj97ErY426veytKKkTewh0iOVnT+Vu40O/N9VTYRTfJz0/fbndPG3OvT04/zcnc0qUZMCpVCRxATsrso= X-Received: by 2002:a0c:ec02:: with SMTP id y2mr12024768qvo.118.1578926075934; Mon, 13 Jan 2020 06:34:35 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Warner Losh Date: Mon, 13 Jan 2020 07:34:23 -0700 Message-ID: Subject: Re: raspberry pi zero and SLOW USB HID To: Wojciech Puchar Cc: FreeBSD Hackers X-Rspamd-Queue-Id: 47xGM64Gkbz4ZCc X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bsdimp-com.20150623.gappssmtp.com header.s=20150623 header.b=Skwj4lFI; dmarc=none; spf=none (mx1.freebsd.org: domain of wlosh@bsdimp.com has no SPF policy when checking 2607:f8b0:4864:20::f29) smtp.mailfrom=wlosh@bsdimp.com X-Spamd-Result: default: False [-1.79 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.998,0]; R_DKIM_ALLOW(-0.20)[bsdimp-com.20150623.gappssmtp.com:s=20150623]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-0.997,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org]; DMARC_NA(0.00)[bsdimp.com]; URI_COUNT_ODD(1.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[bsdimp-com.20150623.gappssmtp.com:+]; RCPT_COUNT_TWO(0.00)[2]; R_SPF_NA(0.00)[]; FORGED_SENDER(0.30)[imp@bsdimp.com,wlosh@bsdimp.com]; MIME_TRACE(0.00)[0:+,1:+,2:~]; IP_SCORE(-0.80)[ipnet: 2607:f8b0::/32(-2.10), asn: 15169(-1.84), country: US(-0.05)]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FROM_NEQ_ENVFROM(0.00)[imp@bsdimp.com,wlosh@bsdimp.com]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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: Mon, 13 Jan 2020 14:34:43 -0000 On Mon, Jan 13, 2020, 6:40 AM Wojciech Puchar wrote: > thank you for the help i already got. Raspberry pi zero run now completely > with FreeBSD including USB. > > Over this USB we connect our own hardware that looks like HID device. > Actually it's nothing like mouse or keyboard, but it's HID > device so to be able to work under windoze without requiring user to > install any drivers. > > Both raspberry pi and PC have 480Mbit/s USB. device actually works with > 12Mbit/s USB. > > my program does lots of hid_read_timeout from this device > > When running on PC it goes fast - able to perform enough reads to read all > needed data. > > When running on raspberry pi - in spite of total CPU load is far less than > 5% - it is slow. all hid_read_timeout works properly but > way too slow. every read takes like 10 times more time. > > what is needed to fix this? > I think a RPI firmware upgrade is needed. I don't know if our port has been updated yet. Warner _______________________________________________ > freebsd-hackers@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" > From owner-freebsd-hackers@freebsd.org Mon Jan 13 14:39:36 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 03A5D225DBD for ; Mon, 13 Jan 2020 14:39:36 +0000 (UTC) (envelope-from wojtek@puchar.net) Received: from puchar.net (puchar.net [194.1.144.90]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 47xGSk5XKJz4ZYX for ; Mon, 13 Jan 2020 14:39:34 +0000 (UTC) (envelope-from wojtek@puchar.net) Received: Received: from 127.0.0.1 (localhost [127.0.0.1]) by puchar.net (8.15.2/8.15.2) with ESMTPS id 00DEdTsk043561 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 13 Jan 2020 15:39:29 +0100 (CET) (envelope-from puchar-wojtek@puchar.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=puchar.net; s=default; t=1578926369; bh=8pztXOjGxzWvQ/1kBby8fXXrcz46tdYewf3yrbEy00Q=; h=Date:From:To:cc:Subject:In-Reply-To:References; b=iHUKbf4uluDGRDS1aXi0V24t7KY5/a0KKMraLI3G0mOXXX4qABXkPI7pfnRPpSbaa upSdnTJEgfj9v7D9HhmcvAEvpOfGCKqfd7WSrz5k+6l44BUl6z8Xs+GjKnoFglfgyd 7eoLmnbkBwUoh/Thg2njDhLVQgNwsP9wwmGIQMjQ= Received: from localhost (puchar-wojtek@localhost) by puchar.net (8.15.2/8.15.2/Submit) with ESMTP id 00DEdTk1043558; Mon, 13 Jan 2020 15:39:29 +0100 (CET) (envelope-from puchar-wojtek@puchar.net) Date: Mon, 13 Jan 2020 15:39:29 +0100 (CET) From: Wojciech Puchar To: Hans Petter Selasky cc: Wojciech Puchar , freebsd-hackers@freebsd.org Subject: Re: raspberry pi zero and SLOW USB HID In-Reply-To: <9f8ae63f-abe5-27d9-e6bf-3d0cc1d3d4f3@selasky.org> Message-ID: References: <9f8ae63f-abe5-27d9-e6bf-3d0cc1d3d4f3@selasky.org> User-Agent: Alpine 2.20 (BSF 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-Rspamd-Queue-Id: 47xGSk5XKJz4ZYX X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=fail (rsa verify failed) header.d=puchar.net header.s=default header.b=iHUKbf4u; dmarc=none; spf=pass (mx1.freebsd.org: domain of wojtek@puchar.net designates 194.1.144.90 as permitted sender) smtp.mailfrom=wojtek@puchar.net X-Spamd-Result: default: False [-4.15 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+mx]; R_DKIM_REJECT(1.00)[puchar.net:s=default]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[puchar.net]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[puchar.net:-]; RCVD_IN_DNSWL_NONE(0.00)[90.144.1.194.list.dnswl.org : 127.0.10.0]; IP_SCORE(-2.85)[ip: (-7.53), ipnet: 194.1.144.0/24(-3.76), asn: 43476(-3.01), country: PL(0.07)]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:43476, ipnet:194.1.144.0/24, country:PL]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_COUNT_TWO(0.00)[2] 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: Mon, 13 Jan 2020 14:39:36 -0000 > > Hi, > > Can you check the USB speed used between PC and RPI-zero ? Is one perhaps > High-Speed, while the other is, Full-Speed? below: ugen0.1: at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (0mA) ^^^^^^ this is RPI ugen0.2: at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON (100mA) ^^^^^^^^^^ this is our device. and it is normally full speed. ugen0.2: at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON (100mA) bLength = 0x0012 bDescriptorType = 0x0001 bcdUSB = 0x0200 bDeviceClass = 0x0000 bDeviceSubClass = 0x0000 bDeviceProtocol = 0x0000 bMaxPacketSize0 = 0x0008 idVendor = 0x12aa idProduct = 0xf1f7 bcdDevice = 0x0002 iManufacturer = 0x0001 iProduct = 0x0002 iSerialNumber = 0x0003 <22000051381> bNumConfigurations = 0x0001 Configuration index 0 bLength = 0x0009 bDescriptorType = 0x0002 wTotalLength = 0x0029 bNumInterfaces = 0x0001 bConfigurationValue = 0x0001 iConfiguration = 0x0000 bmAttributes = 0x00c0 bMaxPower = 0x0032 Interface 0 bLength = 0x0009 bDescriptorType = 0x0004 bInterfaceNumber = 0x0000 bAlternateSetting = 0x0000 bNumEndpoints = 0x0002 bInterfaceClass = 0x0003 bInterfaceSubClass = 0x0000 bInterfaceProtocol = 0x0000 iInterface = 0x0000 Additional Descriptor bLength = 0x09 bDescriptorType = 0x21 bDescriptorSubType = 0x11 RAW dump: 0x00 | 0x09, 0x21, 0x11, 0x01, 0x00, 0x01, 0x22, 0x1c, 0x08 | 0x00 Endpoint 0 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0081 bmAttributes = 0x0003 wMaxPacketSize = 0x0008 bInterval = 0x0001 bRefresh = 0x0000 bSynchAddress = 0x0000 Endpoint 1 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0001 bmAttributes = 0x0003 wMaxPacketSize = 0x0008 bInterval = 0x0001 bRefresh = 0x0000 bSynchAddress = 0x0000 From owner-freebsd-hackers@freebsd.org Mon Jan 13 14:43:33 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 260A52266AC for ; Mon, 13 Jan 2020 14:43:33 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (turbocat.net [IPv6:2a01:4f8:c17:6c4b::2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 47xGYJ3hRSz4bVS for ; Mon, 13 Jan 2020 14:43:31 +0000 (UTC) (envelope-from hps@selasky.org) Received: from hps2020.home.selasky.org (unknown [62.141.129.235]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id AD012260165; Mon, 13 Jan 2020 15:43:30 +0100 (CET) Subject: Re: raspberry pi zero and SLOW USB HID To: Wojciech Puchar Cc: freebsd-hackers@freebsd.org References: <9f8ae63f-abe5-27d9-e6bf-3d0cc1d3d4f3@selasky.org> From: Hans Petter Selasky Message-ID: <0b30136c-d5d8-bdaa-81d3-f147442afc96@selasky.org> Date: Mon, 13 Jan 2020 15:42:21 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.3.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 47xGYJ3hRSz4bVS X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of hps@selasky.org designates 2a01:4f8:c17:6c4b::2 as permitted sender) smtp.mailfrom=hps@selasky.org X-Spamd-Result: default: False [-4.93 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+a:mail.turbocat.net:c]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[selasky.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; IP_SCORE(-2.63)[ip: (-9.20), ipnet: 2a01:4f8::/29(-2.46), asn: 24940(-1.50), country: DE(-0.02)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:24940, ipnet:2a01:4f8::/29, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] 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: Mon, 13 Jan 2020 14:43:33 -0000 On 2020-01-13 15:39, Wojciech Puchar wrote: >> >> Hi, >> >> Can you check the USB speed used between PC and RPI-zero ? Is one >> perhaps High-Speed, while the other is, Full-Speed? > > below: > > ugen0.1: at usbus0, cfg=0 md=HOST spd=HIGH > (480Mbps) pwr=SAVE (0mA) > > ^^^^^^ this is RPI > > ugen0.2: at usbus0, cfg=0 md=HOST spd=FULL > (12Mbps) pwr=ON (100mA) > ^^^^^^^^^^ this is our device. and it is normally full speed. > > Hi, Can you measure the number of requests per second you get on the two different platforms? It might also be a firmware issue, like Warner says. --HPS From owner-freebsd-hackers@freebsd.org Mon Jan 13 14:44:58 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 1A4492267E1 for ; Mon, 13 Jan 2020 14:44:58 +0000 (UTC) (envelope-from wojtek@puchar.net) Received: from puchar.net (puchar.net [194.1.144.90]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 47xGZx1gg5z4bdg for ; Mon, 13 Jan 2020 14:44:56 +0000 (UTC) (envelope-from wojtek@puchar.net) Received: Received: from 127.0.0.1 (localhost [127.0.0.1]) by puchar.net (8.15.2/8.15.2) with ESMTPS id 00DEion0046700 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 13 Jan 2020 15:44:51 +0100 (CET) (envelope-from puchar-wojtek@puchar.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=puchar.net; s=default; t=1578926691; bh=wBG7Js6Tp2cPaS0yMTSiS8IYkJcEWcFleNn05+pCQ1o=; h=Date:From:To:cc:Subject:In-Reply-To:References; b=U2UpA3lCcdRJE2mbl3qJBgXuT2SOkORAtKsmXM1s6azrrmfrJAH5wUqK3BTFnieMs wcsBF8xJDz1r0FHxZA6Vz26q3xmmTS5YrC26a1lNpcMbzoj+1e6TCv4REvyYPN0New n36hHhHfl8hLpOFNIGqHydVcnPR3rPPnucKNz4pA= Received: from localhost (puchar-wojtek@localhost) by puchar.net (8.15.2/8.15.2/Submit) with ESMTP id 00DEiojF046697; Mon, 13 Jan 2020 15:44:50 +0100 (CET) (envelope-from puchar-wojtek@puchar.net) Date: Mon, 13 Jan 2020 15:44:50 +0100 (CET) From: Wojciech Puchar To: Hans Petter Selasky cc: Wojciech Puchar , freebsd-hackers@freebsd.org Subject: Re: raspberry pi zero and SLOW USB HID In-Reply-To: <9f8ae63f-abe5-27d9-e6bf-3d0cc1d3d4f3@selasky.org> Message-ID: References: <9f8ae63f-abe5-27d9-e6bf-3d0cc1d3d4f3@selasky.org> User-Agent: Alpine 2.20 (BSF 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-Rspamd-Queue-Id: 47xGZx1gg5z4bdg X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=fail (rsa verify failed) header.d=puchar.net header.s=default header.b=U2UpA3lC; dmarc=none; spf=pass (mx1.freebsd.org: domain of wojtek@puchar.net designates 194.1.144.90 as permitted sender) smtp.mailfrom=wojtek@puchar.net X-Spamd-Result: default: False [-4.14 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+mx:c]; R_DKIM_REJECT(1.00)[puchar.net:s=default]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[puchar.net]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[puchar.net:-]; RCVD_IN_DNSWL_NONE(0.00)[90.144.1.194.list.dnswl.org : 127.0.10.0]; IP_SCORE(-2.84)[ip: (-7.50), ipnet: 194.1.144.0/24(-3.75), asn: 43476(-3.00), country: PL(0.07)]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:43476, ipnet:194.1.144.0/24, country:PL]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_COUNT_TWO(0.00)[2] 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: Mon, 13 Jan 2020 14:44:58 -0000 > > Can you check the USB speed used between PC and RPI-zero ? Is one perhaps > High-Speed, while the other is, Full-Speed? > > If yes, try to connect a high-speed USB hub in between. > > Output from: > usbconfig > > > You can also check using "usbdump -i usbus0 -s 65536" to see the actual > timing of the commands. > output is like that 15:35:24.495838 usbus0.2 SUBM-INTR-EP=00000081,SPD=FULL,NFR=1,SLEN=0,IVAL=1 15:35:24.503590 usbus0.2 DONE-INTR-EP=00000081,SPD=FULL,NFR=1,SLEN=8,IVAL=1,ERR=0 15:35:24.503829 usbus0.2 SUBM-INTR-EP=00000081,SPD=FULL,NFR=1,SLEN=0,IVAL=1 15:35:24.519580 usbus0.2 DONE-INTR-EP=00000081,SPD=FULL,NFR=1,SLEN=8,IVAL=1,ERR=0 15:35:24.519823 usbus0.2 SUBM-INTR-EP=00000081,SPD=FULL,NFR=1,SLEN=0,IVAL=1 15:35:24.521235 usbus0.2 SUBM-INTR-EP=00000001,SPD=FULL,NFR=1,SLEN=8,IVAL=1 15:35:24.527603 usbus0.2 DONE-INTR-EP=00000081,SPD=FULL,NFR=1,SLEN=8,IVAL=1,ERR=0 15:35:24.527631 usbus0.2 DONE-INTR-EP=00000001,SPD=FULL,NFR=1,SLEN=0,IVAL=1,ERR=0 15:35:24.527861 usbus0.2 SUBM-INTR-EP=00000081,SPD=FULL,NFR=1,SLEN=0,IVAL=1 15:35:24.535588 usbus0.2 DONE-INTR-EP=00000081,SPD=FULL,NFR=1,SLEN=8,IVAL=1,ERR=0 15:35:24.535848 usbus0.2 SUBM-INTR-EP=00000081,SPD=FULL,NFR=1,SLEN=0,IVAL=1 15:35:24.543648 usbus0.2 DONE-INTR-EP=00000081,SPD=FULL,NFR=1,SLEN=8,IVAL=1,ERR=0 15:35:24.543978 usbus0.2 SUBM-INTR-EP=00000081,SPD=FULL,NFR=1,SLEN=0,IVAL=1 15:35:24.559587 usbus0.2 DONE-INTR-EP=00000081,SPD=FULL,NFR=1,SLEN=8,IVAL=1,ERR=0 15:35:24.559839 usbus0.2 SUBM-INTR-EP=00000081,SPD=FULL,NFR=1,SLEN=0,IVAL=1 15:35:24.567584 usbus0.2 DONE-INTR-EP=00000081,SPD=FULL,NFR=1,SLEN=8,IVAL=1,ERR=0 15:35:24.567823 usbus0.2 SUBM-INTR-EP=00000081,SPD=FULL,NFR=1,SLEN=0,IVAL=1 15:35:24.575585 usbus0.2 DONE-INTR-EP=00000081,SPD=FULL,NFR=1,SLEN=8,IVAL=1,ERR=0 15:35:24.575824 usbus0.2 SUBM-INTR-EP=00000081,SPD=FULL,NFR=1,SLEN=0,IVAL=1 15:35:24.583587 usbus0.2 DONE-INTR-EP=00000081,SPD=FULL,NFR=1,SLEN=8,IVAL=1,ERR=0 15:35:24.583824 usbus0.2 SUBM-INTR-EP=00000081,SPD=FULL,NFR=1,SLEN=0,IVAL=1 15:35:24.599583 usbus0.2 DONE-INTR-EP=00000081,SPD=FULL,NFR=1,SLEN=8,IVAL=1,ERR=0 15:35:24.599827 usbus0.2 SUBM-INTR-EP=00000081,SPD=FULL,NFR=1,SLEN=0,IVAL=1 15:35:24.607586 usbus0.2 DONE-INTR-EP=00000081,SPD=FULL,NFR=1,SLEN=8,IVAL=1,ERR=0 15:35:24.607830 usbus0.2 SUBM-INTR-EP=00000081,SPD=FULL,NFR=1,SLEN=0,IVAL=1 15:35:24.615583 usbus0.2 DONE-INTR-EP=00000081,SPD=FULL,NFR=1,SLEN=8,IVAL=1,ERR=0 15:35:24.615826 usbus0.2 SUBM-INTR-EP=00000081,SPD=FULL,NFR=1,SLEN=0,IVAL=1 there is over 10ms between each transmission. same on PC 15:43:31.331678 usbus1.6 SUBM-INTR-EP=00000001,SPD=FULL,NFR=1,SLEN=8,IVAL=1 15:43:31.332370 usbus1.6 DONE-INTR-EP=00000001,SPD=FULL,NFR=1,SLEN=0,IVAL=1,ERR=0 15:43:31.332523 usbus1.6 SUBM-INTR-EP=00000001,SPD=FULL,NFR=1,SLEN=8,IVAL=1 15:43:31.333372 usbus1.6 DONE-INTR-EP=00000001,SPD=FULL,NFR=1,SLEN=0,IVAL=1,ERR=0 15:43:31.333491 usbus1.6 SUBM-INTR-EP=00000001,SPD=FULL,NFR=1,SLEN=8,IVAL=1 15:43:31.334376 usbus1.6 DONE-INTR-EP=00000081,SPD=FULL,NFR=1,SLEN=8,IVAL=1,ERR=0 15:43:31.334403 usbus1.6 DONE-INTR-EP=00000001,SPD=FULL,NFR=1,SLEN=0,IVAL=1,ERR=0 15:43:31.334461 usbus1.6 SUBM-INTR-EP=00000081,SPD=FULL,NFR=1,SLEN=0,IVAL=1 15:43:31.335498 usbus1.6 DONE-INTR-EP=00000081,SPD=FULL,NFR=1,SLEN=8,IVAL=1,ERR=0 15:43:31.335612 usbus1.6 SUBM-INTR-EP=00000081,SPD=FULL,NFR=1,SLEN=0,IVAL=1 device is the same hardware with the same firmware. What causes larger delays? From owner-freebsd-hackers@freebsd.org Mon Jan 13 14:45:52 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 D8737226919 for ; Mon, 13 Jan 2020 14:45:52 +0000 (UTC) (envelope-from wojtek@puchar.net) Received: from puchar.net (puchar.net [194.1.144.90]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 47xGc02hz0z4bmr for ; Mon, 13 Jan 2020 14:45:52 +0000 (UTC) (envelope-from wojtek@puchar.net) Received: Received: from 127.0.0.1 (localhost [127.0.0.1]) by puchar.net (8.15.2/8.15.2) with ESMTPS id 00DEjjRB047401 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 13 Jan 2020 15:45:46 +0100 (CET) (envelope-from puchar-wojtek@puchar.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=puchar.net; s=default; t=1578926746; bh=2Ba+r+TEXkI3TzKsIQdeMizBcabQl4Krs4sYVGsZ1qs=; h=Date:From:To:cc:Subject:In-Reply-To:References; b=Vz4ESzWpgjdAo5BuK5NYUTt2EfilUOIDOXt323KA6lomguT/gIx14agUeF1HYU4Za JqUarjGs9buRpJ8vOJsIC8PPlw4e604dms0QqAQUfBBYRXZBue9Nzp8Wx2g9PSoce2 mIV2z9V4YQCABrFx4FSMoR6ctOqzUeYktXMxiSTY= Received: from localhost (puchar-wojtek@localhost) by puchar.net (8.15.2/8.15.2/Submit) with ESMTP id 00DEjjHG047398; Mon, 13 Jan 2020 15:45:45 +0100 (CET) (envelope-from puchar-wojtek@puchar.net) Date: Mon, 13 Jan 2020 15:45:45 +0100 (CET) From: Wojciech Puchar To: Warner Losh cc: Wojciech Puchar , FreeBSD Hackers Subject: Re: raspberry pi zero and SLOW USB HID In-Reply-To: Message-ID: References: User-Agent: Alpine 2.20 (BSF 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-Rspamd-Queue-Id: 47xGc02hz0z4bmr X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=fail (rsa verify failed) header.d=puchar.net header.s=default header.b=Vz4ESzWp; dmarc=none; spf=pass (mx1.freebsd.org: domain of wojtek@puchar.net designates 194.1.144.90 as permitted sender) smtp.mailfrom=wojtek@puchar.net X-Spamd-Result: default: False [-4.12 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+mx:c]; R_DKIM_REJECT(1.00)[puchar.net:s=default]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[puchar.net]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[puchar.net:-]; RCVD_IN_DNSWL_NONE(0.00)[90.144.1.194.list.dnswl.org : 127.0.10.0]; IP_SCORE(-2.82)[ip: (-7.47), ipnet: 194.1.144.0/24(-3.73), asn: 43476(-2.99), country: PL(0.07)]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:43476, ipnet:194.1.144.0/24, country:PL]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_COUNT_TWO(0.00)[2] 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: Mon, 13 Jan 2020 14:45:52 -0000 >> When running on raspberry pi - in spite of total CPU load is far less than >> 5% - it is slow. all hid_read_timeout works properly but >> way too slow. every read takes like 10 times more time. >> >> what is needed to fix this? >> > > I think a RPI firmware upgrade is needed. I don't know if our port has been > updated yet. you mean what firmware? how can i do it? From owner-freebsd-hackers@freebsd.org Mon Jan 13 14:48:42 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 537C3226AFC for ; Mon, 13 Jan 2020 14:48:42 +0000 (UTC) (envelope-from wojtek@puchar.net) Received: from puchar.net (puchar.net [194.1.144.90]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 47xGgF3X7pz4bxV for ; Mon, 13 Jan 2020 14:48:41 +0000 (UTC) (envelope-from wojtek@puchar.net) Received: Received: from 127.0.0.1 (localhost [127.0.0.1]) by puchar.net (8.15.2/8.15.2) with ESMTPS id 00DEmaXK049678 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 13 Jan 2020 15:48:36 +0100 (CET) (envelope-from puchar-wojtek@puchar.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=puchar.net; s=default; t=1578926917; bh=bDtgOVTAcSD1prQxx5zRzndiUQ0WFsI5bnYjoDEt8Pc=; h=Date:From:To:cc:Subject:In-Reply-To:References; b=lmGcs3Fs82k/n8O62c7Fj2dfYMhlQVK4usr8RU8fZRCmJcBiLi6aFUHqhaM9b+veG E48giuJ8BL1/6bz0vdEQgiHYEhB67VbZKnfEeY48eBl4UseuruUsE23Nook6/Dq1v/ p0A2rS1wBux4KivxQrIgSs9eE+1SxukS4a46mAKk= Received: from localhost (puchar-wojtek@localhost) by puchar.net (8.15.2/8.15.2/Submit) with ESMTP id 00DEma4p049675; Mon, 13 Jan 2020 15:48:36 +0100 (CET) (envelope-from puchar-wojtek@puchar.net) Date: Mon, 13 Jan 2020 15:48:36 +0100 (CET) From: Wojciech Puchar To: Hans Petter Selasky cc: Wojciech Puchar , freebsd-hackers@freebsd.org Subject: Re: raspberry pi zero and SLOW USB HID In-Reply-To: <0b30136c-d5d8-bdaa-81d3-f147442afc96@selasky.org> Message-ID: References: <9f8ae63f-abe5-27d9-e6bf-3d0cc1d3d4f3@selasky.org> <0b30136c-d5d8-bdaa-81d3-f147442afc96@selasky.org> User-Agent: Alpine 2.20 (BSF 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-Rspamd-Queue-Id: 47xGgF3X7pz4bxV X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=fail (rsa verify failed) header.d=puchar.net header.s=default header.b=lmGcs3Fs; dmarc=none; spf=pass (mx1.freebsd.org: domain of wojtek@puchar.net designates 194.1.144.90 as permitted sender) smtp.mailfrom=wojtek@puchar.net X-Spamd-Result: default: False [-4.11 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+mx:c]; R_DKIM_REJECT(1.00)[puchar.net:s=default]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[puchar.net]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[puchar.net:-]; RCVD_IN_DNSWL_NONE(0.00)[90.144.1.194.list.dnswl.org : 127.0.10.0]; IP_SCORE(-2.81)[ip: (-7.44), ipnet: 194.1.144.0/24(-3.72), asn: 43476(-2.98), country: PL(0.07)]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:43476, ipnet:194.1.144.0/24, country:PL]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_COUNT_TWO(0.00)[2] 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: Mon, 13 Jan 2020 14:48:42 -0000 putting a hub in between makes things FAR worse. On Mon, 13 Jan 2020, Hans Petter Selasky wrote: > On 2020-01-13 15:39, Wojciech Puchar wrote: >>> >>> Hi, >>> >>> Can you check the USB speed used between PC and RPI-zero ? Is one perhaps >>> High-Speed, while the other is, Full-Speed? >> >> below: >> >> ugen0.1: at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) >> pwr=SAVE (0mA) >> >> ^^^^^^ this is RPI >> >> ugen0.2: at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) >> pwr=ON (100mA) >> ^^^^^^^^^^ this is our device. and it is normally full speed. >> >> > > Hi, > > Can you measure the number of requests per second you get on the two > different platforms? > > It might also be a firmware issue, like Warner says. > > --HPS > > From owner-freebsd-hackers@freebsd.org Mon Jan 13 14:53:31 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 84BF1226E7D for ; Mon, 13 Jan 2020 14:53:31 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (turbocat.net [IPv6:2a01:4f8:c17:6c4b::2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 47xGmp4FSYz4cTD for ; Mon, 13 Jan 2020 14:53:30 +0000 (UTC) (envelope-from hps@selasky.org) Received: from hps2020.home.selasky.org (unknown [62.141.129.235]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id D680926032A; Mon, 13 Jan 2020 15:53:28 +0100 (CET) Subject: Re: raspberry pi zero and SLOW USB HID To: Wojciech Puchar Cc: freebsd-hackers@freebsd.org References: <9f8ae63f-abe5-27d9-e6bf-3d0cc1d3d4f3@selasky.org> From: Hans Petter Selasky Message-ID: <9a1a3901-ce03-d445-dd9e-bbd775f5288a@selasky.org> Date: Mon, 13 Jan 2020 15:52:17 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.3.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 47xGmp4FSYz4cTD X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of hps@selasky.org designates 2a01:4f8:c17:6c4b::2 as permitted sender) smtp.mailfrom=hps@selasky.org X-Spamd-Result: default: False [-4.94 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+a:mail.turbocat.net:c]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[selasky.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; IP_SCORE(-2.64)[ip: (-9.20), ipnet: 2a01:4f8::/29(-2.46), asn: 24940(-1.50), country: DE(-0.02)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:24940, ipnet:2a01:4f8::/29, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] 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: Mon, 13 Jan 2020 14:53:31 -0000 On 2020-01-13 15:44, Wojciech Puchar wrote: >> >> Can you check the USB speed used between PC and RPI-zero ? Is one >> perhaps High-Speed, while the other is, Full-Speed? >> >> If yes, try to connect a high-speed USB hub in between. >> >> Output from: >> usbconfig >> >> >> You can also check using "usbdump -i usbus0 -s 65536" to see the >> actual timing of the commands. >> Hi, I think I understand now. > device is the same hardware with the same firmware. What causes larger > delays? What you see is likely a manifestion of: #define DWC_OTG_HOST_TIMER_RATE 10 /* ms */ Which is because we want save a little power polling the DWC OTG. To avoid this: USB transfers must be double buffered! That means you must submit two IN-endpoint jobs, instead of just one. Then the driver will understand there is more work to do, and not go to idlewait! --HPS From owner-freebsd-hackers@freebsd.org Mon Jan 13 14:57:52 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 E4992227047 for ; Mon, 13 Jan 2020 14:57:52 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (turbocat.net [IPv6:2a01:4f8:c17:6c4b::2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 47xGsr1Vmlz4cgX for ; Mon, 13 Jan 2020 14:57:51 +0000 (UTC) (envelope-from hps@selasky.org) Received: from hps2020.home.selasky.org (unknown [62.141.129.235]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id 8026126032A; Mon, 13 Jan 2020 15:57:50 +0100 (CET) Subject: Re: raspberry pi zero and SLOW USB HID To: Wojciech Puchar Cc: freebsd-hackers@freebsd.org References: <9f8ae63f-abe5-27d9-e6bf-3d0cc1d3d4f3@selasky.org> From: Hans Petter Selasky Message-ID: <0c07d877-356f-6b46-c819-ffb327f0dfd4@selasky.org> Date: Mon, 13 Jan 2020 15:56:38 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.3.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 47xGsr1Vmlz4cgX X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of hps@selasky.org designates 2a01:4f8:c17:6c4b::2 as permitted sender) smtp.mailfrom=hps@selasky.org X-Spamd-Result: default: False [-4.94 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+a:mail.turbocat.net:c]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[selasky.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; IP_SCORE(-2.64)[ip: (-9.20), ipnet: 2a01:4f8::/29(-2.46), asn: 24940(-1.50), country: DE(-0.02)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:24940, ipnet:2a01:4f8::/29, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] 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: Mon, 13 Jan 2020 14:57:53 -0000 Hi, On 2020-01-13 15:39, Wojciech Puchar wrote: >         bInterval = 0x0001 This value in the INTERRUPT endpoint descriptor is used to limit the response rate. I think this means 1ms limit, so max 1000 requests per second. If you want to do faster, you need to use BULK! --HPS From owner-freebsd-hackers@freebsd.org Mon Jan 13 15:50:01 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 724E71E08E5 for ; Mon, 13 Jan 2020 15:50:01 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-wr1-x429.google.com (mail-wr1-x429.google.com [IPv6:2a00:1450:4864:20::429]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47xJ203GWSz3ByS for ; Mon, 13 Jan 2020 15:50:00 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: by mail-wr1-x429.google.com with SMTP id t2so9128930wrr.1 for ; Mon, 13 Jan 2020 07:50:00 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=8TCbYDTSzeI+o/sbdIDN+WQm6yj2ptsT34gQIRTyefk=; b=F8r4CyDYCnQsDlXEGcWDZHQ3kOpSQ6Z+W+mphQtEU2HaWd3/rHrseQHUh0OconIQ25 U9MW/RQr0vVk65GWRGIntTL+rtnsYfKBtCUSCG3BccJS9zOjZNlMXhwRD00ty2WrQGp3 v4fklNGKKo+SAxm/UidTxeQi1aG7YfTI6amLVt+ZtzKEglA6qKSxDXgR5sjNtk+MzQWf 5IzcnmktwadnE86vKv1ubvWNrCIkD4ie4IBR0WS8NITb6wzGS8FEyPM4V5oxt2YtTcmd UnNqweRxTrwROHlqkttIXlAfKecCMl9mvz8DnWUWXrjfNRnrbG1m9t9WK7O9aRMHltKk 7PyA== X-Gm-Message-State: APjAAAVKs7nmd1F8/UyCct98wxNRXxbPPdUtFZZwH++QoNPIvtrpZBQ6 iBhD04/+SrDzyIy44sOBgVSQqkub X-Google-Smtp-Source: APXvYqxWPUdntMVDCUNLNazasgu+3ZPj8mT5wlgAazMPIkC/uH9eMIySGuv9bgOaAIjR7rL7v1le0w== X-Received: by 2002:a5d:538e:: with SMTP id d14mr19792848wrv.358.1578930598292; Mon, 13 Jan 2020 07:49:58 -0800 (PST) Received: from gumby.homeunix.com ([2.221.16.6]) by smtp.gmail.com with ESMTPSA id u22sm16534133wru.30.2020.01.13.07.49.55 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Jan 2020 07:49:57 -0800 (PST) Date: Mon, 13 Jan 2020 15:49:52 +0000 From: RW To: freebsd-hackers@freebsd.org Subject: Re: adding some smartness in file cache Message-ID: <20200113154952.54bb4156@gumby.homeunix.com> In-Reply-To: References: X-Mailer: Claws Mail 3.17.4 (GTK+ 2.24.32; amd64-portbld-freebsd12.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 47xJ203GWSz3ByS X-Spamd-Bar: -- X-Spamd-Result: default: False [-3.00 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; FREEMAIL_FROM(0.00)[googlemail.com]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[googlemail.com:+]; DMARC_POLICY_ALLOW(-0.50)[googlemail.com,quarantine]; RECEIVED_SPAMHAUS_PBL(0.00)[6.16.221.2.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.10]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[googlemail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; DWL_DNSWL_NONE(0.00)[googlemail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[googlemail.com:s=20161025]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org]; IP_SCORE_FREEMAIL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; IP_SCORE(0.00)[ip: (-9.39), ipnet: 2a00:1450::/32(-2.60), asn: 15169(-1.84), country: US(-0.05)]; RCVD_IN_DNSWL_NONE(0.00)[9.2.4.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.5.4.1.0.0.a.2.list.dnswl.org : 127.0.5.0]; RCVD_TLS_ALL(0.00)[] 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: Mon, 13 Jan 2020 15:50:01 -0000 On Mon, 13 Jan 2020 01:13:31 -0800 Conrad Meyer wrote: > Consider modifying your linear scan programs to use posix_fadvise(2) > POSIX_FADV_DONTNEED and/or POSIX_FADV_NOREUSE. > > You're right that we could be a bit more clever than straight LRU for > eviction (if we are not already), It may have changed, but the last I looked, the active queue was clever than straight LRU and that was governing the expiry of mmap file cache. There was a thread a few years ago where someone posted a contrived test that appeared to show Linux caching as more effective. However, the results were consistent with Linux evicting mmap cache LRU and FreeBSD retaining twice accessed pages over more recently accessed single access pages. From owner-freebsd-hackers@freebsd.org Mon Jan 13 19:48:31 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 1644E1EA594 for ; Mon, 13 Jan 2020 19:48:31 +0000 (UTC) (envelope-from wojtek@puchar.net) Received: from puchar.net (puchar.net [194.1.144.90]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 47xPK95kCpz45sq for ; Mon, 13 Jan 2020 19:48:29 +0000 (UTC) (envelope-from wojtek@puchar.net) Received: Received: from 127.0.0.1 (localhost [127.0.0.1]) by puchar.net (8.15.2/8.15.2) with ESMTPS id 00DJmOUL058082 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 13 Jan 2020 20:48:24 +0100 (CET) (envelope-from puchar-wojtek@puchar.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=puchar.net; s=default; t=1578944904; bh=Oz7WN1T/dqhXJxP7l0/+HKtAyGo/GM/1brmAWdjj4hQ=; h=Date:From:To:cc:Subject:In-Reply-To:References; b=TES5ZGIADNZDPwRquEGV8KXi5PruLwV1sUmll+jDW3sBufg/63exPnIH5VD+kAtWZ j4sb+NHhP2Uc0VD7I+jA504oUoKcx/RUvpSllyKnSbT3ng8cXzFB8Cfx3aGVQpss8w qWnBTxWg5P9fT7JIu1q+pjnmbTDqcnR2sg90lI6E= Received: from localhost (puchar-wojtek@localhost) by puchar.net (8.15.2/8.15.2/Submit) with ESMTP id 00DJmNOX058079; Mon, 13 Jan 2020 20:48:24 +0100 (CET) (envelope-from puchar-wojtek@puchar.net) Date: Mon, 13 Jan 2020 20:48:23 +0100 (CET) From: Wojciech Puchar To: Hans Petter Selasky cc: Wojciech Puchar , freebsd-hackers@freebsd.org Subject: Re: raspberry pi zero and SLOW USB HID In-Reply-To: <9a1a3901-ce03-d445-dd9e-bbd775f5288a@selasky.org> Message-ID: References: <9f8ae63f-abe5-27d9-e6bf-3d0cc1d3d4f3@selasky.org> <9a1a3901-ce03-d445-dd9e-bbd775f5288a@selasky.org> User-Agent: Alpine 2.20 (BSF 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-Rspamd-Queue-Id: 47xPK95kCpz45sq X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=fail (rsa verify failed) header.d=puchar.net header.s=default header.b=TES5ZGIA; dmarc=none; spf=pass (mx1.freebsd.org: domain of wojtek@puchar.net designates 194.1.144.90 as permitted sender) smtp.mailfrom=wojtek@puchar.net X-Spamd-Result: default: False [-4.10 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+mx]; R_DKIM_REJECT(1.00)[puchar.net:s=default]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[puchar.net]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[puchar.net:-]; RCVD_IN_DNSWL_NONE(0.00)[90.144.1.194.list.dnswl.org : 127.0.10.0]; IP_SCORE(-2.80)[ip: (-7.41), ipnet: 194.1.144.0/24(-3.70), asn: 43476(-2.96), country: PL(0.07)]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:43476, ipnet:194.1.144.0/24, country:PL]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_COUNT_TWO(0.00)[2] 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: Mon, 13 Jan 2020 19:48:31 -0000 > > #define DWC_OTG_HOST_TIMER_RATE 10 /* ms */ can i change this to 1? > > Which is because we want save a little power polling the DWC OTG. > > To avoid this: > > USB transfers must be double buffered! That means you must submit two > IN-endpoint jobs, instead of just one. Then the driver will understand there > is more work to do, and not go to idlewait! > > --HPS > > From owner-freebsd-hackers@freebsd.org Mon Jan 13 19:51:03 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 044851EA764 for ; Mon, 13 Jan 2020 19:51:03 +0000 (UTC) (envelope-from wojtek@puchar.net) Received: from puchar.net (puchar.net [194.1.144.90]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 47xPN60gGpz46QM for ; Mon, 13 Jan 2020 19:51:01 +0000 (UTC) (envelope-from wojtek@puchar.net) Received: Received: from 127.0.0.1 (localhost [127.0.0.1]) by puchar.net (8.15.2/8.15.2) with ESMTPS id 00DJovUk059022 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 13 Jan 2020 20:50:57 +0100 (CET) (envelope-from puchar-wojtek@puchar.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=puchar.net; s=default; t=1578945057; bh=8dqfMH8H5OtbB0NhxDa3NEHzFddb6e6UhCk/VMvJtas=; h=Date:From:To:cc:Subject:In-Reply-To:References; b=a287ihDlw8tqC6BphESqu4/sWE7Q7+t3PqNKx/K79AKW1E8TQXy9WBRNTwir6ovZl mmpAhwCYnjAD7caW3N0gGfBKPfBK2YM1IziNtz/BgVfGA4/eaehP/VGqCG8lAE4eFd m3x3hBDW+V3c6zaRTessIkkR6p5uwpjJz6WEW0V8= Received: from localhost (puchar-wojtek@localhost) by puchar.net (8.15.2/8.15.2/Submit) with ESMTP id 00DJovV8059019; Mon, 13 Jan 2020 20:50:57 +0100 (CET) (envelope-from puchar-wojtek@puchar.net) Date: Mon, 13 Jan 2020 20:50:57 +0100 (CET) From: Wojciech Puchar To: Hans Petter Selasky cc: Wojciech Puchar , freebsd-hackers@freebsd.org Subject: Re: raspberry pi zero and SLOW USB HID In-Reply-To: <0c07d877-356f-6b46-c819-ffb327f0dfd4@selasky.org> Message-ID: References: <9f8ae63f-abe5-27d9-e6bf-3d0cc1d3d4f3@selasky.org> <0c07d877-356f-6b46-c819-ffb327f0dfd4@selasky.org> User-Agent: Alpine 2.20 (BSF 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-Rspamd-Queue-Id: 47xPN60gGpz46QM X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=fail (rsa verify failed) header.d=puchar.net header.s=default header.b=a287ihDl; dmarc=none; spf=pass (mx1.freebsd.org: domain of wojtek@puchar.net designates 194.1.144.90 as permitted sender) smtp.mailfrom=wojtek@puchar.net X-Spamd-Result: default: False [-4.09 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+mx:c]; R_DKIM_REJECT(1.00)[puchar.net:s=default]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[puchar.net]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[puchar.net:-]; RCVD_IN_DNSWL_NONE(0.00)[90.144.1.194.list.dnswl.org : 127.0.10.0]; IP_SCORE(-2.79)[ip: (-7.38), ipnet: 194.1.144.0/24(-3.69), asn: 43476(-2.95), country: PL(0.07)]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:43476, ipnet:194.1.144.0/24, country:PL]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_COUNT_TWO(0.00)[2] 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: Mon, 13 Jan 2020 19:51:03 -0000 i have 1000 request per second on PC. and it's enough. but at most 100 on raspberry pi. Our interface wasn't designed for high data transfers, just to be easier usable in windoze (no need for driver installation). This raspberry pi setup is one of a kind hardware for special use. not for mass production. but the problem is that on raspberry pi it's 10 times slower to do hid ping-ponging. and it's too slow. From owner-freebsd-hackers@freebsd.org Tue Jan 14 02:40:07 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 BD6E81F6F03 for ; Tue, 14 Jan 2020 02:40:07 +0000 (UTC) (envelope-from jpaetzel@FreeBSD.org) Received: from wout4-smtp.messagingengine.com (wout4-smtp.messagingengine.com [64.147.123.20]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 47xZS72lctz4V68 for ; Tue, 14 Jan 2020 02:40:07 +0000 (UTC) (envelope-from jpaetzel@FreeBSD.org) Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.west.internal (Postfix) with ESMTP id 8B2A2654 for ; Mon, 13 Jan 2020 21:40:05 -0500 (EST) Received: from imap2 ([10.202.2.52]) by compute2.internal (MEProxy); Mon, 13 Jan 2020 21:40:05 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=QGVU4ikJmgNX8WgOabS88IDRUxnj7bEDFN0Av8vNM 3k=; b=NFMZnmSZ70vyikn/F/p3MDq/rLAadiiJXmjBEzCRuhnDhH/Dpi5TGdwLQ dQTCzNNjBnZMZOdBNrzdglLliaV5Y1PoO6ACW4YzC22lyoqnyB4Jdm/Z+u3Xluxo P2U3dtZNyJxQqnQTnxkG3Hs5LUM7u7COujQDsafyUIledBC8ri8G80Q30cJkkwVY r7kHboV4GmpF1BOdaxivJPu54Y5oaUjJvBZW4BhuTjznnNkNENtvlA2S2rwGJbVM j4gpn90IWRtxQohqV7r9fHQ1Kuy8WIjeV7fRM7yvYM6MsSjIegucZ3Y2Cc9G1UMk ZQdH0332SIuFElyLRvP3ued1zO4cw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrvdejuddggeejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvffutgfgsehtqhertderreejnecuhfhrohhmpedflfho shhhucfrrggvthiivghlfdcuoehjphgrvghtiigvlheshfhrvggvuefuffdrohhrgheqne cuffhomhgrihhnpehfrhgvvggsshgurdhorhhgnecurfgrrhgrmhepmhgrihhlfhhrohhm pehjphgrvghtiigvlheshfhrvggvuefuffdrohhrghenucevlhhushhtvghrufhiiigvpe dt X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id CB295E00A2; Mon, 13 Jan 2020 21:40:04 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.1.7-754-g09d1619-fmstable-20200113v1 Mime-Version: 1.0 Message-Id: <55931f9f-73ca-41e5-a069-a18b32333430@www.fastmail.com> In-Reply-To: <0E861DC2-D1C3-4E17-A8C1-FD68C60147CA@freebsd.org> References: <0E861DC2-D1C3-4E17-A8C1-FD68C60147CA@freebsd.org> Date: Mon, 13 Jan 2020 20:39:43 -0600 From: "Josh Paetzel" To: "Xin Li via freebsd-hackers" Subject: Re: Console redirection for UEFI and IPMI-SOL Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 47xZS72lctz4V68 X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-1.98 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-0.98)[-0.984,0]; NEURAL_HAM_LONG(-0.99)[-0.994,0]; ASN(0.00)[asn:11403, ipnet:64.147.123.0/24, country:US] 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, 14 Jan 2020 02:40:07 -0000 On Fri, Jan 10, 2020, at 12:30 PM, Ravi Pokala wrote: > Hi folks, >=20 > I'm trying to bring 12.1-RELEASE up on a new hardware platform. The=20= > system will boot from an NVMe device, so it must boot using UEFI. >=20 > I've installed UEFI-based systems several times before, without any=20= > trouble. But for those previous platforms, the VGA console was all I=20= > needed; on this new platform, I need a serial console, using IPMI=20 > Serial-Over-LAN. I've set up SOL plenty of times before too... but onl= y=20 > on BIOS-based systems. It's the combination of UEFI+SOL which seems to= =20 > be causing me problems. >=20 > When I boot, I see output from loader.efi on both the VGA and the SOL=20= > consoles; they report the console type as "efi". When the kernel start= s=20 > running, I only see the output on the VGA console, not the SOL console= .=20 > My ideal configuration -- which is what I have on my BIOS-based system= s=20 > -- is: >=20 > - bootloader on both VGA console and SOL console > - kernel output on both VGA console and SOL console > - single-user prompt on whichever I selected as the primary (first in=20= > the 'console' list in /boot/loader.conf) > - login prompts on both consoles after `getty' has started. >=20 > =EF=BB=BFOn the aforementioned previous BIOS+SOL systems, /boot/loader= .conf=20 > contains the following: >=20 > | boot_serial=3D"YES" > | console=3D"comconsole vidconsole" > | kern.vty=3D"vt" # 10.x; different on 12.1? > | hw.vga.textmode=3D"1" >=20 > When I used those same settings on the UEFI systems, loader.efi=20 > complains about "vidconsole" not being valid, and I got no more output= =20 > anywhere. Changing that to "efi" let me get the kernel messages on the= =20 > VGA console, but still nothing on the SOL. >=20 > I'm happy to provide more info about the platform; just tell me what=20= > commands to run to gather it. >=20 > Thanks, >=20 > Ravi (rpokala@) >=20 >=20 > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.= org" > So in EFI land you're going to want console=3D"comconsole efi" You'll probably also want boot_multicons=3D"YES" Almost certainly the loader needs to be told over what serial port the I= PMI serial port really is. It's probably very helpfully sending all the = output to a header on the motherboard somewhere. dmesg is your friend there. comconsole_port and possibly comconsole_speed may need to be set. ipmitool sol info 1 to see what the volatile and non-volatile bit rates= are set to. --=20 Thanks, Josh Paetzel From owner-freebsd-hackers@freebsd.org Tue Jan 14 07:12:34 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 08E991FD7D0 for ; Tue, 14 Jan 2020 07:12:34 +0000 (UTC) (envelope-from wojtek@puchar.net) Received: from puchar.net (puchar.net [194.1.144.90]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 47xhVS73WFz3F1Z for ; Tue, 14 Jan 2020 07:12:32 +0000 (UTC) (envelope-from wojtek@puchar.net) Received: Received: from 127.0.0.1 (localhost [127.0.0.1]) by puchar.net (8.15.2/8.15.2) with ESMTPS id 00E7CQVT055957 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 14 Jan 2020 08:12:26 +0100 (CET) (envelope-from puchar-wojtek@puchar.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=puchar.net; s=default; t=1578985947; bh=HRRSNLDat0s07CWSVrz3Tn74NIMSz0MXCA3djmzOr18=; h=Date:From:To:cc:Subject:In-Reply-To:References; b=KgPUaAj0Vf2woIB/cGLtip1Ft5a2OYuX5QghUJSYBdON+ewKFwUwiyy3VPH/0+OzZ ddVu80AQ3rSGNNocdyRQ0fWH6IwKS/Du+IgkBu6HyESTpj6PUEDifxfkYuyU09l/9V Mfc1jJfLkw4/WTl74b6P/a71RFz9orYSdYXrqakI= Received: from localhost (puchar-wojtek@localhost) by puchar.net (8.15.2/8.15.2/Submit) with ESMTP id 00E7CQpc055954; Tue, 14 Jan 2020 08:12:26 +0100 (CET) (envelope-from puchar-wojtek@puchar.net) Date: Tue, 14 Jan 2020 08:12:26 +0100 (CET) From: Wojciech Puchar To: Hans Petter Selasky cc: Wojciech Puchar , freebsd-hackers@freebsd.org Subject: Re: raspberry pi zero and SLOW USB HID In-Reply-To: <9a1a3901-ce03-d445-dd9e-bbd775f5288a@selasky.org> Message-ID: References: <9f8ae63f-abe5-27d9-e6bf-3d0cc1d3d4f3@selasky.org> <9a1a3901-ce03-d445-dd9e-bbd775f5288a@selasky.org> User-Agent: Alpine 2.20 (BSF 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-Rspamd-Queue-Id: 47xhVS73WFz3F1Z X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=fail (rsa verify failed) header.d=puchar.net header.s=default header.b=KgPUaAj0; dmarc=none; spf=pass (mx1.freebsd.org: domain of wojtek@puchar.net designates 194.1.144.90 as permitted sender) smtp.mailfrom=wojtek@puchar.net X-Spamd-Result: default: False [-4.08 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.997,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+mx]; R_DKIM_REJECT(1.00)[puchar.net:s=default]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[puchar.net]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[puchar.net:-]; RCVD_IN_DNSWL_NONE(0.00)[90.144.1.194.list.dnswl.org : 127.0.10.0]; IP_SCORE(-2.78)[ip: (-7.35), ipnet: 194.1.144.0/24(-3.67), asn: 43476(-2.94), country: PL(0.07)]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:43476, ipnet:194.1.144.0/24, country:PL]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_COUNT_TWO(0.00)[2] 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, 14 Jan 2020 07:12:34 -0000 >> device is the same hardware with the same firmware. What causes larger >> delays? > > What you see is likely a manifestion of: > > #define DWC_OTG_HOST_TIMER_RATE 10 /* ms */ > changed to 1. nothing improved. any other things to try? > Which is because we want save a little power polling the DWC OTG. > > To avoid this: > > USB transfers must be double buffered! That means you must submit two > IN-endpoint jobs, instead of just one. Then the driver will understand there > is more work to do, and not go to idlewait! > > --HPS > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" > > From owner-freebsd-hackers@freebsd.org Tue Jan 14 08:36:08 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 E2B2F221ACC for ; Tue, 14 Jan 2020 08:36:08 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (turbocat.net [88.99.82.50]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 47xkLv6qyPz3KYc for ; Tue, 14 Jan 2020 08:36:07 +0000 (UTC) (envelope-from hps@selasky.org) Received: from hps2020.home.selasky.org (unknown [62.141.129.235]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id E23DA2600D5; Tue, 14 Jan 2020 09:36:03 +0100 (CET) Subject: Re: raspberry pi zero and SLOW USB HID To: Wojciech Puchar Cc: freebsd-hackers@freebsd.org References: <9f8ae63f-abe5-27d9-e6bf-3d0cc1d3d4f3@selasky.org> <9a1a3901-ce03-d445-dd9e-bbd775f5288a@selasky.org> From: Hans Petter Selasky Message-ID: <0c73ef67-97b4-3d48-7a2c-7006cc3209e9@selasky.org> Date: Tue, 14 Jan 2020 09:36:01 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.3.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 47xkLv6qyPz3KYc X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of hps@selasky.org designates 88.99.82.50 as permitted sender) smtp.mailfrom=hps@selasky.org X-Spamd-Result: default: False [-5.41 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+a:mail.turbocat.net:c]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[selasky.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; IP_SCORE(-3.11)[ip: (-9.34), ipnet: 88.99.0.0/16(-4.70), asn: 24940(-1.50), country: DE(-0.02)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:24940, ipnet:88.99.0.0/16, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] 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, 14 Jan 2020 08:36:09 -0000 On 2020-01-13 20:48, Wojciech Puchar wrote: >> #define DWC_OTG_HOST_TIMER_RATE 10 /* ms */ > > can i change this to 1? Yes. --HPS From owner-freebsd-hackers@freebsd.org Tue Jan 14 08:37:21 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 759ED221C00 for ; Tue, 14 Jan 2020 08:37:21 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (turbocat.net [IPv6:2a01:4f8:c17:6c4b::2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 47xkNJ5XCjz3Khs for ; Tue, 14 Jan 2020 08:37:20 +0000 (UTC) (envelope-from hps@selasky.org) Received: from hps2020.home.selasky.org (unknown [62.141.129.235]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id 603A42600D5; Tue, 14 Jan 2020 09:37:18 +0100 (CET) Subject: Re: raspberry pi zero and SLOW USB HID To: Wojciech Puchar Cc: freebsd-hackers@freebsd.org References: <9f8ae63f-abe5-27d9-e6bf-3d0cc1d3d4f3@selasky.org> <9a1a3901-ce03-d445-dd9e-bbd775f5288a@selasky.org> From: Hans Petter Selasky Message-ID: <83126787-192b-5f1b-305c-f48818706b0c@selasky.org> Date: Tue, 14 Jan 2020 09:37:16 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.3.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 47xkNJ5XCjz3Khs X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of hps@selasky.org designates 2a01:4f8:c17:6c4b::2 as permitted sender) smtp.mailfrom=hps@selasky.org X-Spamd-Result: default: False [-4.94 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+a:mail.turbocat.net:c]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[selasky.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; IP_SCORE(-2.64)[ip: (-9.20), ipnet: 2a01:4f8::/29(-2.46), asn: 24940(-1.50), country: DE(-0.02)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:24940, ipnet:2a01:4f8::/29, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] 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, 14 Jan 2020 08:37:21 -0000 On 2020-01-14 08:12, Wojciech Puchar wrote: > changed to 1. nothing improved. > > any other things to try? Did you build a new kernel? Else you need to double buffer the USB transfers in the driver. --HPS From owner-freebsd-hackers@freebsd.org Tue Jan 14 09:32:23 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 C2BEB222EE0 for ; Tue, 14 Jan 2020 09:32:23 +0000 (UTC) (envelope-from wojtek@puchar.net) Received: from puchar.net (puchar.net [194.1.144.90]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 47xlbp4nMcz3N2J for ; Tue, 14 Jan 2020 09:32:22 +0000 (UTC) (envelope-from wojtek@puchar.net) Received: Received: from 127.0.0.1 (localhost [127.0.0.1]) by puchar.net (8.15.2/8.15.2) with ESMTPS id 00E9WG8o075024 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 14 Jan 2020 10:32:16 +0100 (CET) (envelope-from puchar-wojtek@puchar.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=puchar.net; s=default; t=1578994336; bh=AwUSySZhC7/0wUcvyn8cg+yqaQuxKsgNhu6ArhQD+FE=; h=Date:From:To:cc:Subject:In-Reply-To:References; b=fp4p2qtlWpk8i+qLZdSfR0s0RQ54fqZB4y38DB04h8yBIR35+ypf3LH6T3bi47Anh ozCti1O/uAiEZtQovSsDtUSo6uxqHR1a9rp0UuPMFkSxY88V6QCxJXEDdZjoJviPKV bOAWDmBIlcDJr6O277uvyogmJinTUuHTDbJJZsys= Received: from localhost (puchar-wojtek@localhost) by puchar.net (8.15.2/8.15.2/Submit) with ESMTP id 00E9WGYV075021; Tue, 14 Jan 2020 10:32:16 +0100 (CET) (envelope-from puchar-wojtek@puchar.net) Date: Tue, 14 Jan 2020 10:32:15 +0100 (CET) From: Wojciech Puchar To: Kyle Evans cc: Wojciech Puchar , Warner Losh , FreeBSD Hackers Subject: Re: raspberry pi zero and SLOW USB HID In-Reply-To: Message-ID: References: User-Agent: Alpine 2.20 (BSF 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-Rspamd-Queue-Id: 47xlbp4nMcz3N2J X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=fail (rsa verify failed) header.d=puchar.net header.s=default header.b=fp4p2qtl; dmarc=none; spf=pass (mx1.freebsd.org: domain of wojtek@puchar.net designates 194.1.144.90 as permitted sender) smtp.mailfrom=wojtek@puchar.net X-Spamd-Result: default: False [-4.07 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.998,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; R_SPF_ALLOW(-0.20)[+mx:c]; R_DKIM_REJECT(1.00)[puchar.net:s=default]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[puchar.net]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[puchar.net:-]; RCVD_IN_DNSWL_NONE(0.00)[90.144.1.194.list.dnswl.org : 127.0.10.0]; IP_SCORE(-2.77)[ip: (-7.32), ipnet: 194.1.144.0/24(-3.66), asn: 43476(-2.93), country: PL(0.07)]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:43476, ipnet:194.1.144.0/24, country:PL]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_COUNT_TWO(0.00)[2] 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, 14 Jan 2020 09:32:23 -0000 >>> updated yet. >> >> you mean what firmware? how can i do it? > > I don't think the firmware slowness he's referring to would have > caused this, but clone this: > https://github.com/gonzoua/rpi3-psci-monitor > > make > cp armstub8.bin in place of the one on your FAT partition > i don't have armstub8.bin on msdosfs partition. do i have to put it in place of bootcode.bin? total 13248 -rwxr-xr-x 1 wojtek wojtek 24201 22 lis 18:06 bcm2708-rpi-b-plus.dtb -rwxr-xr-x 1 wojtek wojtek 23938 22 lis 18:06 bcm2708-rpi-b.dtb -rwxr-xr-x 1 wojtek wojtek 23719 22 lis 18:06 bcm2708-rpi-cm.dtb -rwxr-xr-x 1 wojtek wojtek 24379 22 lis 18:06 bcm2708-rpi-zero-w.dtb -rwxr-xr-x 1 wojtek wojtek 14204 11 sty 19:56 bcm2835-rpi-b-plus.dtb -rwxr-xr-x 1 wojtek wojtek 14204 11 sty 19:56 bcm2835-rpi-b-rev2.dtb -rwxr-xr-x 1 wojtek wojtek 14204 11 sty 19:56 bcm2835-rpi-b.dtb -rwxr-xr-x 1 wojtek wojtek 14204 11 sty 19:56 bcm2835-rpi-zero.dtb -rwxr-xr-x 1 wojtek wojtek 14430 11 sty 19:56 bcm2836-rpi-2-b.dtb -rwxr-xr-x 1 wojtek wojtek 52304 22 lis 18:06 bootcode.bin -rwxr-xr-x 1 wojtek wojtek 100 13 sty 12:23 config.txt drwxr-xr-x 1 wojtek wojtek 16384 9 sty 05:38 dtb drwxr-xr-x 1 wojtek wojtek 16384 9 sty 05:38 EFI -rwxr-xr-x 1 wojtek wojtek 2655 22 lis 18:06 fixup_cd.dat -rwxr-xr-x 1 wojtek wojtek 9816 22 lis 18:06 fixup_db.dat -rwxr-xr-x 1 wojtek wojtek 9816 22 lis 18:06 fixup_x.dat -rwxr-xr-x 1 wojtek wojtek 6744 22 lis 18:06 fixup.dat drwxr-xr-x 1 wojtek wojtek 16384 9 sty 05:38 overlays drwxr-xr-x 1 wojtek wojtek 16384 10 sty 14:44 rejestrator -rwxr-xr-x 1 wojtek wojtek 14204 11 sty 19:56 rpi.dtb -rwxr-xr-x 1 wojtek wojtek 14430 11 sty 19:56 rpi2.dtb -rwxr-xr-x 1 wojtek wojtek 688068 22 lis 18:06 start_cd.elf -rwxr-xr-x 1 wojtek wojtek 4857160 22 lis 18:06 start_db.elf -rwxr-xr-x 1 wojtek wojtek 3794600 22 lis 18:06 start_x.elf -rwxr-xr-x 1 wojtek wojtek 2880356 22 lis 18:06 start.elf -rwxr-xr-x 1 wojtek wojtek 465868 9 sty 03:24 u-boot.bin -rwxr-xr-x 1 wojtek wojtek 387096 9 sty 05:28 ubldr.bin From owner-freebsd-hackers@freebsd.org Tue Jan 14 09:32:57 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 21BD2222FBC for ; Tue, 14 Jan 2020 09:32:57 +0000 (UTC) (envelope-from wojtek@puchar.net) Received: from puchar.net (puchar.net [194.1.144.90]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 47xlcS4dwTz3NHM for ; Tue, 14 Jan 2020 09:32:56 +0000 (UTC) (envelope-from wojtek@puchar.net) Received: Received: from 127.0.0.1 (localhost [127.0.0.1]) by puchar.net (8.15.2/8.15.2) with ESMTPS id 00E9Wp5m075321 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 14 Jan 2020 10:32:52 +0100 (CET) (envelope-from puchar-wojtek@puchar.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=puchar.net; s=default; t=1578994372; bh=lQQlpZwViD6wYWDbok8FiBTmVchicFeyUWqMPnLx374=; h=Date:From:To:cc:Subject:In-Reply-To:References; b=jeOJmzUeiZBRCWit7gTz12yizPOQTR8Pvfy982FH2a6V9Hk10sTBQ28I5TUUEJcMD x98QpDSlje4AKan7ybxnBDkAHGvRvboNy+8E1cxFMY5htIOylhcFN19bXGG1G74Rks wU5Ai/0DtOHBIZMlfOOd2ppaYQ5EAada/NRWCOpk= Received: from localhost (puchar-wojtek@localhost) by puchar.net (8.15.2/8.15.2/Submit) with ESMTP id 00E9Wp04075318; Tue, 14 Jan 2020 10:32:51 +0100 (CET) (envelope-from puchar-wojtek@puchar.net) Date: Tue, 14 Jan 2020 10:32:51 +0100 (CET) From: Wojciech Puchar To: Kyle Evans cc: Wojciech Puchar , Warner Losh , FreeBSD Hackers Subject: Re: raspberry pi zero and SLOW USB HID In-Reply-To: Message-ID: References: User-Agent: Alpine 2.20 (BSF 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-Rspamd-Queue-Id: 47xlcS4dwTz3NHM X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=fail (rsa verify failed) header.d=puchar.net header.s=default header.b=jeOJmzUe; dmarc=none; spf=pass (mx1.freebsd.org: domain of wojtek@puchar.net designates 194.1.144.90 as permitted sender) smtp.mailfrom=wojtek@puchar.net X-Spamd-Result: default: False [-4.05 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.998,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; R_SPF_ALLOW(-0.20)[+mx:c]; R_DKIM_REJECT(1.00)[puchar.net:s=default]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[puchar.net]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[puchar.net:-]; RCVD_IN_DNSWL_NONE(0.00)[90.144.1.194.list.dnswl.org : 127.0.10.0]; IP_SCORE(-2.76)[ip: (-7.29), ipnet: 194.1.144.0/24(-3.64), asn: 43476(-2.92), country: PL(0.07)]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:43476, ipnet:194.1.144.0/24, country:PL]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_COUNT_TWO(0.00)[2] 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, 14 Jan 2020 09:32:57 -0000 > https://github.com/gonzoua/rpi3-psci-monitor > > make > cp armstub8.bin in place of the one on your FAT partition > > I'll update the port after I recover zfs on my currently-local commit box... well i've heard ZFS never breaks and never needs recovery ;) That's why i will never use it. From owner-freebsd-hackers@freebsd.org Tue Jan 14 09:36:13 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 D3D3D2231A5 for ; Tue, 14 Jan 2020 09:36:13 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mail.blih.net (mail.blih.net [212.83.177.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.blih.net", Issuer "mail.blih.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 47xlhD3j77z3NXZ for ; Tue, 14 Jan 2020 09:36:12 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mail.blih.net (mail.blih.net [212.83.177.182]) by mail.blih.net (OpenSMTPD) with ESMTP id 043f8108; Tue, 14 Jan 2020 10:36:04 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=bidouilliste.com; h=date :from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; s=mail; bh=aVwznRCU8hbbaknUpRFRSblA5ag=; b=miXfIbbCZFBZg1BF3lLeJwDIsVSv VRDy/XoO/JcFeabf/kxC5RjQrmR+Mo49U1F6HWJlsNHwRvW6f3EqtsajP9hfHbor AV2D5Ur3zi0K2TLPhd3HK7NCPkFUZVMJnYrIP0DMVDJj+kVmWJHE5sSUyrNbtR9T doJFGFhJ9Mhp328= DomainKey-Signature: a=rsa-sha1; c=nofws; d=bidouilliste.com; h=date :from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; q=dns; s= mail; b=DWOg/GpEv+0M5M2zretkhNrf/BDnG0Wi0ly40NfA6u6308s01BytLLTQ fNvIal7GN3288fp/+cn1kmqQJuzC54pQQ9l4NparcKU63ZWBj8OMELlSW0Zg/bXP HWKdA/QSB8Gy4RYX5fd+QaPBUxujBweKXDV4uhYRfCErBQvz0k0= Received: from sonic.home.blih.net (ip-9.net-89-3-105.rev.numericable.fr [89.3.105.9]) by mail.blih.net (OpenSMTPD) with ESMTPSA id 1ce15cc1 TLS version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO; Tue, 14 Jan 2020 10:36:04 +0100 (CET) Date: Tue, 14 Jan 2020 10:36:05 +0100 From: Emmanuel Vadot To: Wojciech Puchar Cc: Kyle Evans , FreeBSD Hackers Subject: Re: raspberry pi zero and SLOW USB HID Message-Id: <20200114103605.88f505b4a442883168e5160a@bidouilliste.com> In-Reply-To: References: X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; amd64-portbld-freebsd13.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 47xlhD3j77z3NXZ X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bidouilliste.com header.s=mail header.b=miXfIbbC; dmarc=none; spf=pass (mx1.freebsd.org: domain of manu@bidouilliste.com designates 212.83.177.182 as permitted sender) smtp.mailfrom=manu@bidouilliste.com X-Spamd-Result: default: False [-1.33 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[bidouilliste.com:s=mail]; NEURAL_HAM_MEDIUM(-0.92)[-0.923,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+ip4:212.83.177.182/32]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[bidouilliste.com]; NEURAL_HAM_LONG(-0.90)[-0.902,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[bidouilliste.com:+]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; IP_SCORE(0.39)[ip: (-0.62), ipnet: 212.83.160.0/19(2.36), asn: 12876(0.22), country: FR(0.00)]; ASN(0.00)[asn:12876, ipnet:212.83.160.0/19, country:FR]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_COUNT_TWO(0.00)[2] 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, 14 Jan 2020 09:36:13 -0000 On Tue, 14 Jan 2020 10:32:15 +0100 (CET) Wojciech Puchar wrote: > >>> updated yet. > >> > >> you mean what firmware? how can i do it? > > > > I don't think the firmware slowness he's referring to would have > > caused this, but clone this: > > https://github.com/gonzoua/rpi3-psci-monitor > > > > make > > cp armstub8.bin in place of the one on your FAT partition > > > i don't have armstub8.bin on msdosfs partition. do i have to put it in > place of bootcode.bin? RPI-Zero is armv6 you don't need this file, this is only for aarch64 RPIs. > > total 13248 > -rwxr-xr-x 1 wojtek wojtek 24201 22 lis 18:06 bcm2708-rpi-b-plus.dtb > -rwxr-xr-x 1 wojtek wojtek 23938 22 lis 18:06 bcm2708-rpi-b.dtb > -rwxr-xr-x 1 wojtek wojtek 23719 22 lis 18:06 bcm2708-rpi-cm.dtb > -rwxr-xr-x 1 wojtek wojtek 24379 22 lis 18:06 bcm2708-rpi-zero-w.dtb > -rwxr-xr-x 1 wojtek wojtek 14204 11 sty 19:56 bcm2835-rpi-b-plus.dtb > -rwxr-xr-x 1 wojtek wojtek 14204 11 sty 19:56 bcm2835-rpi-b-rev2.dtb > -rwxr-xr-x 1 wojtek wojtek 14204 11 sty 19:56 bcm2835-rpi-b.dtb > -rwxr-xr-x 1 wojtek wojtek 14204 11 sty 19:56 bcm2835-rpi-zero.dtb > -rwxr-xr-x 1 wojtek wojtek 14430 11 sty 19:56 bcm2836-rpi-2-b.dtb > -rwxr-xr-x 1 wojtek wojtek 52304 22 lis 18:06 bootcode.bin > -rwxr-xr-x 1 wojtek wojtek 100 13 sty 12:23 config.txt > drwxr-xr-x 1 wojtek wojtek 16384 9 sty 05:38 dtb > drwxr-xr-x 1 wojtek wojtek 16384 9 sty 05:38 EFI > -rwxr-xr-x 1 wojtek wojtek 2655 22 lis 18:06 fixup_cd.dat > -rwxr-xr-x 1 wojtek wojtek 9816 22 lis 18:06 fixup_db.dat > -rwxr-xr-x 1 wojtek wojtek 9816 22 lis 18:06 fixup_x.dat > -rwxr-xr-x 1 wojtek wojtek 6744 22 lis 18:06 fixup.dat > drwxr-xr-x 1 wojtek wojtek 16384 9 sty 05:38 overlays > drwxr-xr-x 1 wojtek wojtek 16384 10 sty 14:44 rejestrator > -rwxr-xr-x 1 wojtek wojtek 14204 11 sty 19:56 rpi.dtb > -rwxr-xr-x 1 wojtek wojtek 14430 11 sty 19:56 rpi2.dtb > -rwxr-xr-x 1 wojtek wojtek 688068 22 lis 18:06 start_cd.elf > -rwxr-xr-x 1 wojtek wojtek 4857160 22 lis 18:06 start_db.elf > -rwxr-xr-x 1 wojtek wojtek 3794600 22 lis 18:06 start_x.elf > -rwxr-xr-x 1 wojtek wojtek 2880356 22 lis 18:06 start.elf > -rwxr-xr-x 1 wojtek wojtek 465868 9 sty 03:24 u-boot.bin > -rwxr-xr-x 1 wojtek wojtek 387096 9 sty 05:28 ubldr.bin > > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" -- Emmanuel Vadot From owner-freebsd-hackers@freebsd.org Tue Jan 14 13:32:35 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 9B85C1EAEA6 for ; Tue, 14 Jan 2020 13:32:35 +0000 (UTC) (envelope-from wojtek@puchar.net) Received: from puchar.net (puchar.net [194.1.144.90]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 47xrwy1p4pz48TW for ; Tue, 14 Jan 2020 13:32:33 +0000 (UTC) (envelope-from wojtek@puchar.net) Received: Received: from 127.0.0.1 (localhost [127.0.0.1]) by puchar.net (8.15.2/8.15.2) with ESMTPS id 00EDWRDd066542 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 14 Jan 2020 14:32:28 +0100 (CET) (envelope-from puchar-wojtek@puchar.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=puchar.net; s=default; t=1579008748; bh=vxImaSN2H2d2qcK+BgmCt2I7wNKB3SHDlltqKiHy7M0=; h=Date:From:To:cc:Subject:In-Reply-To:References; b=ToDr6AAwEqRq0RbY/d3wppz73eLKabMQXVrv9wWejCw1lUnYeTdSJ5o+WiSQFlTHt G4EV2euPZ4JSwQLh6N+ZCFOaJLQmPpr1mTExhEbzOwva/ahEvlcJnVuWrSNEMLTReI Aonw9tBTYtCucCjvV6sz3vp0aoQzhagwtOGFvNBQ= Received: from localhost (puchar-wojtek@localhost) by puchar.net (8.15.2/8.15.2/Submit) with ESMTP id 00EDWRwj066539; Tue, 14 Jan 2020 14:32:27 +0100 (CET) (envelope-from puchar-wojtek@puchar.net) Date: Tue, 14 Jan 2020 14:32:27 +0100 (CET) From: Wojciech Puchar To: Hans Petter Selasky cc: Wojciech Puchar , freebsd-hackers@freebsd.org Subject: Re: raspberry pi zero and SLOW USB HID In-Reply-To: <83126787-192b-5f1b-305c-f48818706b0c@selasky.org> Message-ID: References: <9f8ae63f-abe5-27d9-e6bf-3d0cc1d3d4f3@selasky.org> <9a1a3901-ce03-d445-dd9e-bbd775f5288a@selasky.org> <83126787-192b-5f1b-305c-f48818706b0c@selasky.org> User-Agent: Alpine 2.20 (BSF 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-Rspamd-Queue-Id: 47xrwy1p4pz48TW X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=fail (rsa verify failed) header.d=puchar.net header.s=default header.b=ToDr6AAw; dmarc=none; spf=pass (mx1.freebsd.org: domain of wojtek@puchar.net designates 194.1.144.90 as permitted sender) smtp.mailfrom=wojtek@puchar.net X-Spamd-Result: default: False [-4.04 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+mx]; R_DKIM_REJECT(1.00)[puchar.net:s=default]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[puchar.net]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[puchar.net:-]; RCVD_IN_DNSWL_NONE(0.00)[90.144.1.194.list.dnswl.org : 127.0.10.0]; IP_SCORE(-2.75)[ip: (-7.26), ipnet: 194.1.144.0/24(-3.63), asn: 43476(-2.90), country: PL(0.07)]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:43476, ipnet:194.1.144.0/24, country:PL]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_COUNT_TWO(0.00)[2] 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, 14 Jan 2020 13:32:35 -0000 > On 2020-01-14 08:12, Wojciech Puchar wrote: >> changed to 1. nothing improved. >> >> any other things to try? > > Did you build a new kernel? Yes. Then i've tried linux (truly horrific experience) on raspberry pi. Exactly the same delays on USB. From owner-freebsd-hackers@freebsd.org Tue Jan 14 13:54:20 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 D25451EB9F0 for ; Tue, 14 Jan 2020 13:54:20 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (turbocat.net [88.99.82.50]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 47xsQ40wmnz49mB for ; Tue, 14 Jan 2020 13:54:19 +0000 (UTC) (envelope-from hps@selasky.org) Received: from hps2020.home.selasky.org (unknown [62.141.129.235]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id 5A6E92602E1; Tue, 14 Jan 2020 14:54:18 +0100 (CET) Subject: Re: raspberry pi zero and SLOW USB HID To: Wojciech Puchar Cc: freebsd-hackers@freebsd.org References: <9f8ae63f-abe5-27d9-e6bf-3d0cc1d3d4f3@selasky.org> <9a1a3901-ce03-d445-dd9e-bbd775f5288a@selasky.org> <83126787-192b-5f1b-305c-f48818706b0c@selasky.org> From: Hans Petter Selasky Message-ID: <15d1ed37-a5d4-ed28-beeb-a4b248b5e802@selasky.org> Date: Tue, 14 Jan 2020 14:53:17 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.3.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 47xsQ40wmnz49mB X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of hps@selasky.org designates 88.99.82.50 as permitted sender) smtp.mailfrom=hps@selasky.org X-Spamd-Result: default: False [-5.41 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+a:mail.turbocat.net:c]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[selasky.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; IP_SCORE(-3.11)[ip: (-9.34), ipnet: 88.99.0.0/16(-4.71), asn: 24940(-1.51), country: DE(-0.02)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:24940, ipnet:88.99.0.0/16, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] 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, 14 Jan 2020 13:54:20 -0000 Hi, On 2020-01-14 14:32, Wojciech Puchar wrote: > Yes. > > Then i've tried linux (truly horrific experience) on raspberry pi. > Exactly the same delays on USB. It might be something in the DWC OTG chipset then :-( Let's put it like this. Be very happy that the DWC OTG works reliably AS-IS :-) I spent a lot of time hacking the driver to the state it is in today and reliability and device diversity has consequently been chosen over performance. If your device supports retrieving the data via a HID interface class control request, that might be faster! Else use a transfer of 64-bytes instead of 8-bytes. --HPS From owner-freebsd-hackers@freebsd.org Wed Jan 15 00:31:14 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 3AD5E1F9C53 for ; Wed, 15 Jan 2020 00:31:14 +0000 (UTC) (envelope-from wayne@post.wayne47.com) Received: from post.wayne47.com (post.wayne47.com [198.11.56.11]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "post.wayne47.com", Issuer "post.wayne47.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 47y7Xw6ld8z3KS0 for ; Wed, 15 Jan 2020 00:31:12 +0000 (UTC) (envelope-from wayne@post.wayne47.com) Received: from post.wayne47.com (post.wayne47.com [198.11.56.11]) by post.wayne47.com (8.15.2/8.15.2) with ESMTPS id 00F0V57x060180 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Tue, 14 Jan 2020 19:31:05 -0500 (EST) (envelope-from wayne@post.wayne47.com) Received: (from wayne@localhost) by post.wayne47.com (8.15.2/8.15.2/Submit) id 00F0V5hV060179 for freebsd-hackers@freebsd.org; Tue, 14 Jan 2020 19:31:05 -0500 (EST) (envelope-from wayne) Date: Tue, 14 Jan 2020 19:31:05 -0500 From: Michael Wayne To: FreeBSD Hackers Subject: ipfw logging issue Message-ID: <20200115003105.GD60396@post.wayne47.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) X-Rspamd-Queue-Id: 47y7Xw6ld8z3KS0 X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of wayne@post.wayne47.com designates 198.11.56.11 as permitted sender) smtp.mailfrom=wayne@post.wayne47.com X-Spamd-Result: default: False [-0.43 / 15.00]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:198.11.56.11]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org]; DMARC_NA(0.00)[wayne47.com]; NEURAL_SPAM_MEDIUM(0.43)[0.426,0]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-0.95)[-0.948,0]; IP_SCORE(-0.01)[country: US(-0.05)]; TO_DN_ALL(0.00)[]; RCVD_COUNT_ONE(0.00)[1]; FORGED_SENDER(0.30)[freebsd07@wayne47.com,wayne@post.wayne47.com]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:2015, ipnet:198.11.56.0/24, country:US]; FROM_NEQ_ENVFROM(0.00)[freebsd07@wayne47.com,wayne@post.wayne47.com]; RCVD_TLS_ALL(0.00)[]; ONCE_RECEIVED(0.10)[] 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: Wed, 15 Jan 2020 00:31:14 -0000 Posted on the forums, did not get a response so trying here. Running 12.1-RELEASE-p1 I put the following into syslog.conf, which worked on prior releases: # Log ipfw messages without syncing after every message. !ipfw *.* -/var/log/ipfw.log While I continue to see ipfw messages logged to /var/log/security, they are not being written to /var/log/ipfw.log. Removing the "-" has no effect. What changed? Is it just broken? From owner-freebsd-hackers@freebsd.org Wed Jan 15 09:10:22 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 67871226026 for ; Wed, 15 Jan 2020 09:10:22 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from hz.grosbein.net (hz.grosbein.net [IPv6:2a01:4f8:c2c:26d8::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "hz.grosbein.net", Issuer "hz.grosbein.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 47yM3x34WKz4GyR for ; Wed, 15 Jan 2020 09:10:20 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from eg.sd.rdtc.ru (eg.sd.rdtc.ru [IPv6:2a03:3100:c:13:0:0:0:5]) by hz.grosbein.net (8.15.2/8.15.2) with ESMTPS id 00F9A11Y006634 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 15 Jan 2020 09:10:05 GMT (envelope-from eugen@grosbein.net) X-Envelope-From: eugen@grosbein.net X-Envelope-To: freebsd07@wayne47.com Received: from [10.58.0.4] ([10.58.0.4]) by eg.sd.rdtc.ru (8.15.2/8.15.2) with ESMTPS id 00F99nK2015850 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Wed, 15 Jan 2020 16:09:49 +0700 (+07) (envelope-from eugen@grosbein.net) Subject: Re: ipfw logging issue To: Michael Wayne , FreeBSD Hackers References: <20200115003105.GD60396@post.wayne47.com> From: Eugene Grosbein Message-ID: <8f1f4696-4c6f-71d7-713b-f7d3cb992976@grosbein.net> Date: Wed, 15 Jan 2020 16:09:43 +0700 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <20200115003105.GD60396@post.wayne47.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=0.3 required=5.0 tests=BAYES_00,LOCAL_FROM, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.2 X-Spam-Report: * -2.3 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * -0.0 SPF_PASS SPF: sender matches SPF record * 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record * 2.6 LOCAL_FROM From my domains X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on hz.grosbein.net X-Rspamd-Queue-Id: 47yM3x34WKz4GyR X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=permerror (mx1.freebsd.org: domain of eugen@grosbein.net uses mechanism not recognized by this client) smtp.mailfrom=eugen@grosbein.net X-Spamd-Result: default: False [-3.86 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.998,0]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[grosbein.net]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; R_SPF_PERMFAIL(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; IP_SCORE(-1.76)[ip: (-4.80), ipnet: 2a01:4f8::/29(-2.47), asn: 24940(-1.51), country: DE(-0.02)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:24940, ipnet:2a01:4f8::/29, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[] 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: Wed, 15 Jan 2020 09:10:22 -0000 15.01.2020 7:31, Michael Wayne wrote: > Posted on the forums, did not get a response so trying here. > > Running 12.1-RELEASE-p1 > > I put the following into syslog.conf, which worked on prior releases: > > # Log ipfw messages without syncing after every message. > !ipfw > *.* -/var/log/ipfw.log > > > While I continue to see ipfw messages logged to /var/log/security, > they are not being written to /var/log/ipfw.log. Removing the "-" > has no effect. What changed? > > Is it just broken? They always were "security.info" messages. You need not complicating things, just do: security.info -/var/log/ipfw.log From owner-freebsd-hackers@freebsd.org Wed Jan 15 13:47:08 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 4BF7E1F40CF for ; Wed, 15 Jan 2020 13:47:08 +0000 (UTC) (envelope-from wojtek@puchar.net) Received: from puchar.net (puchar.net [194.1.144.90]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 47yTCH0MVXz4WHS for ; Wed, 15 Jan 2020 13:47:06 +0000 (UTC) (envelope-from wojtek@puchar.net) Received: Received: from 127.0.0.1 (localhost [127.0.0.1]) by puchar.net (8.15.2/8.15.2) with ESMTPS id 00FDl1Ge030576 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 15 Jan 2020 14:47:01 +0100 (CET) (envelope-from puchar-wojtek@puchar.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=puchar.net; s=default; t=1579096021; bh=CrjoLfKVgCy0SN6eurpk7JeJSRc83qBWcqd9z7VQlpE=; h=Date:From:To:cc:Subject:In-Reply-To:References; b=sscXBhA5AXa7rg5Cj3nmkATu7Zc4IVADzw/psez2hIqbI2VNtQT/5Tjo/c9U323RO 3Hv9qi6SAp8OHQGSCuHwCjXqbOiZELfFefdoV/l4lx13dg8FFl9pvQYRgzKaOKVf0t ud5e10tAzjcVaAiUvyMkrH/DfxKVZq9HyZKWLf1I= Received: from localhost (puchar-wojtek@localhost) by puchar.net (8.15.2/8.15.2/Submit) with ESMTP id 00FDl0jf030571; Wed, 15 Jan 2020 14:47:01 +0100 (CET) (envelope-from puchar-wojtek@puchar.net) Date: Wed, 15 Jan 2020 14:47:00 +0100 (CET) From: Wojciech Puchar To: Hans Petter Selasky cc: Wojciech Puchar , freebsd-hackers@freebsd.org Subject: Re: raspberry pi zero and SLOW USB HID In-Reply-To: <15d1ed37-a5d4-ed28-beeb-a4b248b5e802@selasky.org> Message-ID: References: <9f8ae63f-abe5-27d9-e6bf-3d0cc1d3d4f3@selasky.org> <9a1a3901-ce03-d445-dd9e-bbd775f5288a@selasky.org> <83126787-192b-5f1b-305c-f48818706b0c@selasky.org> <15d1ed37-a5d4-ed28-beeb-a4b248b5e802@selasky.org> User-Agent: Alpine 2.20 (BSF 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-Rspamd-Queue-Id: 47yTCH0MVXz4WHS X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=fail (rsa verify failed) header.d=puchar.net header.s=default header.b=sscXBhA5; dmarc=none; spf=pass (mx1.freebsd.org: domain of wojtek@puchar.net designates 194.1.144.90 as permitted sender) smtp.mailfrom=wojtek@puchar.net X-Spamd-Result: default: False [-4.01 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.98)[-0.979,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+mx]; R_DKIM_REJECT(1.00)[puchar.net:s=default]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[puchar.net]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[puchar.net:-]; RCVD_IN_DNSWL_NONE(0.00)[90.144.1.194.list.dnswl.org : 127.0.10.0]; IP_SCORE(-2.73)[ip: (-7.23), ipnet: 194.1.144.0/24(-3.62), asn: 43476(-2.89), country: PL(0.07)]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:43476, ipnet:194.1.144.0/24, country:PL]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_COUNT_TWO(0.00)[2] 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: Wed, 15 Jan 2020 13:47:08 -0000 >> Then i've tried linux (truly horrific experience) on raspberry pi. >> Exactly the same delays on USB. > > It might be something in the DWC OTG chipset then :-( yes. seems so. i already made a change in device side to use 64 byte blocks and it is fine. thank you very much for all help. From owner-freebsd-hackers@freebsd.org Wed Jan 15 21:01:42 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 E08721FD400 for ; Wed, 15 Jan 2020 21:01:42 +0000 (UTC) (envelope-from wayne@post.wayne47.com) Received: from post.wayne47.com (post.wayne47.com [198.11.56.11]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "post.wayne47.com", Issuer "post.wayne47.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 47yfrj4VKKz410P for ; Wed, 15 Jan 2020 21:01:41 +0000 (UTC) (envelope-from wayne@post.wayne47.com) Received: from post.wayne47.com (post.wayne47.com [198.11.56.11]) by post.wayne47.com (8.15.2/8.15.2) with ESMTPS id 00FL1e34056497 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Wed, 15 Jan 2020 16:01:40 -0500 (EST) (envelope-from wayne@post.wayne47.com) Received: (from wayne@localhost) by post.wayne47.com (8.15.2/8.15.2/Submit) id 00FL1eQ1056366 for freebsd-hackers@freebsd.org; Wed, 15 Jan 2020 16:01:40 -0500 (EST) (envelope-from wayne) Date: Wed, 15 Jan 2020 16:01:39 -0500 From: Michael Wayne To: FreeBSD Hackers Subject: Re: ipfw logging issue Message-ID: <20200115210139.GA55011@post.wayne47.com> Mail-Followup-To: FreeBSD Hackers References: <20200115003105.GD60396@post.wayne47.com> <8f1f4696-4c6f-71d7-713b-f7d3cb992976@grosbein.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8f1f4696-4c6f-71d7-713b-f7d3cb992976@grosbein.net> User-Agent: Mutt/1.10.1 (2018-07-13) X-Rspamd-Queue-Id: 47yfrj4VKKz410P X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of wayne@post.wayne47.com designates 198.11.56.11 as permitted sender) smtp.mailfrom=wayne@post.wayne47.com X-Spamd-Result: default: False [-0.51 / 15.00]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:198.11.56.11]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org]; DMARC_NA(0.00)[wayne47.com]; NEURAL_SPAM_MEDIUM(0.34)[0.341,0]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-0.94)[-0.938,0]; IP_SCORE(-0.01)[country: US(-0.05)]; TO_DN_ALL(0.00)[]; RCVD_COUNT_ONE(0.00)[1]; FORGED_SENDER(0.30)[freebsd07@wayne47.com,wayne@post.wayne47.com]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:2015, ipnet:198.11.56.0/24, country:US]; FROM_NEQ_ENVFROM(0.00)[freebsd07@wayne47.com,wayne@post.wayne47.com]; RCVD_TLS_ALL(0.00)[]; ONCE_RECEIVED(0.10)[] 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: Wed, 15 Jan 2020 21:01:42 -0000 On Wed, Jan 15, 2020 at 04:09:43PM +0700, Eugene Grosbein wrote: > 15.01.2020 7:31, Michael Wayne wrote: > > > > Running 12.1-RELEASE-p1 > > > > I put the following into syslog.conf, which worked on prior releases: > > > > # Log ipfw messages without syncing after every message. > > !ipfw > > *.* -/var/log/ipfw.log > > > > > > While I continue to see ipfw messages logged to /var/log/security, > > they are not being written to /var/log/ipfw.log. Removing the "-" > > has no effect. What changed? > > > > Is it just broken? > > They always were "security.info" messages. You need not complicating things, just do: > > security.info -/var/log/ipfw.log Perhaps something needs to be done about https://www.freebsd.org/cgi/man.cgi?syslog.conf(5) which contains the following: # Log ipfw messages without syncing after every message. !ipfw *.* -/var/log/ipfw From owner-freebsd-hackers@freebsd.org Thu Jan 16 01:49:54 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 5FEA62249DD for ; Thu, 16 Jan 2020 01:49:54 +0000 (UTC) (envelope-from rank1seeker@gmail.com) Received: from mail-wr1-x429.google.com (mail-wr1-x429.google.com [IPv6:2a00:1450:4864:20::429]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47ynFD5p7Xz4HkV; Thu, 16 Jan 2020 01:49:52 +0000 (UTC) (envelope-from rank1seeker@gmail.com) Received: by mail-wr1-x429.google.com with SMTP id y11so17540223wrt.6; Wed, 15 Jan 2020 17:49:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:in-reply-to:references :importance:mime-version:content-transfer-encoding; bh=NurZnwWLoMuhkuNwaabRDChtsUZBG8FY8y4vieIbemU=; b=mSMr6bsYL4fkH8E0ETjcun7EyN8mICyoqT0F4bmb6mHizyjAWykkQ/UU4WnyJfaX6g CVkw1qtiYd991hep/DW6edXoY9PjR14nDr44KLni74yXCAf2kX1H9x26iXcXvvhBEkv3 K2e3/oyPWRl7SdhniEckG+5dsAitj7Lpq/NU0QFFCgQwwtK5DvmsfSXsWIyiY1G/rVgg 30ege4lEEBo/nwrkfUL4CuaKN/oT9A28Rn3x2M51rPC85DBCn4mPeAcJXlUiiHkpkyoE adhmNHSPJytQa37PqVmA/T+kuucWKx3+FIfffpCU3JZf+ZJ2E9q3KqlUdZSLsVGOEeS+ yijQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:importance:mime-version:content-transfer-encoding; bh=NurZnwWLoMuhkuNwaabRDChtsUZBG8FY8y4vieIbemU=; b=abR9beNQG6RkMZkGvXZrcoyTvhTE1xOBYVvyjwRcOPFhqgwxtT9DfLbRX8W30DU3MR 0ESafF1+qsGpBPey1qbDfLSsPHPYeX0EFnZTkKDKarjVZ3nxi8Kq+C4piX+oQMjD6WBO Y8ajvEoXqYacbs922CGTu+oZhoxNyyVq+0YyGCgN3a0lQA9j76rpQuBXCQV9/SaedhYq L7JXnAUJB/imk4RIozAEsFiDgRcc94xKU7nZic/lzlDcnNele7wZxwIRWGiZvsonx0eX EMIm2OQRh2EWBJRmmMoJRlHWt/0JpypnYrd720NPp0a/9Ps3v/fBuYqwVPB1CWgcD7wj uI/w== X-Gm-Message-State: APjAAAWkjXRt4qPGDDp7f3GSzisTl8s+oUnN8up297O0w/jGvt07DCJ6 ezDiqw6B/5Y/Fy3SZ8KmUpZvkk3F X-Google-Smtp-Source: APXvYqxB1YPoXymOpZ6AJfCXFgU4kstqXj5BRped23+usPjp1SQiamRgptwxHHwejQA3kWnNV6/sWA== X-Received: by 2002:a5d:448c:: with SMTP id j12mr270694wrq.125.1579139390184; Wed, 15 Jan 2020 17:49:50 -0800 (PST) Received: from localhost ([213.149.54.250]) by smtp.gmail.com with ESMTPSA id b17sm27534405wrx.15.2020.01.15.17.49.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Jan 2020 17:49:49 -0800 (PST) Date: Thu, 16 Jan 2020 02:48:10 +0100 From: Domagoj =?UTF-8?Q?Smol=C4=8Di=C4=87?= To: jrm@FreeBSD.org Cc: FreeBSD Core Team Secretary , freebsd-hackers@freebsd.org Subject: Re: Bruce D Evans Message-ID: <20200116024810.00003826@gmail.com> In-Reply-To: <86imlrnnii.fsf@phe.ftfl.ca> References: <86imlrnnii.fsf@phe.ftfl.ca> Importance: high X-Priority: 1 (Highest) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 47ynFD5p7Xz4HkV X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=mSMr6bsY; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of rank1seeker@gmail.com designates 2a00:1450:4864:20::429 as permitted sender) smtp.mailfrom=rank1seeker@gmail.com X-Spamd-Result: default: False [-3.00 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FROM_EQ_ENVFROM(0.00)[]; IP_SCORE(0.00)[ip: (-9.40), ipnet: 2a00:1450::/32(-2.59), asn: 15169(-1.83), country: US(-0.05)]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; HAS_X_PRIO_ONE(0.00)[1]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE_FREEMAIL(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[9.2.4.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.5.4.1.0.0.a.2.list.dnswl.org : 127.0.5.0]; RCVD_TLS_ALL(0.00)[] 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: Thu, 16 Jan 2020 01:49:54 -0000 On Sat, 04 Jan 2020 13:24:05 -0400 FreeBSD Core Team Secretary wrote: > Hello everyone, >=20 > Julie Saravanos, Bruce's sister, recently shared some sad news. >=20 > -------------------- Start of forwarded message -------------------- > Subject: Bruce D Evans > Cc: core-secretary@FreeBSD.org > From: Julie Saravanos <***@***> > Date: Thu, 26 Dec 2019 16:36:54 +1100 > To: jrm@FreeBSD.org >=20 > Hello Joseph, >=20 > I would like to share some sad news with the FreeBSD community, my > brilliant but humble brother, Dr Bruce David Evans of Sydney > Australia, passed away last week on the 18th December 2019 aged 68 > years. >=20 > From what I understand Bruce made important contributions to the > computing world; he was the author of Minix 386 patches and served on > the FreeBSD core team from its inception, continuing to contribute to > the project for the duration of his life. He studied at Macquarie > University in Sydney and at The University of Pennsylvania. >=20 > Bruce did not marry or have children instead pursuing his interests > and dedicating his life to the computing world. He also had a passion > for online bridge, science fiction, maths and physics. His philosophy > in life and work was to keep things as simple as possible. His death > was sudden, therefore, he leaves behind a mess of books and computers > which may contain items of interest. >=20 > I would be grateful if you could share the news of Bruce=E2=80=99s passing > with the FreeBSD community and would be more than happy to be > contacted by anyone who had an interest or connection with him. >=20 > Yours Truly, > Julie Saravanos >=20 > -------------------- End of forwarded message -------------------- >=20 > If you would like to send condolences directly to Julie, please > contact me off list and I will share her email or mailing address. >=20 So ..., Joseph, Regarding "... mess of books and computers which may contain items of inter= est." You've already did all what it takes to get into posessions of those by now? Computers and storage devices are of the utmost priority! It MUST fall in hands of FreeBSD Core ... Julie Saravanos stated she would be more than happy to ... PS: Learn from the past ... ;) Domagoj Smol=C4=8Di=C4=87 From owner-freebsd-hackers@freebsd.org Thu Jan 16 02:03:30 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 D359D2250BE for ; Thu, 16 Jan 2020 02:03:30 +0000 (UTC) (envelope-from grog@lemis.com) Received: from lax.lemis.com (www.lemis.com [45.32.70.18]) by mx1.freebsd.org (Postfix) with ESMTP id 47ynXx67Bgz4JQG; Thu, 16 Jan 2020 02:03:29 +0000 (UTC) (envelope-from grog@lemis.com) Received: from eureka.lemis.com (167-179-139-35.a7b38b.mel.nbn.aussiebb.net [167.179.139.35]) by lax.lemis.com (Postfix) with ESMTP id DFD692814D; Thu, 16 Jan 2020 02:03:28 +0000 (UTC) Received: by eureka.lemis.com (Postfix, from userid 1004) id 38E2B263593; Thu, 16 Jan 2020 13:03:28 +1100 (AEDT) Date: Thu, 16 Jan 2020 13:03:28 +1100 From: Greg 'groggy' Lehey To: Domagoj Smol??i?? Cc: jrm@FreeBSD.org, freebsd-hackers@freebsd.org, FreeBSD Core Team Secretary Subject: Re: Bruce D Evans Message-ID: <20200116020328.GD80053@eureka.lemis.com> References: <86imlrnnii.fsf@phe.ftfl.ca> <20200116024810.00003826@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="LTeJQqWS0MN7I/qa" Content-Disposition: inline In-Reply-To: <20200116024810.00003826@gmail.com> Organization: The FreeBSD Project Phone: +61-3-5309-0418 Mobile: +61-490-494-038. Use only as instructed. WWW-Home-Page: http://www.FreeBSD.org/ X-PGP-Fingerprint: 9A1B 8202 BCCE B846 F92F 09AC 22E6 F290 507A 4223 User-Agent: Mutt/1.6.1 (2016-04-27) X-Rspamd-Queue-Id: 47ynXx67Bgz4JQG X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of grog@lemis.com designates 45.32.70.18 as permitted sender) smtp.mailfrom=grog@lemis.com X-Spamd-Result: default: False [-5.96 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; R_SPF_ALLOW(-0.20)[+a:www.lemis.com:c]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; DMARC_NA(0.00)[FreeBSD.org]; TO_DN_SOME(0.00)[]; HAS_ORG_HEADER(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; SIGNED_PGP(-2.00)[]; FREEMAIL_TO(0.00)[gmail.com]; FORGED_SENDER(0.30)[grog@FreeBSD.org,grog@lemis.com]; RCVD_NO_TLS_LAST(0.10)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:20473, ipnet:45.32.64.0/19, country:US]; FROM_NEQ_ENVFROM(0.00)[grog@FreeBSD.org,grog@lemis.com]; IP_SCORE(-1.96)[ip: (-6.29), ipnet: 45.32.64.0/19(-1.82), asn: 20473(-1.65), country: US(-0.05)]; RCVD_COUNT_TWO(0.00)[2] 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: Thu, 16 Jan 2020 02:03:30 -0000 --LTeJQqWS0MN7I/qa Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thursday, 16 January 2020 at 2:48:10 +0100, Domagoj Smol??i?? wrote: > On Sat, 04 Jan 2020 13:24:05 -0400, FreeBSD Core Team Secretary wrote: > > [irrelevant text removed] > > Regarding "... mess of books and computers which may contain items of interest." > You've already did all what it takes to get into posessions of those by now? > Computers and storage devices are of the utmost priority! > It MUST fall in hands of FreeBSD Core ... As a private person, Bruce had no obligation to Core nor to the FreeBSD project. But we (some FreeBSD people in Australia) have been in contact with Julie, and one of us will probably be visiting her at the end of next month (February) to see what they can find. You'll appreciate that this is a delicate balance of the interests of the project and the interests of the family. Greg -- Sent from my desktop computer. Finger grog@FreeBSD.org for PGP public key. See complete headers for address and phone numbers. This message is digitally signed. If your Microsoft mail program reports problems, please read http://lemis.com/broken-MUA --LTeJQqWS0MN7I/qa Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iEYEARECAAYFAl4fxHAACgkQIubykFB6QiPONwCfUdRSRrW8LiJQvw1NmrD8M4KL Uc8AniXFnf9DwMox5PqP1kIVAa8dl8I/ =99nX -----END PGP SIGNATURE----- --LTeJQqWS0MN7I/qa-- From owner-freebsd-hackers@freebsd.org Thu Jan 16 02:11:44 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 38AEB22547F for ; Thu, 16 Jan 2020 02:11:44 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: from mail-pj1-x1033.google.com (mail-pj1-x1033.google.com [IPv6:2607:f8b0:4864:20::1033]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47ynkR18vWz4Jms; Thu, 16 Jan 2020 02:11:42 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: by mail-pj1-x1033.google.com with SMTP id kx11so786954pjb.4; Wed, 15 Jan 2020 18:11:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=content-transfer-encoding:from:mime-version:subject:date:message-id :references:cc:in-reply-to:to; bh=mT88UI2eo+7mgEnxKzavfHfV/rSWScJDf9u8Oqy9Eo8=; b=C5nbrdQGroaFNmE3+x3AiLw95Pc60z/oENp91C/KyQuPKOBrLQD5ERdeUHgZIVy/MX NkINOwr1VlrMG2E3vyvM2V6hOx8mq+2XnXBg2fYDKbIur3C8Mkx0aByXI9uxtsw2TKds Nlnkc+6TKdYxjJ4Reaj/zaMckhyg6S5NpjUFt5oBjZNeYtTAceq+6hsByfvqTuTto5JZ 1ndHgkhQMVtY/agFUMAF/fmb1ZJbLMq71d80GUfuqxLGZmGeiMcVxAb3/W/hcYExUjL4 Jsss+Tfp36aJmZQEWJuDu8YL1U4TSRC7tW61ehYSflkud3IbRpBlRSNNch9c3Yjc1JvG 332w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:content-transfer-encoding:from:mime-version :subject:date:message-id:references:cc:in-reply-to:to; bh=mT88UI2eo+7mgEnxKzavfHfV/rSWScJDf9u8Oqy9Eo8=; b=h23LPuFZ7QlsFOBnJll3N8YpoqhSxQ85Kz8suEfu1Pyxeasbf4CQsL8BqDRAvSIyO+ 5MQbv1XarwZ0Ybi6aPP0TTHVTIjUTfccEYfvZVB/AYKqg0s6NcgOWS3xQdr7X35xZ6Ei aQG+FDb0/7g5fFhGkqYyaTyWcJE992E3HE0/eBA9iMU3/z8fx/ldEAy4wEKpJkuj1tK5 6ltytgT+T4Gt7nPSwtrbDF8O805+AvzX1ObaSs3WQULcNlsiJqjeyht4761TMDUGMDBJ UGTqKQN0obY5vRW97PiyEFTKvwW3fWsTOdMOhli6QBwx1Fc/urTu6B51Rvf5Ee7pEVtN kYLw== X-Gm-Message-State: APjAAAUuvR9kzOaqZQTTP4+9ccuY0UnxVABigJ8gfvFUoz0dMAcVWgEA /seRFgQBYOSJSSVOIHNPv5WtSpvIqSA= X-Google-Smtp-Source: APXvYqxEfhZd7sZhblTaRuOhhFA0shicCdokpbNYgWBfjOdPln+KsMkoATBA4XuW+SG0JvXBWNcpNw== X-Received: by 2002:a17:90a:30a4:: with SMTP id h33mr3761475pjb.50.1579140695849; Wed, 15 Jan 2020 18:11:35 -0800 (PST) Received: from ?IPv6:2607:fb90:f33d:2580:15de:8f0b:c774:e54f? ([2607:fb90:f33d:2580:15de:8f0b:c774:e54f]) by smtp.gmail.com with ESMTPSA id v5sm22700534pfn.122.2020.01.15.18.11.34 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 15 Jan 2020 18:11:34 -0800 (PST) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable From: Enji Cooper Mime-Version: 1.0 (1.0) Subject: Re: Bruce D Evans Date: Wed, 15 Jan 2020 18:11:33 -0800 Message-Id: <6A103033-C9EF-4860-8381-267FD1B1F31C@gmail.com> References: <20200116020328.GD80053@eureka.lemis.com> Cc: Domagoj Smol??i?? , freebsd-hackers@freebsd.org, FreeBSD Core Team Secretary , "jrm@freebsd.org" In-Reply-To: <20200116020328.GD80053@eureka.lemis.com> To: Greg 'groggy' Lehey X-Mailer: iPhone Mail (17C54) X-Rspamd-Queue-Id: 47ynkR18vWz4Jms X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=C5nbrdQG; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of yaneurabeya@gmail.com designates 2607:f8b0:4864:20::1033 as permitted sender) smtp.mailfrom=yaneurabeya@gmail.com X-Spamd-Result: default: False [-2.50 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; MV_CASE(0.50)[]; RCPT_COUNT_FIVE(0.00)[5]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FROM_EQ_ENVFROM(0.00)[]; IP_SCORE(0.00)[ipnet: 2607:f8b0::/32(-2.09), asn: 15169(-1.83), country: US(-0.05)]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.996,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; FREEMAIL_CC(0.00)[gmail.com]; RCVD_TLS_ALL(0.00)[] 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: Thu, 16 Jan 2020 02:11:44 -0000 > On Jan 15, 2020, at 18:03, Greg 'groggy' Lehey wrote: >=20 > =EF=BB=BFOn Thursday, 16 January 2020 at 2:48:10 +0100, Domagoj Smol??i??= wrote: >> On Sat, 04 Jan 2020 13:24:05 -0400, FreeBSD Core Team Secretary wrote: >>=20 >> [irrelevant text removed] >>=20 >> Regarding "... mess of books and computers which may contain items of int= erest." >> You've already did all what it takes to get into posessions of those by n= ow? >> Computers and storage devices are of the utmost priority! >> It MUST fall in hands of FreeBSD Core ... >=20 > As a private person, Bruce had no obligation to Core nor to the > FreeBSD project. But we (some FreeBSD people in Australia) have been > in contact with Julie, and one of us will probably be visiting her at > the end of next month (February) to see what they can find. You'll > appreciate that this is a delicate balance of the interests of the > project and the interests of the family. I agree. This is part of the reason why I publicize everything that needs to be publi= cized on github, etc, and encrypt everything that deserves to be lost in obl= ivion, should something happen to me. If someone wants to dig through the re= mains of my electronics later, they=E2=80=99ll likely be disappointed, since= it=E2=80=99s all pretty much DRMed media. Let=E2=80=99s respect Bruce=E2=80=99s family and their privacy by going thro= ugh the proper channels Greg, et al, are persuing. Thank you, -Enji > Greg > -- > Sent from my desktop computer. > Finger grog@FreeBSD.org for PGP public key. > See complete headers for address and phone numbers. > This message is digitally signed. If your Microsoft mail program > reports problems, please read http://lemis.com/broken-MUA From owner-freebsd-hackers@freebsd.org Thu Jan 16 08:17:38 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 D9F7C22DDB2 for ; Thu, 16 Jan 2020 08:17:38 +0000 (UTC) (envelope-from bsdlisten@gmail.com) Received: from mail-il1-x12f.google.com (mail-il1-x12f.google.com [IPv6:2607:f8b0:4864:20::12f]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47yxrd6ClDz4dCD for ; Thu, 16 Jan 2020 08:17:37 +0000 (UTC) (envelope-from bsdlisten@gmail.com) Received: by mail-il1-x12f.google.com with SMTP id f10so17362396ils.8 for ; Thu, 16 Jan 2020 00:17:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=J64GFXvhv2CcS8NoflwMO5KQaIV9iTlf5R56V9rjqVM=; b=e7edO0EAHX0k/f5Jg6ae1LxkxxSfM4HfWNTTZXUjfJjPftCeJopwZMTazUHHZWWXo0 D45f2pAJJUc3MXPKdFqLT8UESm3MPZveayr1pMNw6w7GV4CyGZ21XYlabrUouLXpBpwa X/CYrfmcrLyJ0+D+NVQ4EBlG1dLYWAtS7wthcD75u27nNlR9S8g3ilcK5R19WpGIEMkB jo5mH01OOM5/CtdhuR8eIJR4V9FHJz36Upfuj9mUD51/NtdPCXoiSpK8Rc57uCf7a2c8 34m8DxwGsg4T3e6xb3T/WyP7KCrNetBILnJxPTRbmIAO1T7dsU59g5Z9uKn2j3fzNFDh bhvg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=J64GFXvhv2CcS8NoflwMO5KQaIV9iTlf5R56V9rjqVM=; b=SycK4rkDf3W+YkB7i8+gLHUJui0Js97Y8FjWCIiJpa5HrVBV3FVIra979zEV8NKKo4 M8dSGq5IsbR422FwIVSJRBqtX77hff9xYNehK0VooZubbEgR/x5TY6FCGEDXnSicP9hh Mcn4DvUBfqHa43pDEnUTrLXZa3Idax2g4Kemmn9k51iXv9ZYUYW/wuwfb2/x1z02pdlk Tq70v5Ks4/QZQPS+Q7vyQIaVkAlM7Q4MzOfA4PHuZyF3txoH6skTpyfJwsVlbS5zoJzK 9RMa7XCRVIhGUAz0MGem+JcHvqu0RjGxJ/uTkLap09y+7UyMtry3MnBZwkLYNXsM+DXo QgFA== X-Gm-Message-State: APjAAAXTj+IpHx16jiXeTUaOwdB0ZGnH/qI9EAONR9u8DQ2bCCWKY1Jv m0Mmkzv8jGQ5YoSj90aSah1o067F3vX80QgpbFQjJEfR X-Google-Smtp-Source: APXvYqz758eSPzX/EXW/x7IVppH6VX8CTYlPGAxqhxiIy+L8954S1ToGcrHnIFd3CFZbBIeDD7XsKoZG1Gd8vUen0C0= X-Received: by 2002:a92:2804:: with SMTP id l4mr2478506ilf.136.1579162656821; Thu, 16 Jan 2020 00:17:36 -0800 (PST) MIME-Version: 1.0 From: Rares Aioanei Date: Thu, 16 Jan 2020 10:17:26 +0200 Message-ID: Subject: Clean up GNU-isms in base? To: FreeBSD Hackers Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 47yxrd6ClDz4dCD X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=e7edO0EA; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of bsdlisten@gmail.com designates 2607:f8b0:4864:20::12f as permitted sender) smtp.mailfrom=bsdlisten@gmail.com X-Spamd-Result: default: False [-2.00 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCVD_COUNT_TWO(0.00)[2]; RCPT_COUNT_ONE(0.00)[1]; IP_SCORE_FREEMAIL(0.00)[]; IP_SCORE(0.00)[ip: (-9.04), ipnet: 2607:f8b0::/32(-2.09), asn: 15169(-1.83), country: US(-0.05)]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[f.2.1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_ALL(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0] 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: Thu, 16 Jan 2020 08:17:38 -0000 While compiling world with extra warnings I noticed compiler messages about GNU extensions being used in the code, for example the use of typeof() or warnings like this : "/usr/src/lib/libpmc/pmu-events/json.h:22:35: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments]". Question is : is there an interest in doing a "clean-up" of such constructs in the code? From owner-freebsd-hackers@freebsd.org Thu Jan 16 09:19:21 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 45F8A22FAF3 for ; Thu, 16 Jan 2020 09:19:21 +0000 (UTC) (envelope-from brooks@spindle.one-eyed-alien.net) Received: from spindle.one-eyed-alien.net (spindle.one-eyed-alien.net [199.48.129.229]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 47yzCr0J6mz3DS3 for ; Thu, 16 Jan 2020 09:19:19 +0000 (UTC) (envelope-from brooks@spindle.one-eyed-alien.net) Received: by spindle.one-eyed-alien.net (Postfix, from userid 3001) id 2D7283C0199; Thu, 16 Jan 2020 09:19:19 +0000 (UTC) Date: Thu, 16 Jan 2020 09:19:19 +0000 From: Brooks Davis To: Rares Aioanei Cc: FreeBSD Hackers Subject: Re: Clean up GNU-isms in base? Message-ID: <20200116091919.GA21259@spindle.one-eyed-alien.net> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="opJtzjQTFsWo+cga" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) X-Rspamd-Queue-Id: 47yzCr0J6mz3DS3 X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of brooks@spindle.one-eyed-alien.net has no SPF policy when checking 199.48.129.229) smtp.mailfrom=brooks@spindle.one-eyed-alien.net X-Spamd-Result: default: False [-5.52 / 15.00]; ARC_NA(0.00)[]; FREEMAIL_TO(0.00)[gmail.com]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; MIME_TRACE(0.00)[0:+,1:+,2:~]; DMARC_NA(0.00)[freebsd.org]; AUTH_NA(1.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; R_SPF_NA(0.00)[]; SIGNED_PGP(-2.00)[]; FORGED_SENDER(0.30)[brooks@freebsd.org,brooks@spindle.one-eyed-alien.net]; RCVD_COUNT_ZERO(0.00)[0]; R_DKIM_NA(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:36236, ipnet:199.48.128.0/22, country:US]; FROM_NEQ_ENVFROM(0.00)[brooks@freebsd.org,brooks@spindle.one-eyed-alien.net]; IP_SCORE(-3.62)[ip: (-9.50), ipnet: 199.48.128.0/22(-4.74), asn: 36236(-3.83), country: US(-0.05)] 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: Thu, 16 Jan 2020 09:19:21 -0000 --opJtzjQTFsWo+cga Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Jan 16, 2020 at 10:17:26AM +0200, Rares Aioanei wrote: > While compiling world with extra warnings I noticed compiler messages > about GNU extensions being used in the code, for example the use of typeof() or > warnings like this : "/usr/src/lib/libpmc/pmu-events/json.h:22:35: > warning: token pasting of ',' and __VA_ARGS__ is a GNU extension > [-Wgnu-zero-variadic-macro-arguments]". Question is : is there an > interest in doing a "clean-up" of such constructs in the code? To the extent that the standard provides a useful mechanism (as, IIRC, it does here), I think this is a good idea. Right now we're probably confined to mechanisms supported in C99, but once we've finished kicking gcc 4.2.1 out later this year, we'll be able to use C11 features. -- Brooks --opJtzjQTFsWo+cga Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJeICqWAAoJEKzQXbSebgfA8Q0H/jzWaIUmmUC+sroK5KXVnkW3 nBSvhFzRltdZEd84JYcz5ZZBJiyY0RcNwIRosptBr5XBqi5lGCzgYIcfJU815IWR EBLbjsvJMQebctDyLTDcISK0FXDZPg6F3A7wXFdR11uNWX6c99ffyAQH30irtEO0 wL9f1mGVIszXP6lEvxXrRhj4GR1RVTnBnKL5Wbc5s/8h8WqeckaTUgcU/GB43KsN L2iRnvbe1NRYeIzbKhnNuTr1dFW4SzS/mg1UE9AsbJp6ucK17RapUbmSj6PBz5U7 83TQKeIeW9ttN/9M1qnzYeBcsMWmX6DINyPzMFcwTduH8zxY6Wp2kqNzK8voMMw= =3hBs -----END PGP SIGNATURE----- --opJtzjQTFsWo+cga-- From owner-freebsd-hackers@freebsd.org Thu Jan 16 09:21:24 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 9E2F722FCE0 for ; Thu, 16 Jan 2020 09:21:24 +0000 (UTC) (envelope-from bsdlisten@gmail.com) Received: from mail-io1-xd2c.google.com (mail-io1-xd2c.google.com [IPv6:2607:f8b0:4864:20::d2c]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47yzGD3mG1z3Dgl; Thu, 16 Jan 2020 09:21:24 +0000 (UTC) (envelope-from bsdlisten@gmail.com) Received: by mail-io1-xd2c.google.com with SMTP id m25so5375973ioo.8; Thu, 16 Jan 2020 01:21:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=pcE2Tw448QWwJnUBBWbwCRkjqt6XJYajQ3cld9E3OOE=; b=i1l1bQ/4NOr38xYd9r8HEIugKCDZdTyHVflfYVAs8qkajar4LtwHRvOj7InEv2qS9e OJhPAx+l65L1w38gxdGxreGnhC0si71PKlzGKl+yLnuLeGt+MbjXhjn9ECAe0ZAiBL6Z hiQL+P57ktjFxdkmMpGC0yRAPTFqYejrCJkX+I+e4lF9wkdLe6bhbkUxayFgHsv9afNA hM5PXJe8K5d1jlW2Zcpjx260XSbc0BevvlZC4OycXK4DETACijwnZtjGGWXiLMdi+rSs GXiZyfLN0mQfIfA0Wlg+hTbujIaoenDgUZ1hwPd29x2KI0O1bPTQW0mZYHo/391CKdbG icfw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=pcE2Tw448QWwJnUBBWbwCRkjqt6XJYajQ3cld9E3OOE=; b=TW8jTG6G+0VyCk2bfowE7VNE/B6xaOQZ9elHD7IpXKrP/RSb8cLWsZrCdR1V6kC+j0 9bpXF6zZ2/T4jULFuP7VjOSfCkwPQvmZa8E/La2qUElVOkVWGuqYPRV7x9ujEtPRI/y8 kc8e5aDskxEgCjEd7lfGa0e8Y/RvTuXCN+akNc5eaTxCPmgCbhAElImLXWb7pwSgMEbh EA86GIdmu8deA3nIEarZZrQ6zeU1K3A7cMvWXhN1GfH7YzzH5LWsokkYSYOVQyC8gSX3 oNWusENcaz//jKX5Pffhh9fCtNS+sQx6ihKuiCy4pnD7Zbp0o8DN/hQERQl9/jqLcVR3 N6VA== X-Gm-Message-State: APjAAAWJWO5yNHglocRG0UIsHkEgDR855tSyAJwTSpYeAlTLlueqE+RI WagGlvtJ8bi4dFAsxcF/PYVDGLMhDF3SEXSG1z+JOw== X-Google-Smtp-Source: APXvYqyNmBgFLF7a+OCbKy9W3vgBY73m9awOwNeGHgmCGjFzIlZANmIm2EG+/rAyVJHRmaW44vNJskRyKaYlnZAol04= X-Received: by 2002:a5d:84d1:: with SMTP id z17mr4005821ior.169.1579166483276; Thu, 16 Jan 2020 01:21:23 -0800 (PST) MIME-Version: 1.0 References: <20200116091919.GA21259@spindle.one-eyed-alien.net> In-Reply-To: <20200116091919.GA21259@spindle.one-eyed-alien.net> From: Rares Aioanei Date: Thu, 16 Jan 2020 11:21:12 +0200 Message-ID: Subject: Re: Clean up GNU-isms in base? To: Brooks Davis Cc: FreeBSD Hackers Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 47yzGD3mG1z3Dgl X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-6.00 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-0.998,0]; REPLY(-4.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0] 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: Thu, 16 Jan 2020 09:21:24 -0000 Alright, thanks. I'll start looking into it, time provided, and update the list accordingly. On Thu, Jan 16, 2020 at 11:19 AM Brooks Davis wrote: > > On Thu, Jan 16, 2020 at 10:17:26AM +0200, Rares Aioanei wrote: > > While compiling world with extra warnings I noticed compiler messages > > about GNU extensions being used in the code, for example the use of typeof() or > > warnings like this : "/usr/src/lib/libpmc/pmu-events/json.h:22:35: > > warning: token pasting of ',' and __VA_ARGS__ is a GNU extension > > [-Wgnu-zero-variadic-macro-arguments]". Question is : is there an > > interest in doing a "clean-up" of such constructs in the code? > > To the extent that the standard provides a useful mechanism (as, IIRC, > it does here), I think this is a good idea. > > Right now we're probably confined to mechanisms supported in C99, but > once we've finished kicking gcc 4.2.1 out later this year, we'll be able > to use C11 features. > > -- Brooks From owner-freebsd-hackers@freebsd.org Thu Jan 16 11:01:29 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 6A966232BDF for ; Thu, 16 Jan 2020 11:01:29 +0000 (UTC) (envelope-from wojtek@puchar.net) Received: from puchar.net (puchar.net [194.1.144.90]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 47z1Tg6wSJz3LZr; Thu, 16 Jan 2020 11:01:27 +0000 (UTC) (envelope-from wojtek@puchar.net) Received: Received: from 127.0.0.1 (localhost [127.0.0.1]) by puchar.net (8.15.2/8.15.2) with ESMTPS id 00GB1Mqk048498 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 16 Jan 2020 12:01:23 +0100 (CET) (envelope-from puchar-wojtek@puchar.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=puchar.net; s=default; t=1579172484; bh=QB6JPy18n9KmfZ5EcuTtFYKTriuVrhcXFgA9I88atg0=; h=Date:From:To:cc:Subject:In-Reply-To:References; b=NOVQPWiReTHiJce5P1+ClQ6DRZhgfzrkC/+NJkLkgneSK3uf4KRCcXaBg6xJGBput a9mUIf+3UsJ93aWNZAMDBWgmRtvu/8ZFAqchRQ4V0A+SPSK/fTSJQbC35WwcShs52Q nRdq5vTZnaRJ+M5B5GdUWpbkAFYd8PqB2RYnzPeA= Received: from localhost (puchar-wojtek@localhost) by puchar.net (8.15.2/8.15.2/Submit) with ESMTP id 00GB1M3f048495; Thu, 16 Jan 2020 12:01:22 +0100 (CET) (envelope-from puchar-wojtek@puchar.net) Date: Thu, 16 Jan 2020 12:01:22 +0100 (CET) From: Wojciech Puchar To: Enji Cooper cc: "Greg 'groggy' Lehey" , Domagoj Smol??i?? , freebsd-hackers@freebsd.org, "jrm@freebsd.org" , FreeBSD Core Team Secretary Subject: Re: Bruce D Evans In-Reply-To: <6A103033-C9EF-4860-8381-267FD1B1F31C@gmail.com> Message-ID: References: <20200116020328.GD80053@eureka.lemis.com> <6A103033-C9EF-4860-8381-267FD1B1F31C@gmail.com> User-Agent: Alpine 2.20 (BSF 67 2015-01-07) MIME-Version: 1.0 X-Rspamd-Queue-Id: 47z1Tg6wSJz3LZr X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=fail (rsa verify failed) header.d=puchar.net header.s=default header.b=NOVQPWiR; dmarc=none; spf=pass (mx1.freebsd.org: domain of wojtek@puchar.net designates 194.1.144.90 as permitted sender) smtp.mailfrom=wojtek@puchar.net X-Spamd-Result: default: False [-2.45 / 15.00]; ARC_NA(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; NEURAL_HAM_MEDIUM(-0.43)[-0.430,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; R_DKIM_REJECT(1.00)[puchar.net:s=default]; MIME_GOOD(-0.10)[multipart/mixed,text/plain]; DMARC_NA(0.00)[puchar.net]; NEURAL_HAM_LONG(-1.00)[-0.997,0]; RCPT_COUNT_FIVE(0.00)[6]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[puchar.net:-]; CTYPE_MIXED_BOGUS(1.00)[]; RCVD_IN_DNSWL_NONE(0.00)[90.144.1.194.list.dnswl.org : 127.0.10.0]; IP_SCORE(-2.72)[ip: (-7.20), ipnet: 194.1.144.0/24(-3.60), asn: 43476(-2.88), country: PL(0.07)]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:43476, ipnet:194.1.144.0/24, country:PL]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8BIT X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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: Thu, 16 Jan 2020 11:01:29 -0000 >> in contact with Julie, and one of us will probably be visiting her at >> the end of next month (February) to see what they can find. You'll >> appreciate that this is a delicate balance of the interests of the >> project and the interests of the family. > > I agree. > > This is part of the reason why I publicize everything that needs to be publicized on github, etc, and encrypt everything that deserves to be lost in oblivion, should something happen to me. If someone wants to dig through the remains of my electronics later, they’ll likely be disappointed, since it’s all pretty much DRMed media. > too i agree but why you all so easily and happily go to one big world-sized services and corpos? I too use git regularly but i put my repositories in my server or my employer server. Same with mail, same with everything. I would never use github. As well as many other one-service-per-world services. Do you really like to be like bees or ants living in one big hive and being an element of one machine, or rather be humans? I've chose the latter. > Let’s respect Bruce’s family and their privacy by going through the proper channels Greg, et al, are persuing. right. From owner-freebsd-hackers@freebsd.org Thu Jan 16 13:28:03 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 33604237198 for ; Thu, 16 Jan 2020 13:28:03 +0000 (UTC) (envelope-from gljennjohn@gmail.com) Received: from mail-wr1-x433.google.com (mail-wr1-x433.google.com [IPv6:2a00:1450:4864:20::433]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47z4kp31HVz40Kt; Thu, 16 Jan 2020 13:28:01 +0000 (UTC) (envelope-from gljennjohn@gmail.com) Received: by mail-wr1-x433.google.com with SMTP id q6so19070721wro.9; Thu, 16 Jan 2020 05:28:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:in-reply-to:references:reply-to :mime-version:content-transfer-encoding; bh=DSjqUkRqiQ+YjuFalMKoFU8xDyWGFGMN7YjvfycVi6g=; b=i6+xbtzYXh4tW8llP4y8XyluJ87hUhlSGDyHVE7MWJ0cpKZkw8frN3kLcMGYx3Pyjj VQwnIk/cg8VUUZ2FiS3hdIp7QcngElzNIa0nmzuRBRuOUBDNcu1VIVTjMLjLPh2iByzz aJ2vaEGECYR9hZ9ku824EU48JmVVgZQlrvHo9WMk7k2zH7Zi6EUN2kmkZJJb/3rIIMFm sRLMOOfr9fGAvKODXoqyU8pXS97b6YAJ+x/NsuNPHQ4kqdqur4xTXrY5It3+Yprm1FI0 SspWjlqEHdGDu22/HoPuVL8aqlYHWS6aYKgp3gqvAHx0alL7FldcAi2FHXOhqH3B/Ncx QO8A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:reply-to:mime-version:content-transfer-encoding; bh=DSjqUkRqiQ+YjuFalMKoFU8xDyWGFGMN7YjvfycVi6g=; b=t8Lq49RHvPY1jAYHQdy+QpdrRD9tRor49PQ/6yIkgLX61rihOSvcKElf4hVEixp25g I90PV3IuMaWPwl7Z+4yd0XfGl0K3wxXYYsRur59YQ01B2OhxVz9CYADOarQNITUKSzvD tB7nwsBdw1ywKzHm1CvvbmvDjkJHGoPbIsi9gPx8oTUHw0+1och+db+eNEmWHlSrz9MN /ngMBhNFICLAsfRXzdbaNJm2FPJomgDcNvc2omk9ZVC1GfZN3N6Mi7QTNQyJIZ9xMzGZ UDAOTY/qXYqMMJz2c7WJ9b3yWDaI2MmB/zoPuN9bayH9TtmjciefE8+kifpaYM2SvLJC 6qSw== X-Gm-Message-State: APjAAAWdcsdX6A3EqRxj9IHs1meHlwhN/1aBQi0NC5F74GZIoppy55Ar /ZUqGh/pkIfMEltzkqjcT5w= X-Google-Smtp-Source: APXvYqy+plXhJFUU8JntVXzbMzrdcNusYyWXo1VTZY1U3txlVh0keNaTvAEEBymyBok6Y3Ik2UlDag== X-Received: by 2002:a5d:4e90:: with SMTP id e16mr3474390wru.318.1579181280552; Thu, 16 Jan 2020 05:28:00 -0800 (PST) Received: from ernst.home (pD9E2390B.dip0.t-ipconnect.de. [217.226.57.11]) by smtp.gmail.com with ESMTPSA id l6sm4712114wmf.21.2020.01.16.05.27.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Jan 2020 05:27:59 -0800 (PST) Date: Thu, 16 Jan 2020 14:27:59 +0100 From: Gary Jennejohn To: Wojciech Puchar Cc: Enji Cooper , Greg 'groggy' Lehey , Domagoj Smol??i?? , "jrm@freebsd.org" , FreeBSD Core Team Secretary , freebsd-hackers@freebsd.org Subject: Re: Bruce D Evans Message-ID: <20200116142759.792ed6ac@ernst.home> In-Reply-To: References: <20200116020328.GD80053@eureka.lemis.com> <6A103033-C9EF-4860-8381-267FD1B1F31C@gmail.com> Reply-To: gljennjohn@gmail.com X-Mailer: Claws Mail 3.17.4 (GTK+ 2.24.32; amd64-portbld-freebsd13.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 47z4kp31HVz40Kt X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=i6+xbtzY; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of gljennjohn@gmail.com designates 2a00:1450:4864:20::433 as permitted sender) smtp.mailfrom=gljennjohn@gmail.com X-Spamd-Result: default: False [-3.00 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[gljennjohn@gmail.com]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; REPLYTO_ADDR_EQ_FROM(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCPT_COUNT_SEVEN(0.00)[7]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; IP_SCORE(0.00)[ip: (-9.07), ipnet: 2a00:1450::/32(-2.59), asn: 15169(-1.83), country: US(-0.05)]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; RECEIVED_SPAMHAUS_PBL(0.00)[11.57.226.217.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.10]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; FREEMAIL_REPLYTO(0.00)[gmail.com]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[3.3.4.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.5.4.1.0.0.a.2.list.dnswl.org : 127.0.5.0]; FREEMAIL_CC(0.00)[gmail.com]; RCVD_TLS_ALL(0.00)[] 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: Thu, 16 Jan 2020 13:28:03 -0000 On Thu, 16 Jan 2020 12:01:22 +0100 (CET) Wojciech Puchar wrote: > >> in contact with Julie, and one of us will probably be visiting her at > >> the end of next month (February) to see what they can find. You'll > >> appreciate that this is a delicate balance of the interests of the > >> project and the interests of the family. > > > > I agree. > > > > This is part of the reason why I publicize everything that needs to be publicized on github, etc, and encrypt everything that deserves to be lost in oblivion, should something happen to me. If someone wants to dig through the remains of my electronics later, they___ll likely be disappointed, since it___s all pretty much DRMed media. > > > too i agree but why you all so easily and happily go to one big > world-sized services and corpos? > > I too use git regularly but i put my repositories in my server or my > employer server. Same with mail, same with everything. > > I would never use github. As well as many other one-service-per-world > services. > I think you overlooked the "everything that needs to be publicized" in Enji's comment. If one is developing for the community then github is the logical place to put code so that other members of the community can easily access it. If development is for the employer or personal use then there's no reason to make stuff publically available. > Do you really like to be like bees or ants living in one big hive and > being an element of one machine, or rather be humans? I've chose the > latter. > > > Let___s respect Bruce___s family and their privacy by going through the proper channels Greg, et al, are persuing. > right. > -- Gary Jennejohn From owner-freebsd-hackers@freebsd.org Thu Jan 16 13:49:34 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 BF521237B50 for ; Thu, 16 Jan 2020 13:49:34 +0000 (UTC) (envelope-from wojtek@puchar.net) Received: from puchar.net (puchar.net [194.1.144.90]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 47z5Cc6xlbz41Rn; Thu, 16 Jan 2020 13:49:32 +0000 (UTC) (envelope-from wojtek@puchar.net) Received: Received: from 127.0.0.1 (localhost [127.0.0.1]) by puchar.net (8.15.2/8.15.2) with ESMTPS id 00GDnRBI080088 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 16 Jan 2020 14:49:27 +0100 (CET) (envelope-from puchar-wojtek@puchar.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=puchar.net; s=default; t=1579182568; bh=BF/3ndFhF7I8HLpORk4IbyMKZQ4LqTnLr2WuH/4SI6w=; h=Date:From:To:cc:Subject; b=qh8mrHfR0gqLlqaBV3toObXovmHFTNYQcdTI5/5rmTPs672FToqUdLbkCfWGe9opR d3W1KmOzkGNGBz6jm2jrntXNMA0frUq5xFD4WbKrFe7yfT/VZNJXxM28vDX0DtA08B gruJtM4tUq+GeLZxYOR6nx/mwFPC6gk4qY91pkeQ= Received: from localhost (puchar-wojtek@localhost) by puchar.net (8.15.2/8.15.2/Submit) with ESMTP id 00GDnRxO080085; Thu, 16 Jan 2020 14:49:27 +0100 (CET) (envelope-from puchar-wojtek@puchar.net) Date: Thu, 16 Jan 2020 14:49:27 +0100 (CET) From: Wojciech Puchar To: Gary Jennejohn cc: Wojciech Puchar , "jrm@freebsd.org" , Domagoj Smol??i?? , freebsd-hackers@freebsd.org, "Greg 'groggy' Lehey" , Enji Cooper , FreeBSD Core Team Secretary Subject: github and other one-per-world services. Message-ID: User-Agent: Alpine 2.20 (BSF 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-Rspamd-Queue-Id: 47z5Cc6xlbz41Rn X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=fail (rsa verify failed) header.d=puchar.net header.s=default header.b=qh8mrHfR; dmarc=none; spf=pass (mx1.freebsd.org: domain of wojtek@puchar.net designates 194.1.144.90 as permitted sender) smtp.mailfrom=wojtek@puchar.net X-Spamd-Result: default: False [-4.01 / 15.00]; ARC_NA(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; NEURAL_HAM_MEDIUM(-0.99)[-0.995,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+mx:c]; R_DKIM_REJECT(1.00)[puchar.net:s=default]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[puchar.net]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[puchar.net:-]; RCPT_COUNT_SEVEN(0.00)[8]; RCVD_IN_DNSWL_NONE(0.00)[90.144.1.194.list.dnswl.org : 127.0.10.0]; IP_SCORE(-2.71)[ip: (-7.17), ipnet: 194.1.144.0/24(-3.59), asn: 43476(-2.87), country: PL(0.07)]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:43476, ipnet:194.1.144.0/24, country:PL]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_COUNT_TWO(0.00)[2] 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: Thu, 16 Jan 2020 13:49:34 -0000 >> I would never use github. As well as many other one-service-per-world >> services. >> > > I think you overlooked the "everything that needs to be publicized" in Enji's > comment. If one is developing for the community then github is the logical > place to put code so that other members of the community can easily access it. no it is not. It should be his own git repository located on his account and/or his server. git doesn't even need special servers to be set up. > If development is for the employer or personal use then there's no reason > to make stuff publically available. This only means that these repositories will not be publicly available. From owner-freebsd-hackers@freebsd.org Thu Jan 16 14:12:04 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 93D7B1E87CD for ; Thu, 16 Jan 2020 14:12:04 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: from mail-pg1-x534.google.com (mail-pg1-x534.google.com [IPv6:2607:f8b0:4864:20::534]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47z5jb1lrGz4367; Thu, 16 Jan 2020 14:12:03 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: by mail-pg1-x534.google.com with SMTP id k197so9940265pga.10; Thu, 16 Jan 2020 06:12:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=content-transfer-encoding:from:mime-version:subject:date:message-id :references:cc:in-reply-to:to; bh=HMsnp9ctB8eJvH7bnZ3oayLxHxW0ihQH21D7Kmz7T6U=; b=r/JbXS1lg3V8gfvTDNAxdSrG4JsPSsy7V9iltBaPIirHxRdJuKxuzSygswBNIoBIxd UL7Dgs5X/HcYh2wpaOzPVOMxUKINu+56BWpwE67Y62dgfn3tdE68OEo37/MpVGnS3Baj l6lFPaNcU3QKYDYLvixpB59LGTiiaRAEKUsf87mywybVJJhz5yhgouf/KKUHmREyIg6w qbyHyEaDkWESs5+geDpp+edYkJ03JBtnEt0wa02e/9XvL/LBPBEV0DFK0p1vYN1LccuY NH+aQ0Lf6lCWJOQ0DstWJl3bZHRL17D1trybFYZBPdk57psbFfyFt0Cu9vQPC5v9Jp8B L20A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:content-transfer-encoding:from:mime-version :subject:date:message-id:references:cc:in-reply-to:to; bh=HMsnp9ctB8eJvH7bnZ3oayLxHxW0ihQH21D7Kmz7T6U=; b=DVlkLD+4BgnG8CCxcurcxQ95Ii7nT8ezuhANvxvIFS4J5j9tybLMFQdFVs4FZC5Ksn FUfsaModZwiubFFCupluEWjimX7qb25ToQIDSM2NAVk7DP7rdor58siMKGG1YG4T/Y0v te9qq22PxyU1Wr4YdlTETVsakrvYxf2lBVsjt47qEly4acWlzF/ed5rE3sjqn/5YFDg5 pBcUpG6NJ5mD1Kw0GwUYRiYorTkZnRIE4hKK/qUfnX8GDQGgB0tusrlOtCN61wgsByE6 TKrU6u7LToUa2tAr/7q+HC19ruNW2Ufu8kDyvUNot0rsnZp2hUes5ReuNEykJC7SU6VH ErFw== X-Gm-Message-State: APjAAAXscZiG+VkqrrkX1V8u5J3xPWFc/udspR9jTxV4pz9MMfziiSNd K0sOA2sqCa086LX54FOdtr/SsL4v5ZM= X-Google-Smtp-Source: APXvYqwd7N+HWowIVDyd8lD/d+4YOiD5u67FkUA0a2fn0HPIemgl+tDbRtmJk+Zz1wRn/lrs7ecIEg== X-Received: by 2002:a63:5ce:: with SMTP id 197mr847488pgf.114.1579183920907; Thu, 16 Jan 2020 06:12:00 -0800 (PST) Received: from [192.168.21.6] (c-73-19-52-228.hsd1.wa.comcast.net. [73.19.52.228]) by smtp.gmail.com with ESMTPSA id 83sm24954904pgh.12.2020.01.16.06.11.59 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 16 Jan 2020 06:12:00 -0800 (PST) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable From: Enji Cooper Mime-Version: 1.0 (1.0) Subject: Re: Bruce D Evans Date: Thu, 16 Jan 2020 06:11:59 -0800 Message-Id: References: Cc: Greg 'groggy' Lehey , Domagoj Smol??i?? , freebsd-hackers@freebsd.org, "jrm@freebsd.org" , FreeBSD Core Team Secretary In-Reply-To: To: Wojciech Puchar X-Mailer: iPhone Mail (17C54) X-Rspamd-Queue-Id: 47z5jb1lrGz4367 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=r/JbXS1l; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of yaneurabeya@gmail.com designates 2607:f8b0:4864:20::534 as permitted sender) smtp.mailfrom=yaneurabeya@gmail.com X-Spamd-Result: default: False [-2.50 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; MV_CASE(0.50)[]; RCPT_COUNT_FIVE(0.00)[6]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RECEIVED_SPAMHAUS_PBL(0.00)[228.52.19.73.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.10]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE(0.00)[ip: (-9.05), ipnet: 2607:f8b0::/32(-2.09), asn: 15169(-1.83), country: US(-0.05)]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[4.3.5.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; RCVD_TLS_ALL(0.00)[] 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: Thu, 16 Jan 2020 14:12:04 -0000 > On Jan 16, 2020, at 03:01, Wojciech Puchar wrote: > =EF=BB=BF >>=20 >>> in contact with Julie, and one of us will probably be visiting her at >>> the end of next month (February) to see what they can find. You'll >>> appreciate that this is a delicate balance of the interests of the >>> project and the interests of the family. >>=20 >> I agree. >>=20 >> This is part of the reason why I publicize everything that needs to be pu= blicized on github, etc, and encrypt everything that deserves to be lost in o= blivion, should something happen to me. If someone wants to dig through the r= emains of my electronics later, they=E2=80=99ll likely be disappointed, sinc= e it=E2=80=99s all pretty much DRMed media. >>=20 > too i agree but why you all so easily and happily go to one big world-size= d services and corpos? >=20 > I too use git regularly but i put my repositories in my server or my emplo= yer server. Same with mail, same with everything. >=20 > I would never use github. As well as many other one-service-per-world serv= ices. >=20 > Do you really like to be like bees or ants living in one big hive and bein= g an element of one machine, or rather be humans? I've chose the latter. This is just where I put my public work. I have other work elsewhere, based o= n privacy/IP requirements. I respect your choice not to use Github. I would like the same respect in re= turn, but I don=E2=80=99t expect it. Let=E2=80=99s move on and stay on topic. Bruce Evans should be the focus, no= t a bikeshed on the virtues and demerits of github and backup methods. -Enji=20= From owner-freebsd-hackers@freebsd.org Thu Jan 16 14:14:25 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 220BE1E8A39 for ; Thu, 16 Jan 2020 14:14:25 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: from mail-pg1-x542.google.com (mail-pg1-x542.google.com [IPv6:2607:f8b0:4864:20::542]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47z5mJ1M35z43JB; Thu, 16 Jan 2020 14:14:24 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: by mail-pg1-x542.google.com with SMTP id k3so9964304pgc.3; Thu, 16 Jan 2020 06:14:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=content-transfer-encoding:from:mime-version:subject:date:message-id :references:cc:in-reply-to:to; bh=aqiL4CIs5/v2uS5oznFekBJwzvuSCthYoMbz/9DkQtg=; b=SBNdub4zCsJv9QNfValWccwXie1ln+5FvnhkUHQ3/rsV7McSk2orrW9yOUWtTWIXof M5Yv/CTsMy11tZlc4xqcBhX3ml63oXnvnt/AlOJPakuqmgMiY6xG/vr2nt8ILTgUBnk8 sSu2FtxQxQYx6KZ7zSeAZyY9pECU6BtTDtCfWgY+HcgvtvfVSy+hOOEtKAsBUPPYhBNT GLuPJZmQ8i1lTuxkbj7HzsR5RQ8ToToEc4gsNEEr/oLMt07ITyyR7V5MeT+4h870033+ WTkPJ8Vz0Mamqnd+4fPKsoIToynL8+KupmWAfFD30TT+gyj4c7grtyZr1+QIDdT0/izM ehXA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:content-transfer-encoding:from:mime-version :subject:date:message-id:references:cc:in-reply-to:to; bh=aqiL4CIs5/v2uS5oznFekBJwzvuSCthYoMbz/9DkQtg=; b=oF5XwTqpyu47skdV58PT4/kG9kMA0D43989i33hz+ur/qPgTt/+ZkfGhFcB2RQk9DQ 5prcH6uWaSv3zvw1FU3187vMwhETsT/QVS25y6IFqb4rYyC7U83lMsDJ3TL0mSvGFWm2 TlmJW3Gjm/3SQvIPj3zJAt/RI5DKkn64IfwUYpHtyepFBDI3CCtwrnrWewbTAqXSI112 vogKATNAV1X2CvIQKWD7aNBCDGGP3Iy3e3z+TOMCTtI8MWthKZBGWuPrRKYmd6CyjA7+ JgxQ4ev6pojUvHWt1ULWjk79dpbq22rkdM47idv/9Bx7/kOficN+GhdZe0ckhvYJ7L9I 21wg== X-Gm-Message-State: APjAAAWLcg5j1zDwtyyiLaJMt8e/w0QYYGfMXjBmlXQijcGpk+1XpXt5 VKpSXizWELgqFxnjFSGFRaCWAHChVRc= X-Google-Smtp-Source: APXvYqze8s77fywePo9pVared4mcb4B7dYCU8qNT+dM5j9W0jhslasWpaQpIZzMf53XaunW0d37ivw== X-Received: by 2002:a63:450:: with SMTP id 77mr39308248pge.290.1579184062237; Thu, 16 Jan 2020 06:14:22 -0800 (PST) Received: from [192.168.21.6] (c-73-19-52-228.hsd1.wa.comcast.net. [73.19.52.228]) by smtp.gmail.com with ESMTPSA id k21sm24740199pgt.22.2020.01.16.06.14.21 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 16 Jan 2020 06:14:21 -0800 (PST) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable From: Enji Cooper Mime-Version: 1.0 (1.0) Subject: Re: github and other one-per-world services. Date: Thu, 16 Jan 2020 06:14:21 -0800 Message-Id: <7EA2C880-A370-4C21-A36A-388C3B6E6515@gmail.com> References: Cc: Gary Jennejohn , "jrm@freebsd.org" , Domagoj Smol??i?? , freebsd-hackers@freebsd.org, Greg 'groggy' Lehey , FreeBSD Core Team Secretary In-Reply-To: To: Wojciech Puchar X-Mailer: iPhone Mail (17C54) X-Rspamd-Queue-Id: 47z5mJ1M35z43JB X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=SBNdub4z; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of yaneurabeya@gmail.com designates 2607:f8b0:4864:20::542 as permitted sender) smtp.mailfrom=yaneurabeya@gmail.com X-Spamd-Result: default: False [-2.50 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; MV_CASE(0.50)[]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCPT_COUNT_SEVEN(0.00)[7]; RECEIVED_SPAMHAUS_PBL(0.00)[228.52.19.73.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.10]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE(0.00)[ip: (-0.71), ipnet: 2607:f8b0::/32(-2.09), asn: 15169(-1.83), country: US(-0.05)]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2.4.5.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; FREEMAIL_CC(0.00)[gmail.com]; RCVD_TLS_ALL(0.00)[] 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: Thu, 16 Jan 2020 14:14:25 -0000 > On Jan 16, 2020, at 05:49, Wojciech Puchar wrote: ... > no it is not. It should be his own git repository located on his account a= nd/or his server. git doesn't even need special servers to be set up. My pronouns are they/she, not he. -Enji= From owner-freebsd-hackers@freebsd.org Thu Jan 16 14:34:29 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 120AD1E98C8 for ; Thu, 16 Jan 2020 14:34:29 +0000 (UTC) (envelope-from wojtek@puchar.net) Received: from puchar.net (puchar.net [194.1.144.90]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 47z6CS1BWqz4546; Thu, 16 Jan 2020 14:34:27 +0000 (UTC) (envelope-from wojtek@puchar.net) Received: Received: from 127.0.0.1 (localhost [127.0.0.1]) by puchar.net (8.15.2/8.15.2) with ESMTPS id 00GEYNrH014482 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 16 Jan 2020 15:34:24 +0100 (CET) (envelope-from puchar-wojtek@puchar.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=puchar.net; s=default; t=1579185265; bh=fUVaTv40DqVrjVNuEQP4rHiQotZIuwdGRKiUjM5uZZU=; h=Date:From:To:cc:Subject; b=cwL7vY4+L9ATReGXvuHsDhe2ERNGPnKIyAJKuWIOlXIor2fj2EuuiUcP0eEDJsqck kJZtCqfB1uTxjFB3EnaGtJqgjcFFFaKJtDY0MCaGHtzmk5XGb3XConjEkbHOAcwhTt 5oC9Mw/JYs+LCb/TAXnJoJU5aF4SxGGaaz55yUe4= Received: from localhost (puchar-wojtek@localhost) by puchar.net (8.15.2/8.15.2/Submit) with ESMTP id 00GEYNkD014479; Thu, 16 Jan 2020 15:34:23 +0100 (CET) (envelope-from puchar-wojtek@puchar.net) Date: Thu, 16 Jan 2020 15:34:23 +0100 (CET) From: Wojciech Puchar To: Enji Cooper cc: Wojciech Puchar , "Greg 'groggy' Lehey" , Domagoj Smol??i?? , freebsd-hackers@freebsd.org, "jrm@freebsd.org" , FreeBSD Core Team Secretary Subject: github and other one-per-world corposervers Message-ID: User-Agent: Alpine 2.20 (BSF 67 2015-01-07) MIME-Version: 1.0 X-Rspamd-Queue-Id: 47z6CS1BWqz4546 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=fail (rsa verify failed) header.d=puchar.net header.s=default header.b=cwL7vY4+; dmarc=none; spf=pass (mx1.freebsd.org: domain of wojtek@puchar.net designates 194.1.144.90 as permitted sender) smtp.mailfrom=wojtek@puchar.net X-Spamd-Result: default: False [-2.87 / 15.00]; ARC_NA(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; NEURAL_HAM_MEDIUM(-0.87)[-0.871,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_DKIM_REJECT(1.00)[puchar.net:s=default]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[multipart/mixed,text/plain]; DMARC_NA(0.00)[puchar.net]; NEURAL_HAM_LONG(-1.00)[-0.997,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[puchar.net:-]; CTYPE_MIXED_BOGUS(1.00)[]; RCVD_IN_DNSWL_NONE(0.00)[90.144.1.194.list.dnswl.org : 127.0.10.0]; RCPT_COUNT_SEVEN(0.00)[7]; IP_SCORE(-2.70)[ip: (-7.14), ipnet: 194.1.144.0/24(-3.57), asn: 43476(-2.86), country: PL(0.07)]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:43476, ipnet:194.1.144.0/24, country:PL]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8BIT X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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: Thu, 16 Jan 2020 14:34:29 -0000 > > I respect your choice not to use Github. I would like the same respect in return, but I don’t expect it. Give everything in your life to few selected corpos. Give all of your freedom and all your personality to them. For free! Most people already did this. Possibly they now feel lighter :) But can then be considered humans anymore? > > Let’s move on and stay on topic. Bruce Evans should be the focus, not a bikeshed on the virtues and demerits of github and backup methods. > > > > -Enji > > From owner-freebsd-hackers@freebsd.org Thu Jan 16 14:47:28 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 CF5671EA56B for ; Thu, 16 Jan 2020 14:47:28 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from phk.freebsd.dk (phk.freebsd.dk [130.225.244.222]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 47z6VR4Jphz46HZ; Thu, 16 Jan 2020 14:47:26 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (v-critter.freebsd.dk [192.168.55.3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by phk.freebsd.dk (Postfix) with ESMTPS id 314231AF102; Thu, 16 Jan 2020 14:47:19 +0000 (UTC) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.15.2/8.15.2) with ESMTPS id 00GElIPJ080777 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Thu, 16 Jan 2020 14:47:18 GMT (envelope-from phk@critter.freebsd.dk) Received: (from phk@localhost) by critter.freebsd.dk (8.15.2/8.15.2/Submit) id 00GElHOn080776; Thu, 16 Jan 2020 14:47:17 GMT (envelope-from phk) To: Wojciech Puchar cc: Enji Cooper , "jrm@freebsd.org" , Domagoj Smol??i?? , freebsd-hackers@freebsd.org, "Greg 'groggy' Lehey" , FreeBSD Core Team Secretary Subject: Re: github and other one-per-world corposervers In-reply-to: From: "Poul-Henning Kamp" References: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <80774.1579186036.1@critter.freebsd.dk> Content-Transfer-Encoding: quoted-printable Date: Thu, 16 Jan 2020 14:47:17 +0000 Message-ID: <80775.1579186037@critter.freebsd.dk> X-Rspamd-Queue-Id: 47z6VR4Jphz46HZ X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of phk@critter.freebsd.dk designates 130.225.244.222 as permitted sender) smtp.mailfrom=phk@critter.freebsd.dk X-Spamd-Result: default: False [-0.98 / 15.00]; ARC_NA(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; NEURAL_HAM_MEDIUM(-0.05)[-0.052,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; NEURAL_HAM_LONG(-0.97)[-0.968,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[freebsd.dk]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_SEVEN(0.00)[7]; IP_SCORE(0.04)[ip: (0.07), ipnet: 130.225.0.0/16(0.07), asn: 1835(0.09), country: EU(-0.01)]; FORGED_SENDER(0.30)[phk@phk.freebsd.dk,phk@critter.freebsd.dk]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:1835, ipnet:130.225.0.0/16, country:EU]; FROM_NEQ_ENVFROM(0.00)[phk@phk.freebsd.dk,phk@critter.freebsd.dk]; RCVD_TLS_ALL(0.00)[]; FREEMAIL_CC(0.00)[gmail.com] 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: Thu, 16 Jan 2020 14:47:28 -0000 -------- In message , Wojciech Puch= ar writes: > Give everything in your life to few selected corpos. Give all of your = > freedom and all your personality to them. For free! Most people already = > did this. Possibly they now feel lighter :) > = > But can then be considered humans anymore? We used to have a principle here in the FreeBSD project: "We deliver tools, not policies". That applies to our mailing lists too. -- = Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe = Never attribute to malice what can adequately be explained by incompetence= . From owner-freebsd-hackers@freebsd.org Thu Jan 16 14:53: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 75D451EA993 for ; Thu, 16 Jan 2020 14:53:00 +0000 (UTC) (envelope-from mozolevsky@gmail.com) Received: from mail-ot1-f51.google.com (mail-ot1-f51.google.com [209.85.210.51]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47z6cq31lGz46sC; Thu, 16 Jan 2020 14:52:59 +0000 (UTC) (envelope-from mozolevsky@gmail.com) Received: by mail-ot1-f51.google.com with SMTP id m2so14739913otq.3; Thu, 16 Jan 2020 06:52:59 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=MPcjmwKc35cmF9bglzEt9wzZatP7iixtEhanAQXo6RE=; b=AXIwG2x7CUD/7ly3YNc7Dv1diyiX1zzJg8j6m5uipV3ywZDXxt6eYNJeKMmFzaD57X xo1Lc/wD5Ad6HVNaN75jQkJ8QWbb8AKzxAanHWUu+TgRaEgyiClcWBEtOwxNwIiKHezZ PQPb/SA1vgtgZwkRWeHfnknXFqsk8COQiCgErJMLKgQhG1lA1VEIlZ6tJ2UavxGrYU2L 9HJwo3P6pRstrabT6fqdYTG8wh5fxSHK9VWG4VihoHOfTzSkYNvzXF2DOuhf2dlaA+5D DHQItqReHNph6GcbZAaAhrSWSkxvkTkXeK+mZqkPOUfHDe3r532OdWWFbh8eM9ZiXgI1 DWBQ== X-Gm-Message-State: APjAAAXgTcwP/nWoAaJpyoaIvTI3hCMWheQHZ+u8gh89ivkUr4W9YBvy wptGQG6bjlxkY5vQZeSpB+Lvnb27b4aSxEGbVh9S5Nvr X-Google-Smtp-Source: APXvYqwCszKJLs3XcLSVpo5ImnnijCxJkVX1okCH+KURe8cbZIjrScMTqM8T39kakhFg3hEkeda0sZa6nqLIVJLfOxU= X-Received: by 2002:a9d:ec1:: with SMTP id 59mr2213105otj.141.1579186378114; Thu, 16 Jan 2020 06:52:58 -0800 (PST) MIME-Version: 1.0 References: <80775.1579186037@critter.freebsd.dk> In-Reply-To: <80775.1579186037@critter.freebsd.dk> From: Igor Mozolevsky Date: Thu, 16 Jan 2020 15:00:07 +0000 Message-ID: Subject: Re: github and other one-per-world corposervers To: Poul-Henning Kamp Cc: Wojciech Puchar , "jrm@freebsd.org" , "Domagoj Smol??i??" , Hackers freeBSD , "Greg 'groggy' Lehey" , Enji Cooper , FreeBSD Core Team Secretary Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 47z6cq31lGz46sC X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of mozolevsky@gmail.com designates 209.85.210.51 as permitted sender) smtp.mailfrom=mozolevsky@gmail.com X-Spamd-Result: default: False [-3.20 / 15.00]; ARC_NA(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[hybrid-lab.co.uk]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; RWL_MAILSPIKE_GOOD(0.00)[51.210.85.209.rep.mailspike.net : 127.0.0.18]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_SEVEN(0.00)[8]; RCVD_IN_DNSWL_NONE(0.00)[51.210.85.209.list.dnswl.org : 127.0.5.0]; IP_SCORE(-1.21)[ip: (-1.07), ipnet: 209.85.128.0/17(-3.08), asn: 15169(-1.83), country: US(-0.05)]; FORGED_SENDER(0.30)[igor@hybrid-lab.co.uk,mozolevsky@gmail.com]; MIME_TRACE(0.00)[0:+]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; FROM_NEQ_ENVFROM(0.00)[igor@hybrid-lab.co.uk,mozolevsky@gmail.com]; RCVD_COUNT_TWO(0.00)[2] 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: Thu, 16 Jan 2020 14:53:00 -0000 On Thu, 16 Jan 2020 at 14:47, Poul-Henning Kamp wrote: > We used to have a principle here in the FreeBSD project: > > "We deliver tools, not policies". > > That applies to our mailing lists too. Erm... https://www.freebsd.org/internal/code-of-conduct.html Can make that sweeping statement no more, methinks!.. -- Igor M. From owner-freebsd-hackers@freebsd.org Thu Jan 16 14:56:43 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 674501EAE27 for ; Thu, 16 Jan 2020 14:56:43 +0000 (UTC) (envelope-from wojtek@puchar.net) Received: from puchar.net (puchar.net [194.1.144.90]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 47z6j64pFnz47Kw; Thu, 16 Jan 2020 14:56:42 +0000 (UTC) (envelope-from wojtek@puchar.net) Received: Received: from 127.0.0.1 (localhost [127.0.0.1]) by puchar.net (8.15.2/8.15.2) with ESMTPS id 00GEubu5027618 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 16 Jan 2020 15:56:38 +0100 (CET) (envelope-from puchar-wojtek@puchar.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=puchar.net; s=default; t=1579186599; bh=k7pgUyF5tjKLIWaMXTsBh5VeQMITUeB1ILjKx+m6RCQ=; h=Date:From:To:cc:Subject:In-Reply-To:References; b=XL2eV1HLnKrapGc+B4NmHDDJq/p/zIz9aNNv8Uadd/+jobtd/3KP9A0DcoOZDYoxt 05lP9SjG5hiTlpuIvO2zGBL5iyvj0kjnvaN+Qd54AEk9MAmKRc97p1FDT9qIMvA2ur 3pQURxquqDlsdEXEBsLa1mQTrmr4ysqU0ft5P6yI= Received: from localhost (puchar-wojtek@localhost) by puchar.net (8.15.2/8.15.2/Submit) with ESMTP id 00GEub5n027614; Thu, 16 Jan 2020 15:56:37 +0100 (CET) (envelope-from puchar-wojtek@puchar.net) Date: Thu, 16 Jan 2020 15:56:37 +0100 (CET) From: Wojciech Puchar To: Poul-Henning Kamp cc: Wojciech Puchar , "jrm@freebsd.org" , Domagoj Smol??i?? , freebsd-hackers@freebsd.org, "Greg 'groggy' Lehey" , Enji Cooper , FreeBSD Core Team Secretary Subject: Re: github and other one-per-world corposervers In-Reply-To: <80775.1579186037@critter.freebsd.dk> Message-ID: References: <80775.1579186037@critter.freebsd.dk> User-Agent: Alpine 2.20 (BSF 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-Rspamd-Queue-Id: 47z6j64pFnz47Kw X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=fail (rsa verify failed) header.d=puchar.net header.s=default header.b=XL2eV1HL; dmarc=none; spf=pass (mx1.freebsd.org: domain of wojtek@puchar.net designates 194.1.144.90 as permitted sender) smtp.mailfrom=wojtek@puchar.net X-Spamd-Result: default: False [-3.99 / 15.00]; ARC_NA(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; NEURAL_HAM_MEDIUM(-0.99)[-0.995,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+mx:c]; R_DKIM_REJECT(1.00)[puchar.net:s=default]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[puchar.net]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[puchar.net:-]; RCPT_COUNT_SEVEN(0.00)[8]; RCVD_IN_DNSWL_NONE(0.00)[90.144.1.194.list.dnswl.org : 127.0.10.0]; IP_SCORE(-2.69)[ip: (-7.12), ipnet: 194.1.144.0/24(-3.56), asn: 43476(-2.85), country: PL(0.07)]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:43476, ipnet:194.1.144.0/24, country:PL]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_COUNT_TWO(0.00)[2] 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: Thu, 16 Jan 2020 14:56:43 -0000 >> But can then be considered humans anymore? > > We used to have a principle here in the FreeBSD project: > > "We deliver tools, not policies". That's great about FreeBSD and i thank all developers for that. and i wish it would be as long as possible. As well as NOT doing things that owner/admin didn't explicitly want to be done. But few things turned yellow light in me - like removal of rlogin/rsh/rcp/rshd from base system. OK it can be installed from ports but i don't understand the idea of removing SIMPLE tools while still leaving complex ones - ssh/sshd. Could anyone explain my the reason? From owner-freebsd-hackers@freebsd.org Thu Jan 16 15:31:05 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 CF8B91EC3D5 for ; Thu, 16 Jan 2020 15:31:05 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: from mail-pg1-x532.google.com (mail-pg1-x532.google.com [IPv6:2607:f8b0:4864:20::532]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47z7Sm6qC4z49t0; Thu, 16 Jan 2020 15:31:04 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: by mail-pg1-x532.google.com with SMTP id x8so10050124pgk.8; Thu, 16 Jan 2020 07:31:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=content-transfer-encoding:from:mime-version:subject:date:message-id :references:cc:in-reply-to:to; bh=Dv6zAzsQlV+UsgqJ7oQAfmT7ahfMAr5pB9ctLwIDR2w=; b=jWahD3D/dWrYEqEQUOfjxaAlEts75mjRx182geo2AtzBa6qw+AQ0AQ2Om/EklKrFq/ p9jGqMFSijWb1pNAonPzkiBQHVQQduJ0KxY5DBPtP8M3bvf8XPt+/cJiCoDjV4d6EEu/ yL8DlHsmN6o7a5RLs6Sb99LM9VUAEAL2yxItujdrX/ciMuY9E9pSKUVgfKivp0Dn9CJn eSk8ytaeC/wH5Hqa7sbTkb7yLpqCfeG31yopl6qfDRWOYJJwNX8jBYO6F7pCUOT1FBv2 Tk9Jwhk6IGaLbeh0Uiod1iORNFw0l7vw+9CO8/0SR6bXFllzrDuMaW3Y2+5FHfizLiCN aEhQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:content-transfer-encoding:from:mime-version :subject:date:message-id:references:cc:in-reply-to:to; bh=Dv6zAzsQlV+UsgqJ7oQAfmT7ahfMAr5pB9ctLwIDR2w=; b=jGEFQmoiTCFqpzJZdPbjGKPT3ucWo9eghpAddsJmkhZ/XG4NV474gnv4b7moXGczLO uzz5cEDFZXqnoFILwBlCDe1JL5tQVkMdLcUvmCDfJX2L/23iy7oimcweeuT+/f2iGKlu UWgjB1J4YF6qA5VF2x4ePbZGpHm5ZvVVt+MEiaY5PyxMC8OHfXYmwfS+VmAa8g6UtW2w vb6P7inrWRO1U3nXHNGvq09VJSUX2agzxgw45Cp3jF+3AN0eXfgU22eU6IkTnB1p7SqH RZxTvuI7QbG0bWG+WeAExmC3ITx6PTBfr3uf3GyydZSKvV4Aug+MhnQ3MGGbjQ/2XZhz QS6w== X-Gm-Message-State: APjAAAXU4020yEEWFxvrzWZd3zEnjXetl2rxGD3V94daZf0++MqS055i E23yaG+fXFNOFgwkT+owqVipYabtg1o= X-Google-Smtp-Source: APXvYqxEC4nnAXZuSYesGPM+vEdut/UvFo0dtZWntW9Fei4A9XSMwXdOt5CDH9lRc0Hw0BzBvVIlYg== X-Received: by 2002:a63:7311:: with SMTP id o17mr37844577pgc.29.1579188662489; Thu, 16 Jan 2020 07:31:02 -0800 (PST) Received: from [192.168.20.22] (c-73-19-52-228.hsd1.wa.comcast.net. [73.19.52.228]) by smtp.gmail.com with ESMTPSA id u1sm24803578pfn.133.2020.01.16.07.30.59 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 16 Jan 2020 07:31:01 -0800 (PST) From: Enji Cooper Mime-Version: 1.0 (1.0) Subject: Re: github and other one-per-world corposervers Date: Thu, 16 Jan 2020 07:30:59 -0800 Message-Id: References: Cc: Greg 'groggy' Lehey , Domagoj Smol??i?? , freebsd-hackers@freebsd.org, "jrm@freebsd.org" , FreeBSD Core Team Secretary In-Reply-To: To: Wojciech Puchar X-Mailer: iPhone Mail (17C54) X-Rspamd-Queue-Id: 47z7Sm6qC4z49t0 X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=jWahD3D/; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of yaneurabeya@gmail.com designates 2607:f8b0:4864:20::532 as permitted sender) smtp.mailfrom=yaneurabeya@gmail.com X-Spamd-Result: default: False [-1.50 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; MV_CASE(0.50)[]; URI_COUNT_ODD(1.00)[3]; RCPT_COUNT_FIVE(0.00)[6]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RECEIVED_SPAMHAUS_PBL(0.00)[228.52.19.73.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.10]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; IP_SCORE(0.00)[ip: (-8.98), ipnet: 2607:f8b0::/32(-2.09), asn: 15169(-1.83), country: US(-0.05)]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2.3.5.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; RCVD_TLS_ALL(0.00)[] Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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: Thu, 16 Jan 2020 15:31:05 -0000 > On Jan 16, 2020, at 06:34, Wojciech Puchar wrote: >=20 >> I respect your choice not to use Github. I would like the same respect in= return, but I don=E2=80=99t expect it. >=20 > Give everything in your life to few selected corpos. Give all of your free= dom and all your personality to them. For free! Most people already did this= . Possibly they now feel lighter :) >=20 > But can then be considered humans anymore? A picture of literally how much I care about this conversation right now: ht= tps://www.dropbox.com/s/18hh5q3rqu7v1so/Photo%20Jan%2016%2C%2007%2026%2035.j= pg?dl=3D0 . Convo muted, since the signal to noise ratio is low. -Enji From owner-freebsd-hackers@freebsd.org Thu Jan 16 15:32:19 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 6BDFA1EC6C3 for ; Thu, 16 Jan 2020 15:32:19 +0000 (UTC) (envelope-from alexpro.ewr@gmail.com) Received: from mail-ed1-x543.google.com (mail-ed1-x543.google.com [IPv6:2a00:1450:4864:20::543]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47z7VB3X2yz4BCq for ; Thu, 16 Jan 2020 15:32:18 +0000 (UTC) (envelope-from alexpro.ewr@gmail.com) Received: by mail-ed1-x543.google.com with SMTP id t17so19285137eds.6 for ; Thu, 16 Jan 2020 07:32:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=to:from:subject:message-id:date:user-agent:mime-version :content-language; bh=8XbqbRvxpA8RNgJbc0ROvUQ2LRSBVPqa10DvraA+5NQ=; b=M0AO8kri27G5yETs4X06XA33IjuFNiK9jKY50qGR5islubFkYNio+dZb8pvnT2D7md nqGZ5wsj7ScwtxCy2AnMfhclNFbrKr5ZUTO7o636lQIaJG6AkuI9Cl3K+4bc5/muLtRk C4XLTKNQcy38CIQQglI+agkYy+M6KVa/e/kBQTLdk72+g4rodb8RtKw7SL0zPT1IpTg2 9plXX9F4UzTXRAvNiGWpiWOvuI6J3+g3wTW/IssCn3KImf1yxxRs5gQeb3nd0yQAtj39 baP1he+IZB5fauc88oOZiBlEHp51dNZIWY5d4PjTFOHxuJQkpCeetsN8JyZ10jB6wM+j xFgw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-language; bh=8XbqbRvxpA8RNgJbc0ROvUQ2LRSBVPqa10DvraA+5NQ=; b=tCd4nb/Ff+xLLBR8aewFbR57FMkI/hu/pGQWTQefxhRsChZsl3doyxtYMBdMbB7Cks Pso6BxDsgFZhabLunETimSxr/BCxLQsKQlsaXYqsHHzODplfBrqWZYO5XtsnBmDRlvSx TUjPr/cTwk4Ae9YbDI+FheDp5VkZsekXl9pMwwoKCjxLRWZfoTeyIWXAJJNsS0PL+vCM ignZwvP6CgunDDnOET1AN/itiPtHmf+1gCZfY5ax2j/yaOwMSOsgXOHorRvJJxJRmZGL QfGV9q720d3lzHACAp52zXHbh6dH+CEMDzgwyVIznTH9Fhg+h7mWOOGpdhQoA68Gxx3Z aL4g== X-Gm-Message-State: APjAAAWfMzw/1rI87eKZFEQNKznYrZuucfkVPeeTUXf9XmSBWsK7Ubur 0k1K2k88+fHkJFfkx2gkvB81hZ88 X-Google-Smtp-Source: APXvYqw0dk2fTcrG08bROMnVIKcPjJVV1+cmhgpYk9l6CDbWq+zJFLk4JCxWiJO/f6r6FlfRi33PXQ== X-Received: by 2002:a2e:95c4:: with SMTP id y4mr2699987ljh.38.1579188369176; Thu, 16 Jan 2020 07:26:09 -0800 (PST) Received: from [192.168.200.55] (city-gw.homelan.lg.ua. [194.0.206.33]) by smtp.googlemail.com with ESMTPSA id i197sm10810339lfi.56.2020.01.16.07.26.08 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 16 Jan 2020 07:26:08 -0800 (PST) To: freebsd-hackers@freebsd.org From: =?UTF-8?B?0JDQu9C10LrRgdC10Lkg0J/RgNC+0LrQvtC/0YfRg9C6?= Subject: Porting pf from current OpenBSD to FreeBSD Message-ID: <8f975ad7-e326-1472-e8e0-88cf69dd9131@gmail.com> Date: Thu, 16 Jan 2020 17:25:57 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.1 MIME-Version: 1.0 Content-Language: ru-RU X-Rspamd-Queue-Id: 47z7VB3X2yz4BCq X-Spamd-Bar: +++++ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=M0AO8kri; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of alexproewr@gmail.com designates 2a00:1450:4864:20::543 as permitted sender) smtp.mailfrom=alexproewr@gmail.com X-Spamd-Result: default: False [5.83 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(0.00)[+ip6:2a00:1450:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(0.00)[gmail.com,none]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; TAGGED_FROM(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; RECEIVED_SPAMHAUS_XBL(5.00)[33.206.0.194.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.4]; R_DKIM_ALLOW(0.00)[gmail.com:s=20161025]; NEURAL_HAM_MEDIUM(-0.06)[-0.063,0]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org]; IP_SCORE_FREEMAIL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; BAD_REP_POLICIES(0.10)[]; IP_SCORE(0.00)[ip: (0.15), ipnet: 2a00:1450::/32(-2.59), asn: 15169(-1.83), country: US(-0.05)]; NEURAL_SPAM_LONG(0.90)[0.895,0]; RCVD_IN_DNSWL_NONE(0.00)[3.4.5.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.5.4.1.0.0.a.2.list.dnswl.org : 127.0.5.0]; RCVD_TLS_ALL(0.00)[]; GREYLIST(0.00)[pass,body] Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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: Thu, 16 Jan 2020 15:32:19 -0000 Greetings! Now I'm trying to port the current pf from OpenBSD to current FreeBSD. As a separate module this time, without any changes in the FreeBSD kernel code. There are quite lot of inconsistencies - counters, tasks, crypto, routing domains, mbuf, inpcb and others. In your opinion, what is the best way to solve the inconsistencies with the current kernel? In case of inpcb I've created a structure containing the inpcb itself and additional members, which are OpenBSD - specific. In case of routing domains I've decided to always use the default value 0 and make a function stub rtable_l2(), which returns 0 in all cases. In case of the tasks I intend to use tasqueue "swi" for the enqueue task. I have almost no experience in the development of the FreeBSD kernel, perhaps you could give me the cue as to where I'm making mistakes. From owner-freebsd-hackers@freebsd.org Thu Jan 16 20:27:31 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 325551F4C0D for ; Thu, 16 Jan 2020 20:27:31 +0000 (UTC) (envelope-from kp@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47zG2q09jbz4Y0b; Thu, 16 Jan 2020 20:27:31 +0000 (UTC) (envelope-from kp@FreeBSD.org) Received: from venus.codepro.be (venus.codepro.be [5.9.86.228]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx1.codepro.be", Issuer "Let's Encrypt Authority X3" (verified OK)) (Authenticated sender: kp) by smtp.freebsd.org (Postfix) with ESMTPSA id C77854EB0; Thu, 16 Jan 2020 20:27:30 +0000 (UTC) (envelope-from kp@FreeBSD.org) Received: from [10.10.132.11] (ptr-8rhrmjx008fpizswhqy.18120a2.ip6.access.telenet.be [IPv6:2a02:1811:2413:632:413d:fbaf:d71b:89da]) (Authenticated sender: kp) by venus.codepro.be (Postfix) with ESMTPSA id 3C4EE1B21F; Thu, 16 Jan 2020 21:27:29 +0100 (CET) From: "Kristof Provost" To: "=?utf-8?b?0JDQu9C10LrRgdC10Lkg0J/RgNC+0LrQvtC/0YfRg9C6?=" Cc: freebsd-hackers@freebsd.org Subject: Re: Porting pf from current OpenBSD to FreeBSD Date: Thu, 16 Jan 2020 21:27:28 +0100 X-Mailer: MailMate (1.13.1r5671) Message-ID: In-Reply-To: <8f975ad7-e326-1472-e8e0-88cf69dd9131@gmail.com> References: <8f975ad7-e326-1472-e8e0-88cf69dd9131@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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: Thu, 16 Jan 2020 20:27:31 -0000 On 16 Jan 2020, at 16:25, Алексей Прокопчук wrote: > Now I'm trying to port the current pf from OpenBSD to current FreeBSD. > As a separate module this time, without any changes in the FreeBSD > kernel code. > That’s one of the better ways of trying to update our pf, yes. I wrote a more extensive e-mail about this a while ago (https://lists.freebsd.org/pipermail/freebsd-pf/2019-April/009094.html), but briefly, there are three main areas of concern for a pf update. - performance: OpenBSD’s version is still limited to running on one core at a time. - vnet: OpenBSD has no direct equivalent - syntax differences would break existing rulesets The last one of those is not a concern for your project right now. VNET support is also optional, and all in all relatively straightforward to add afterwards. The performance aspect of it isI’d worry about that only once you’ve gotten an OpenBSD pf working though. Many users will be satisfied with the performance of OpenBSD’s version. When we’ve vaguely discussed this the suggestion was to treat this as a port, rather than as something that’d go into the base system. (We don’t want to add a fourth firewall, after all!). Still, that doesn’t affect this project too much. > There are quite lot of inconsistencies - counters, tasks, crypto, > routing domains, mbuf, inpcb and others. > In your opinion, what is the best way to solve the inconsistencies > with the current kernel? > That is an excellent question I do not have an immediate answer to. > In case of inpcb I've created a structure containing the inpcb itself > and additional members, which are OpenBSD - specific. My recollection is that we really only need the inpcb for the user matching code. For a first version you might be able to get away with just disabling that feature. In any case, I don’t expect we use many fields from the inpcb. > In case of routing domains I've decided to always use the default > value 0 and make a function stub rtable_l2(), which returns 0 in all > cases. A good initial shortcut. I’m not familiar enough with rtables to say for sure, but aren’t they somewhat comparable to our fibs? > In case of the tasks I intend to use tasqueue "swi" for the enqueue > task. > Yeah, that’s what the FreeBSD pf version does too. > I have almost no experience in the development of the FreeBSD kernel, > perhaps you could give me the cue as to where I'm making mistakes. > Do you have an in-progress tree somewhere? Best regards, Kristof From owner-freebsd-hackers@freebsd.org Fri Jan 17 15:40:23 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 095E01F1960; Fri, 17 Jan 2020 15:40:23 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: from mail-io1-f41.google.com (mail-io1-f41.google.com [209.85.166.41]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47zld21mDkz4d17; Fri, 17 Jan 2020 15:40:22 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: by mail-io1-f41.google.com with SMTP id i7so18024582ioo.5; Fri, 17 Jan 2020 07:40:22 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=mQN3BExkO/1ZNExpcGCUnU83Vh6dKx/hUkcXHSp0Fzs=; b=rTL8onmsL0hI+rgV8sHD1kf8ZdAmHiUizEIdoszBl/Bhc8W1ZJgz0hweLq6GuLm1jx jL085kusOZLOAWEmxtezhL9eQDUF3fwTkuXq8oZxhAngcs8z2WaovHNhCIe2ZKx/J+UQ +e+Bq1AKJfxbFnyB5I+RsYteWchmaHz7HsmYGFIMVCF6ukemHm5aKZZrgnpDybTaEM/Q V80Yt7pnXrb9r9xrqWuZfkIuVm8zs/H8gIYI+V8GAF2qjzVYpaWaqjVlfPs8Vvkg4JUP gXPnMTZUenIWeT2Wm+3PJ6VxvKhQmPE7Vcw2+ehdY5V/LNo4s92HpB35BPBBNxDwZRaS RNaw== X-Gm-Message-State: APjAAAWRw4+trMs8HtkKZK1sAB+ivhbZcunGkROa8UJlwaWyH2QfsaGr rpU/RA/gCVM8ZdKgKgI7yHX5CK9L2LsLReW7jybMOpQt X-Google-Smtp-Source: APXvYqw18kUc/t61h0p6F0i/IyU+HAm1IV2AZSCiKk8a6rSPWFltMhLNR8WUMVWH3tm2ZvZM2wqkXyN248JYSzUfpGE= X-Received: by 2002:a6b:db12:: with SMTP id t18mr29332815ioc.11.1579275620639; Fri, 17 Jan 2020 07:40:20 -0800 (PST) MIME-Version: 1.0 From: Ed Maste Date: Fri, 17 Jan 2020 10:40:09 -0500 Message-ID: Subject: Turn off PROFILE option and remove WITH_PROFILE after FreeBSD 13? To: FreeBSD Current , FreeBSD Hackers Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 47zld21mDkz4d17 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of carpeddiem@gmail.com designates 209.85.166.41 as permitted sender) smtp.mailfrom=carpeddiem@gmail.com X-Spamd-Result: default: False [-2.79 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; DMARC_NA(0.00)[freebsd.org]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; IP_SCORE(-1.79)[ip: (-4.01), ipnet: 209.85.128.0/17(-3.07), asn: 15169(-1.83), country: US(-0.05)]; TO_DN_ALL(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[41.166.85.209.list.dnswl.org : 127.0.5.0]; FORGED_SENDER(0.30)[emaste@freebsd.org,carpeddiem@gmail.com]; RWL_MAILSPIKE_POSSIBLE(0.00)[41.166.85.209.rep.mailspike.net : 127.0.0.17]; R_DKIM_NA(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; FROM_NEQ_ENVFROM(0.00)[emaste@freebsd.org,carpeddiem@gmail.com]; FREEMAIL_ENVFROM(0.00)[gmail.com]; RCVD_COUNT_TWO(0.00)[2] 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: Fri, 17 Jan 2020 15:40:23 -0000 As far as I can tell most/all developers have used sampling-based profiling for years (e.g. hwpmc on FreeBSD) and have not been using gprof-based profiling. Prompted by followup to a pkgbase tweak I committed relating to profiling libraries[1] I propose following Brooks' suggestion: * turn off the PROFILE option by default now, in advance of the FreeBSD 13 branch (WITH_PROFILE will remain available) * update the WITH_PROFILE description in src.conf(5) to mention that it's deprecated * remove support for WITH_PROFILE after FreeBSD 13 branches Any comments on this plan? Does anyone use the -pg compiler flag and the _p.a profiling library archives? [1] https://lists.freebsd.org/pipermail/svn-src-all/2020-January/192566.html From owner-freebsd-hackers@freebsd.org Fri Jan 17 17:19:53 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 D3E721F4AA4; Fri, 17 Jan 2020 17:19:53 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.95.76.21]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "troutmask", Issuer "troutmask" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 47znqs4jZBz3JxF; Fri, 17 Jan 2020 17:19:53 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (localhost [127.0.0.1]) by troutmask.apl.washington.edu (8.15.2/8.15.2) with ESMTPS id 00HHJoYn001554 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Fri, 17 Jan 2020 09:19:50 -0800 (PST) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.15.2/8.15.2/Submit) id 00HHJown001553; Fri, 17 Jan 2020 09:19:50 -0800 (PST) (envelope-from sgk) Date: Fri, 17 Jan 2020 09:19:50 -0800 From: Steve Kargl To: Ed Maste Cc: FreeBSD Current , FreeBSD Hackers Subject: Re: Turn off PROFILE option and remove WITH_PROFILE after FreeBSD 13? Message-ID: <20200117171950.GA79297@troutmask.apl.washington.edu> Reply-To: sgk@troutmask.apl.washington.edu References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.12.2 (2019-09-21) X-Rspamd-Queue-Id: 47znqs4jZBz3JxF X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-5.96 / 15.00]; NEURAL_HAM_MEDIUM(-0.99)[-0.990,0]; REPLY(-4.00)[]; NEURAL_HAM_LONG(-0.97)[-0.969,0] 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: Fri, 17 Jan 2020 17:19:53 -0000 On Fri, Jan 17, 2020 at 10:40:09AM -0500, Ed Maste wrote: > > Any comments on this plan? Does anyone use the -pg compiler flag and > the _p.a profiling library archives? > Yes, I do. I have WITHOUT_PROFILE='yes' set in /etc/make.conf for a normal buildworld. I then comment it out and specifically build libc_p.a and libm_p.a. These are the only profiled libraries I use. Why? Because adding -pg to the gfortran command line is sufficient to getting profiling information for long running numerically intensive codes. 'gfortran -pg', of course, loosk for libc_p.a and libm_p.a. -- Steve From owner-freebsd-hackers@freebsd.org Fri Jan 17 18:12:47 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 286211F6261; Fri, 17 Jan 2020 18:12:47 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: from mail-io1-f45.google.com (mail-io1-f45.google.com [209.85.166.45]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47zq0t15Gcz3NWs; Fri, 17 Jan 2020 18:12:45 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: by mail-io1-f45.google.com with SMTP id h8so27018979iob.2; Fri, 17 Jan 2020 10:12:45 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=jOb55aCi+kIXoDV3l08VsehWpR/AV9Nh7IGvefuMn3A=; b=mlpLQ06DATzBeT40wz4vgytcFhRQV12LY+uBxYlBJNJn88oIjzhL4h3PS/8AyPW9JC jiLMszDFyD6uyyyA9nNjdy/psim3oqiSPFiNB/LhoNFSAGCiBkY9yEIrSoxtp/TH5cjY ulPLZ4aByTqSNLASSUZlUvqd2zHLAQSne4aJKH/OhH6/K53XPErbZOqPefkXpgPaiadA 4llg9WH/0QGHHXPx9PhQXjBH1BaQ2cJtPXgH0+h4kr6+nGG9fol9V+LQleGdv34q9+4E Yqn0yh2vIEHAIDPYamjPZafyRBdvWOuwd4GjqcBxa6D0TxK51dLzHLrCOrRvihJvDABT I+dA== X-Gm-Message-State: APjAAAXumaZ0CvcHbsq4KqX8yJNb+QA5CvZ2EQrq4d4NiO2UC6NQeSoI 6LiWUFm9ekvXyeF0VMIqqQqXUcQMX412tEg1HqZ/sg== X-Google-Smtp-Source: APXvYqwcS5AtrMGURza8wSPyMj6QmGPlUrRqBlD3FiOBLVgoHAub0Nv+LTE3SllOQGwnn05+c4YXWD5ARHEWSTIMUHE= X-Received: by 2002:a05:6638:41d:: with SMTP id q29mr34463369jap.128.1579284764964; Fri, 17 Jan 2020 10:12:44 -0800 (PST) MIME-Version: 1.0 References: <20200117171950.GA79297@troutmask.apl.washington.edu> In-Reply-To: <20200117171950.GA79297@troutmask.apl.washington.edu> From: Ed Maste Date: Fri, 17 Jan 2020 13:12:32 -0500 Message-ID: Subject: Re: Turn off PROFILE option and remove WITH_PROFILE after FreeBSD 13? To: Steve Kargl Cc: FreeBSD Current , FreeBSD Hackers Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 47zq0t15Gcz3NWs X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of carpeddiem@gmail.com designates 209.85.166.45 as permitted sender) smtp.mailfrom=carpeddiem@gmail.com X-Spamd-Result: default: False [-2.88 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17:c]; IP_SCORE(-1.88)[ip: (-4.45), ipnet: 209.85.128.0/17(-3.07), asn: 15169(-1.83), country: US(-0.05)]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; DMARC_NA(0.00)[freebsd.org]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[45.166.85.209.list.dnswl.org : 127.0.5.0]; SUBJECT_ENDS_QUESTION(1.00)[]; FORGED_SENDER(0.30)[emaste@freebsd.org,carpeddiem@gmail.com]; RWL_MAILSPIKE_POSSIBLE(0.00)[45.166.85.209.rep.mailspike.net : 127.0.0.17]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; FROM_NEQ_ENVFROM(0.00)[emaste@freebsd.org,carpeddiem@gmail.com]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] 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: Fri, 17 Jan 2020 18:12:47 -0000 On Fri, 17 Jan 2020 at 12:19, Steve Kargl wrote: > > Why? Because adding -pg to the gfortran command line is sufficient > to getting profiling information for long running numerically > intensive codes. 'gfortran -pg', of course, loosk for libc_p.a > and libm_p.a. Have you tried sampling-based profiling (i.e., hwpmc)? I'm curious if it provides equal utility for you, or if there's some shortcoming. From owner-freebsd-hackers@freebsd.org Fri Jan 17 18:13:21 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 B4EEE1F636F; Fri, 17 Jan 2020 18:13:21 +0000 (UTC) (envelope-from sjg@juniper.net) Received: from mx0b-00273201.pphosted.com (mx0b-00273201.pphosted.com [67.231.152.164]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.pphosted.com", Issuer "Thawte RSA CA 2018" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47zq1Y1q2fz3NkP; Fri, 17 Jan 2020 18:13:20 +0000 (UTC) (envelope-from sjg@juniper.net) Received: from pps.filterd (m0108162.ppops.net [127.0.0.1]) by mx0b-00273201.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 00HH3AHx000497; Fri, 17 Jan 2020 09:03:48 -0800 Received: from nam10-bn7-obe.outbound.protection.outlook.com (mail-bn7nam10lp2101.outbound.protection.outlook.com [104.47.70.101]) by mx0b-00273201.pphosted.com with ESMTP id 2xk0tg9jqk-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 17 Jan 2020 09:03:48 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=gjsu4nUSE9aJWLpACgraA/MUnQAXSLEOwb01pR5NRmc96Y1T5yvs6T8wfsy0POtjwgPCL+kjRSntJqAiS8Y9pbwIILKblZNQsHxXUVWyXozlUeiI6Iy0TcgaWBqSTSWrLe6rXKRKhzM9bmOaSvgNgSID0W6XV/2xqT9AVbRtJccm0R05FZsSWTMURF1tmwhgn7S7GySIvIq++s++2qWZKUkKSjqQwq6n5ygZCkhSrCMrdn5Xg/RJnMcHWp54XE7Ua5xHP77pLWJNxC8sP9wKLshgpAJlozjcQcGbD9dW27jVdyGmEyjBb1n3PiWlJMqRWTSrh4TrnSDueb4pSPZRgQ== 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=G6N5q16pSRJoQhif5pndCYBQVTx2B3qfXJdxFLZ4oa4=; b=Di7/L0dX6rK5RsbrMXBQrMQRnZSNcWhizmLlWVi8ZyVIbommVrUJQ7fUJyiC3YaX+oD/SD4aRk6jY7o6c2e5uLQ4p0eg9DWABVmyVf8zYITEUyDmIQOx5c9lEevgwzH721Bj7cys66oOTkIfUZ6WeeqRVIP/iPCZt5kyI91G2Cawn5/rOfjUSJ/0IWRZtP7SnVcU2WDPhkgqdj4A0+gN64SqwXeABk09TezLGxrpZLpS85R/gdVtjhlspjweYMOPC8Sc4xYSSOeCh4ggc9CWy+g77tdzG2W+w3D3nB7hiVw4jUkyVsi+3NBb0651bKRhBhqRcbloHxfjrsiBHNnNhw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=softfail (sender ip is 66.129.242.13) smtp.rcpttodomain=freebsd.org smtp.mailfrom=juniper.net; dmarc=fail (p=reject sp=reject pct=100) action=oreject header.from=juniper.net; dkim=none (message not signed); arc=none Received: from BYAPR05CA0005.namprd05.prod.outlook.com (2603:10b6:a03:c0::18) by CY4PR05MB3335.namprd05.prod.outlook.com (2603:10b6:910:58::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2644.5; Fri, 17 Jan 2020 17:03:46 +0000 Received: from CO1NAM05FT024.eop-nam05.prod.protection.outlook.com (2a01:111:f400:7e50::200) by BYAPR05CA0005.outlook.office365.com (2603:10b6:a03:c0::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2665.11 via Frontend Transport; Fri, 17 Jan 2020 17:03:46 +0000 Received-SPF: SoftFail (protection.outlook.com: domain of transitioning juniper.net discourages use of 66.129.242.13 as permitted sender) Received: from P-EXFEND-EQX-02.jnpr.net (66.129.242.13) by CO1NAM05FT024.mail.protection.outlook.com (10.152.96.132) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.2644.6 via Frontend Transport; Fri, 17 Jan 2020 17:03:45 +0000 Received: from P-EXBEND-EQX-01.jnpr.net (10.104.8.52) by P-EXFEND-EQX-02.jnpr.net (10.104.8.55) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Fri, 17 Jan 2020 09:03:44 -0800 Received: from p-mailhub01.juniper.net (10.104.20.6) by P-EXBEND-EQX-01.jnpr.net (10.104.8.52) with Microsoft SMTP Server (TLS) id 15.0.1367.3 via Frontend Transport; Fri, 17 Jan 2020 09:03:44 -0800 Received: from kaos.jnpr.net (kaos.jnpr.net [172.23.50.162]) by p-mailhub01.juniper.net (8.14.4/8.11.3) with ESMTP id 00HH3hh7015365; Fri, 17 Jan 2020 09:03:44 -0800 (envelope-from sjg@juniper.net) Received: by kaos.jnpr.net (Postfix, from userid 1377) id E3393B80D; Fri, 17 Jan 2020 09:03:43 -0800 (PST) Received: from kaos.jnpr.net (localhost [127.0.0.1]) by kaos.jnpr.net (Postfix) with ESMTP id E2B9CB80C; Fri, 17 Jan 2020 09:03:43 -0800 (PST) To: Ed Maste CC: FreeBSD Current , FreeBSD Hackers , Subject: Re: Turn off PROFILE option and remove WITH_PROFILE after FreeBSD 13? In-Reply-To: References: Comments: In-reply-to: Ed Maste message dated "Fri, 17 Jan 2020 10:40:09 -0500." From: "Simon J. Gerraty" X-Mailer: MH-E 8.6+git; nmh 1.7.1; GNU Emacs 26.3 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <23377.1579280623.1@kaos.jnpr.net> Date: Fri, 17 Jan 2020 09:03:43 -0800 Message-ID: <24282.1579280623@kaos.jnpr.net> X-EXCLAIMER-MD-CONFIG: e3cb0ff2-54e7-4646-8a04-0dae4ac7b136 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:66.129.242.13; IPV:CAL; SCL:-1; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10019020)(4636009)(136003)(376002)(346002)(396003)(39850400004)(189003)(199004)(70586007)(8676002)(336012)(81166006)(55016002)(107886003)(450100002)(6266002)(4326008)(356004)(81156014)(86362001)(5660300002)(186003)(6916009)(8936002)(4744005)(2906002)(7696005)(9686003)(54906003)(7126003)(70206006)(26005)(316002)(26826003)(478600001); DIR:OUT; SFP:1102; SCL:1; SRVR:CY4PR05MB3335; H:P-EXFEND-EQX-02.jnpr.net; FPR:; SPF:SoftFail; LANG:en; PTR:InfoDomainNonexistent; MX:1; A:1; X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: b03c1a62-0929-4ebe-fb99-08d79b6f36bf X-MS-TrafficTypeDiagnostic: CY4PR05MB3335: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:7691; X-Forefront-PRVS: 0285201563 X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: KU7EsbR9y6ebYbRFswR+jIgHJuIqEMDXi6k67g3yNAIvHgbT5zjZ73G2A/IanRYxfYI6p2LhuA+2v9BwhXCZLeW40ZvzaMKv+xbE87+5iT9mIjdLnYjNFOJ5ng3xsEEAa/mILBZW4OnSMFT2ds0tTtcRHSLnv9SFRFza9qQddEtNjeU2xnjl4n78plUYNf2jvHWuM2o9Z+2rVcCUOiP+msSJB0GVy9Zcn5o326rojR2YsJjfrXTixQ7w96LYSo4X3rw3/GYHiiM2RxaejmSoIWTbXiSi+B210l5NSuyIRMSkeTn91+mcoAL+kQne45mJzDGT2uc67NU/sJjU+OMzgxum6zo2gxlyg4DIkK85TvInBP7/zyDtzEzRZsNJB6rJI/bsZvIC9Z/+knVfkf5lOcsBljVIExUYNUPORyszF/SzVp7dsUIt5LiasYLRLkJ3 X-OriginatorOrg: juniper.net X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Jan 2020 17:03:45.7410 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: b03c1a62-0929-4ebe-fb99-08d79b6f36bf X-MS-Exchange-CrossTenant-Id: bea78b3c-4cdb-4130-854a-1d193232e5f4 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=bea78b3c-4cdb-4130-854a-1d193232e5f4; Ip=[66.129.242.13]; Helo=[P-EXFEND-EQX-02.jnpr.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR05MB3335 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.138, 18.0.572 definitions=2020-01-17_04:2020-01-16, 2020-01-17 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_spam_notspam policy=outbound_spam score=0 mlxscore=0 suspectscore=0 bulkscore=0 lowpriorityscore=0 clxscore=1011 spamscore=0 impostorscore=0 priorityscore=1501 malwarescore=0 mlxlogscore=773 adultscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-1910280000 definitions=main-2001170131 X-Rspamd-Queue-Id: 47zq1Y1q2fz3NkP X-Spamd-Bar: ----- X-Spamd-Result: default: False [-6.00 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-0.996,0]; REPLY(-4.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0] 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: Fri, 17 Jan 2020 18:13:21 -0000 Ed Maste wrote: > Any comments on this plan? Does anyone use the -pg compiler flag and > the _p.a profiling library archives? We have teams that do - on a semi regular basis. If there's an alternate method to allow them to find hot-spots etc in userland code we can direct them accordingly I expect. From owner-freebsd-hackers@freebsd.org Fri Jan 17 19:29:29 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 46B2D1F88DD; Fri, 17 Jan 2020 19:29:29 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.95.76.21]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "troutmask", Issuer "troutmask" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 47zrjP0rwYz40Z0; Fri, 17 Jan 2020 19:29:28 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (localhost [127.0.0.1]) by troutmask.apl.washington.edu (8.15.2/8.15.2) with ESMTPS id 00HJTQm3009068 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Fri, 17 Jan 2020 11:29:26 -0800 (PST) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.15.2/8.15.2/Submit) id 00HJTQJJ009067; Fri, 17 Jan 2020 11:29:26 -0800 (PST) (envelope-from sgk) Date: Fri, 17 Jan 2020 11:29:26 -0800 From: Steve Kargl To: Ed Maste Cc: FreeBSD Hackers , FreeBSD Current Subject: Re: Turn off PROFILE option and remove WITH_PROFILE after FreeBSD 13? Message-ID: <20200117192926.GA68201@troutmask.apl.washington.edu> Reply-To: sgk@troutmask.apl.washington.edu References: <20200117171950.GA79297@troutmask.apl.washington.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.12.2 (2019-09-21) X-Rspamd-Queue-Id: 47zrjP0rwYz40Z0 X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-5.96 / 15.00]; NEURAL_HAM_MEDIUM(-0.99)[-0.992,0]; REPLY(-4.00)[]; NEURAL_HAM_LONG(-0.97)[-0.969,0] 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: Fri, 17 Jan 2020 19:29:29 -0000 On Fri, Jan 17, 2020 at 01:12:32PM -0500, Ed Maste wrote: > On Fri, 17 Jan 2020 at 12:19, Steve Kargl > wrote: > > > > Why? Because adding -pg to the gfortran command line is sufficient > > to getting profiling information for long running numerically > > intensive codes. 'gfortran -pg', of course, loosk for libc_p.a > > and libm_p.a. > > Have you tried sampling-based profiling (i.e., hwpmc)? I'm curious if > it provides equal utility for you, or if there's some shortcoming. Never needed to try hwpmc. % gfortran9 -o z -pg fortran_file.f90 just works if libc_p.a and libm_p.a are present. There is a link-time failure if the libraries are missing. Here's an example of using -pg that found a bottleneck in my code (which I haven't profiled recently). Each sample counts as 0.000123062 seconds. % cumulative self self total time seconds seconds calls s/call s/call name 46.80 275.68 275.68 1178817696 0.00 0.00 __lum_MOD_cludet_dble 11.55 343.73 68.05 19458348 0.00 0.00 __sjnm_MOD_csjn_dble 7.09 385.47 41.73 19458348 0.00 0.00 __sphere_MOD_sphere_shell_formfcn 5.97 420.63 35.16 97291740 0.00 0.00 __sjnm_MOD_sjn_dble 3.84 443.24 22.61 23712564606 0.00 0.00 cabs (w_cabs.c:17 @ 4968f0) The cludet_dble() routine is a bottleneck, which makes heavy use of cabs(). It so happens that cludet_dble doesn't need to use cabs, and instead can look at the magnitude square. Replacing cabs(z) with creal(z)**2 + cimag(z)**2 gives Each sample counts as 0.000123062 seconds. % cumulative self self total 53.93 232.70 232.70 1178817696 0.00 0.00 __lum_MOD_cludet_dble 15.84 301.02 68.32 19458348 0.00 0.00 __sjnm_MOD_csjn_dble 10.63 346.91 45.88 19458348 0.00 0.00 __sphere_MOD_sphere_shell_formfcn 7.84 380.71 33.81 97291740 0.00 0.00 __sjnm_MOD_sjn_dble Nominally, a 43 CPU seconds decrease. That 43 seconds accumulates quickly, when the code is executed a few thousand times for Monte Carlo simulations. Is there a trivially stupid way of using hwpmc that requires no changes to fortran_file.f90? PS: For those snickering about the word Fortran. Go read the Fortran 2018 standard and educate yourselves. You want document 007 from https://j3-fortran.org/doc/standing. -- Steve From owner-freebsd-hackers@freebsd.org Fri Jan 17 21:48:09 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 B96231FBC39 for ; Fri, 17 Jan 2020 21:48:09 +0000 (UTC) (envelope-from neel@neelc.org) Received: from rainpuddle.neelc.org (rainpuddle.neelc.org [IPv6:2001:19f0:8001:fed:5400:2ff:fe73:c622]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 47zvnN51qLz489F for ; Fri, 17 Jan 2020 21:48:08 +0000 (UTC) (envelope-from neel@neelc.org) Received: from mail.neelc.org (rainpuddle.neelc.org [IPv6:2001:19f0:8001:fed:5400:2ff:fe73:c622]) by rainpuddle.neelc.org (Postfix) with ESMTPSA id EE251B07CE for ; Fri, 17 Jan 2020 13:47:58 -0800 (PST) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Fri, 17 Jan 2020 21:47:57 +0000 From: Neel Chauhan To: freebsd-hackers@freebsd.org Subject: Committing Phabricator D22318: net80211: Move rate printing in amrr_node_stats() to a separate method User-Agent: Roundcube Webmail/1.4.1 Message-ID: <37a87c835df75fdebf0a26f366c7b5b6@neelc.org> X-Sender: neel@neelc.org X-Rspamd-Queue-Id: 47zvnN51qLz489F X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=pass (policy=none) header.from=neelc.org; spf=pass (mx1.freebsd.org: domain of neel@neelc.org designates 2001:19f0:8001:fed:5400:2ff:fe73:c622 as permitted sender) smtp.mailfrom=neel@neelc.org X-Spamd-Result: default: False [-3.05 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+a]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; IP_SCORE(-0.36)[asn: 20473(-1.72), country: US(-0.05)]; DMARC_POLICY_ALLOW(-0.50)[neelc.org,none]; RCVD_COUNT_ONE(0.00)[1]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:20473, ipnet:2001:19f0:8000::/38, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; ONCE_RECEIVED(0.10)[] 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: Fri, 17 Jan 2020 21:48:09 -0000 Hi freebsd-hackers@, I have a Phabricator patch here: https://reviews.freebsd.org/D22318 This patch was accepted by adrian@ but is not committed yet. Could some committer please commit this patch? -Neel Chauhan === https://www.neelc.org/ From owner-freebsd-hackers@freebsd.org Fri Jan 17 22:04:49 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 B5CF01FC45B for ; Fri, 17 Jan 2020 22:04:49 +0000 (UTC) (envelope-from cse.cem@gmail.com) Received: from mail-oi1-x235.google.com (mail-oi1-x235.google.com [IPv6:2607:f8b0:4864:20::235]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47zw8c6d1xz49Rc for ; Fri, 17 Jan 2020 22:04:48 +0000 (UTC) (envelope-from cse.cem@gmail.com) Received: by mail-oi1-x235.google.com with SMTP id a67so23585364oib.6 for ; Fri, 17 Jan 2020 14:04:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=hViohtibOzhHlDazVMMpai++Un4loohXkRW4nXiCJPA=; b=ttdTSqdWNg1jNUlGih9w0wqDUQty7EFzLQuC3lVVCV6tjaqw4dYLTMchO5wH2BtuKS T6yTK7mgVU9Rgbak70LY5O/m82xHRqwm8Vce5X9PY7zZHhBQOupdboxQHMh8StL+hkl1 zhTyaE7Mt2CQ+tk0r8PmO5N0KAQ95v/GBkxdvtP1kHInpy/1RcQqzNMh0B1nC0I29r09 TB6UtcffD1O6fdBhcTJOJum7X58QuJCNYlIK2hedxAUxhbrokMN94IMpzfDKMKbuaT5q 2uLGRm+LBQjWxUtxqRbl+DeDf/rrTkcEdTIJNLzs3r3nOGFG8c71d4fuYCkKbRsQ1MVU HEyA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=hViohtibOzhHlDazVMMpai++Un4loohXkRW4nXiCJPA=; b=J5d59BbByTnphbIJMayO2qgUCPrCg2wMOwDKK5i7gK7JV75sQggyxdBlM5fDBGY/M8 ye6I659eUS72U5F9ZkK5LlVIO8vZCwGs5bNG84DkV8OTtesl3nxtmcO614EwNPx8kHMI Ua6SISCTCWsKXNqQRwZoKCsSnwWFXEQodAkNYCo9TsFOk5uzJQxucbz+Gu5OPK3k4ULK 0aNw+WKOB5xKUef2La2xlDBmWndUUzaeQaWupTRv4lZAeXeZO7FoodIxkPgPzURhd90B 6/YbTYN+RXbG1zEJSN+iuuG2V22Oe9XweNpW14dDkb1yK4SZ+j5hDvJ3qP1V2isu6kgY Uf5Q== X-Gm-Message-State: APjAAAUXcoAo0Fmq+vrZR7l/CFl21aFpysRw4PphgYwxW5LhP54mIXXn LFB3pXcdIeGPOF565Rs0liHOapevukEdJihz/Wsqqg== X-Google-Smtp-Source: APXvYqy8NH9dkM167fh9b3jA2uItChOVA0M5ljtpyRxX/kqAyuu1HRNXmYzHMyNL0jE2/HBqxy8W8oHto/Z2WZJpR0M= X-Received: by 2002:aca:f484:: with SMTP id s126mr4900260oih.48.1579298687435; Fri, 17 Jan 2020 14:04:47 -0800 (PST) MIME-Version: 1.0 References: <37a87c835df75fdebf0a26f366c7b5b6@neelc.org> In-Reply-To: <37a87c835df75fdebf0a26f366c7b5b6@neelc.org> From: Conrad Meyer Date: Fri, 17 Jan 2020 14:04:36 -0800 Message-ID: Subject: Re: Committing Phabricator D22318: net80211: Move rate printing in amrr_node_stats() to a separate method To: Neel Chauhan Cc: "freebsd-hackers@freebsd.org" Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 47zw8c6d1xz49Rc X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=ttdTSqdW; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of csecem@gmail.com designates 2607:f8b0:4864:20::235 as permitted sender) smtp.mailfrom=csecem@gmail.com X-Spamd-Result: default: False [-3.00 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FROM_EQ_ENVFROM(0.00)[]; IP_SCORE(0.00)[ip: (-8.90), ipnet: 2607:f8b0::/32(-2.09), asn: 15169(-1.83), country: US(-0.05)]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[5.3.2.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] 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: Fri, 17 Jan 2020 22:04:49 -0000 It is done. Thanks for the patch! On Fri, Jan 17, 2020 at 1:48 PM Neel Chauhan wrote: > > Hi freebsd-hackers@, > > I have a Phabricator patch here: https://reviews.freebsd.org/D22318 > > This patch was accepted by adrian@ but is not committed yet. Could some > committer please commit this patch? > > -Neel Chauhan > > === > > https://www.neelc.org/ > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" From owner-freebsd-hackers@freebsd.org Sat Jan 18 02:04:58 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 66D6C22371A for ; Sat, 18 Jan 2020 02:04:58 +0000 (UTC) (envelope-from neel@neelc.org) Received: from rainpuddle.neelc.org (rainpuddle.neelc.org [IPv6:2001:19f0:8001:fed:5400:2ff:fe73:c622]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4801Tj418Wz4P8Y for ; Sat, 18 Jan 2020 02:04:56 +0000 (UTC) (envelope-from neel@neelc.org) Received: from mail.neelc.org (rainpuddle.neelc.org [IPv6:2001:19f0:8001:fed:5400:2ff:fe73:c622]) by rainpuddle.neelc.org (Postfix) with ESMTPSA id E30F0B07E2; Fri, 17 Jan 2020 18:04:52 -0800 (PST) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Fri, 17 Jan 2020 18:04:51 -0800 From: Neel Chauhan To: Conrad Meyer Cc: freebsd-hackers@freebsd.org Subject: Re: Committing Phabricator D22318: net80211: Move rate printing in amrr_node_stats() to a separate method In-Reply-To: References: <37a87c835df75fdebf0a26f366c7b5b6@neelc.org> User-Agent: Roundcube Webmail/1.4.1 Message-ID: X-Sender: neel@neelc.org X-Rspamd-Queue-Id: 4801Tj418Wz4P8Y X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=pass (policy=none) header.from=neelc.org; spf=pass (mx1.freebsd.org: domain of neel@neelc.org designates 2001:19f0:8001:fed:5400:2ff:fe73:c622 as permitted sender) smtp.mailfrom=neel@neelc.org X-Spamd-Result: default: False [-3.05 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.998,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+a]; IP_SCORE(-0.36)[asn: 20473(-1.73), country: US(-0.05)]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; NEURAL_HAM_LONG(-1.00)[-0.998,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[neelc.org,none]; RCVD_COUNT_ONE(0.00)[1]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:20473, ipnet:2001:19f0:8000::/38, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; ONCE_RECEIVED(0.10)[] 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: Sat, 18 Jan 2020 02:04:58 -0000 On 2020-01-17 14:04, Conrad Meyer wrote: > It is done. Thanks for the patch! You're welcome, and thank you so much, Conrad! -Neel === https://www.neelc.org/ From owner-freebsd-hackers@freebsd.org Sat Jan 18 02:32:14 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 1B79B22467B for ; Sat, 18 Jan 2020 02:32:14 +0000 (UTC) (envelope-from neel@neelc.org) Received: from rainpuddle.neelc.org (rainpuddle.neelc.org [66.42.69.219]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4802591bC8z4QK6 for ; Sat, 18 Jan 2020 02:32:12 +0000 (UTC) (envelope-from neel@neelc.org) Received: from mail.neelc.org (rainpuddle.neelc.org [IPv6:2001:19f0:8001:fed:5400:2ff:fe73:c622]) by rainpuddle.neelc.org (Postfix) with ESMTPSA id D5C5DB07E2 for ; Fri, 17 Jan 2020 18:32:03 -0800 (PST) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Fri, 17 Jan 2020 18:32:02 -0800 From: Neel Chauhan To: freebsd-hackers@freebsd.org Subject: Reviewing D22877: libalias: Add support for RFC 6598/Carrier Grade NAT subnets User-Agent: Roundcube Webmail/1.4.1 Message-ID: <6e18754747a2b64338ec460af0b89a7d@neelc.org> X-Sender: neel@neelc.org X-Rspamd-Queue-Id: 4802591bC8z4QK6 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=pass (policy=none) header.from=neelc.org; spf=pass (mx1.freebsd.org: domain of neel@neelc.org designates 66.42.69.219 as permitted sender) smtp.mailfrom=neel@neelc.org X-Spamd-Result: default: False [-3.16 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+a:c]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; IP_SCORE(-0.36)[asn: 20473(-1.74), country: US(-0.05)]; DMARC_POLICY_ALLOW(-0.50)[neelc.org,none]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:20473, ipnet:66.42.64.0/20, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] 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: Sat, 18 Jan 2020 02:32:14 -0000 Hi freebsd-hackers@, I have a patch available on Phabricator here: https://reviews.freebsd.org/D22877 This patch adds an option to libalias and ipfw which supports the RFC 6598 (Carrier Grade NAT) subnet, also known as 100.64.0.0/10, as well as the corresponding documentation. Could someone please review and if approved, commit this patch? -Neel === https://www.neelc.org/ From owner-freebsd-hackers@freebsd.org Sat Jan 18 17:24:08 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 943441FB988 for ; Sat, 18 Jan 2020 17:24:08 +0000 (UTC) (envelope-from wojtek@puchar.net) Received: from puchar.net (puchar.net [194.1.144.90]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 480PtG5nghz4903 for ; Sat, 18 Jan 2020 17:24:06 +0000 (UTC) (envelope-from wojtek@puchar.net) Received: Received: from 127.0.0.1 (localhost [127.0.0.1]) by puchar.net (8.15.2/8.15.2) with ESMTPS id 00IHO3Ie021685 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Sat, 18 Jan 2020 18:24:03 +0100 (CET) (envelope-from puchar-wojtek@puchar.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=puchar.net; s=default; t=1579368243; bh=PsZKQtUMcVhGJn2H+iws0wNPnQYE5dZCjCrtNaVVD9o=; h=Date:From:To:Subject; b=MfrFSOsad7hBydzUU5IQPQQ3cWleRLLS6EIEKAACvx1MANQK/eHxN4ZRcpOJKTydq TbcaLu8qyt65cE9/rhcj9/OrrfBCQx74yza9IHSFFXQt97/WN0pJe6dwfztiQMx1RP ekbabiOX6jgO8hlw61664KWy2yDYtWk6jDl+LfGw= Received: from localhost (puchar-wojtek@localhost) by puchar.net (8.15.2/8.15.2/Submit) with ESMTP id 00IHO3dg021682 for ; Sat, 18 Jan 2020 18:24:03 +0100 (CET) (envelope-from puchar-wojtek@puchar.net) Date: Sat, 18 Jan 2020 18:24:03 +0100 (CET) From: Wojciech Puchar To: freebsd-hackers@freebsd.org Subject: 3 cores not detected? Message-ID: User-Agent: Alpine 2.20 (BSF 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII X-Rspamd-Queue-Id: 480PtG5nghz4903 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=fail (rsa verify failed) header.d=puchar.net header.s=default header.b=MfrFSOsa; dmarc=none; spf=pass (mx1.freebsd.org: domain of wojtek@puchar.net designates 194.1.144.90 as permitted sender) smtp.mailfrom=wojtek@puchar.net X-Spamd-Result: default: False [-2.98 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.998,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; R_DKIM_REJECT(1.00)[puchar.net:s=default]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DKIM_TRACE(0.00)[puchar.net:-]; RCVD_IN_DNSWL_NONE(0.00)[90.144.1.194.list.dnswl.org : 127.0.10.0]; IP_SCORE(-2.68)[ip: (-7.09), ipnet: 194.1.144.0/24(-3.54), asn: 43476(-2.83), country: PL(0.07)]; DMARC_NA(0.00)[puchar.net]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:43476, ipnet:194.1.144.0/24, country:PL]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_COUNT_TWO(0.00)[2] 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: Sat, 18 Jan 2020 17:24:08 -0000 i installed remotely FreeBSD on Xeon E3-1231v3 based server according to intel it has 4 cores, 8 threads https://ark.intel.com/content/www/pl/pl/ark/products/80910/intel-xeon-processor-e3-1231-v3-8m-cache-3-40-ghz.html this is what i got with FreeBSD 1 core, 2 threads: Copyright (c) 1992-2019 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 11.3-RELEASE #0 r349754: Fri Jul 5 04:45:24 UTC 2019 root@releng2.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 FreeBSD clang version 8.0.0 (tags/RELEASE_800/final 356365) (based on LLVM 8.0.0) VT(vga): resolution 640x480 CPU: Intel(R) Xeon(R) CPU E3-1231 v3 @ 3.40GHz (3392.23-MHz K8-class CPU) Origin="GenuineIntel" Id=0x306c3 Family=0x6 Model=0x3c Stepping=3 Features=0xbfebfbff Features2=0x7ffafbff AMD Features=0x2c100800 AMD Features2=0x21 Structured Extended Features=0x27ab Structured Extended Features3=0x9c000000 XSAVE Features=0x1 VT-x: PAT,HLT,MTF,PAUSE,EPT,UG,VPID TSC: P-state invariant, performance statistics real memory = 34359738368 (32768 MB) avail memory = 33275518976 (31734 MB) Event timer "LAPIC" quality 600 ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs FreeBSD/SMP: 1 package(s) x 1 core(s) x 2 hardware threads what is wrong? From owner-freebsd-hackers@freebsd.org Sat Jan 18 17:58:31 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 BD0921FC6A0 for ; Sat, 18 Jan 2020 17:58:31 +0000 (UTC) (envelope-from wojtek@puchar.net) Received: from puchar.net (puchar.net [194.1.144.90]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 480Qdy5pwRz4BRZ for ; Sat, 18 Jan 2020 17:58:30 +0000 (UTC) (envelope-from wojtek@puchar.net) Received: Received: from 127.0.0.1 (localhost [127.0.0.1]) by puchar.net (8.15.2/8.15.2) with ESMTPS id 00IHwOoL030935 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Sat, 18 Jan 2020 18:58:25 +0100 (CET) (envelope-from puchar-wojtek@puchar.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=puchar.net; s=default; t=1579370305; bh=QUrXRkGkztcpGBZt/1CaMMZHIfW4FFoELunEPvDmJQo=; h=Date:From:To:cc:Subject:In-Reply-To:References; b=BYSy8a/ohrfY3omvWLMTwpec0vSHlD0gWmJN0nGjQ9qhXsb/Gj3nkEFfK18ACJCaE FSpxwpVUbeCjjaGrYVs+iyv3htVFeFXxl6aBTPLdxv1qQy5JsFeiwAYo3xklKC18Jr 2e5YXpith13RJpRxbKT3L0JLyd90MnOjfZCdenfU= Received: from localhost (puchar-wojtek@localhost) by puchar.net (8.15.2/8.15.2/Submit) with ESMTP id 00IHwOAC030931; Sat, 18 Jan 2020 18:58:24 +0100 (CET) (envelope-from puchar-wojtek@puchar.net) Date: Sat, 18 Jan 2020 18:58:24 +0100 (CET) From: Wojciech Puchar To: Wojciech Puchar cc: freebsd-hackers@freebsd.org Subject: not FreeBSD fault Was: 3 cores not detected? In-Reply-To: Message-ID: References: User-Agent: Alpine 2.20 (BSF 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-Rspamd-Queue-Id: 480Qdy5pwRz4BRZ X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=fail (rsa verify failed) header.d=puchar.net header.s=default header.b=BYSy8a/o; dmarc=none; spf=pass (mx1.freebsd.org: domain of wojtek@puchar.net designates 194.1.144.90 as permitted sender) smtp.mailfrom=wojtek@puchar.net X-Spamd-Result: default: False [-2.97 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.997,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+mx:c]; R_DKIM_REJECT(1.00)[puchar.net:s=default]; MIME_GOOD(-0.10)[text/plain]; SUBJECT_ENDS_QUESTION(1.00)[]; DMARC_NA(0.00)[puchar.net]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[puchar.net:-]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[90.144.1.194.list.dnswl.org : 127.0.10.0]; IP_SCORE(-2.67)[ip: (-7.06), ipnet: 194.1.144.0/24(-3.53), asn: 43476(-2.82), country: PL(0.07)]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:43476, ipnet:194.1.144.0/24, country:PL]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_COUNT_TWO(0.00)[2] 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: Sat, 18 Jan 2020 17:58:31 -0000 in supermicro BIOS i see that it's 1 core available. While i can select from 1 to 4 cores to be available in options. no matter what i choose 1 core is available. Not FreeBSD fault. thank you On Sat, 18 Jan 2020, Wojciech Puchar wrote: > i installed remotely FreeBSD on Xeon E3-1231v3 based server > according to intel it has 4 cores, 8 threads > > https://ark.intel.com/content/www/pl/pl/ark/products/80910/intel-xeon-processor-e3-1231-v3-8m-cache-3-40-ghz.html > > this is what i got with FreeBSD 1 core, 2 threads: > > Copyright (c) 1992-2019 The FreeBSD Project. > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 > The Regents of the University of California. All rights reserved. > FreeBSD is a registered trademark of The FreeBSD Foundation. > FreeBSD 11.3-RELEASE #0 r349754: Fri Jul 5 04:45:24 UTC 2019 > root@releng2.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 > FreeBSD clang version 8.0.0 (tags/RELEASE_800/final 356365) (based on LLVM > 8.0.0) > VT(vga): resolution 640x480 > CPU: Intel(R) Xeon(R) CPU E3-1231 v3 @ 3.40GHz (3392.23-MHz K8-class CPU) > Origin="GenuineIntel" Id=0x306c3 Family=0x6 Model=0x3c Stepping=3 > > Features=0xbfebfbff TM,PBE> > > Features2=0x7ffafbff PCNT,TSCDLT,AESNI,XSAVE,OSXSAVE,AVX,F16C,RDRAND> > AMD Features=0x2c100800 > AMD Features2=0x21 > Structured Extended > Features=0x27ab > Structured Extended Features3=0x9c000000 > XSAVE Features=0x1 > VT-x: PAT,HLT,MTF,PAUSE,EPT,UG,VPID > TSC: P-state invariant, performance statistics > real memory = 34359738368 (32768 MB) > avail memory = 33275518976 (31734 MB) > Event timer "LAPIC" quality 600 > ACPI APIC Table: > FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs > FreeBSD/SMP: 1 package(s) x 1 core(s) x 2 hardware threads > > > what is wrong? > > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" > >