From nobody Wed Jun 19 12:18:44 2024 X-Original-To: hackers@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4W42j44B8dz5N2qp for ; Wed, 19 Jun 2024 12:18:48 +0000 (UTC) (envelope-from bacon4000@gmail.com) Received: from mail-oi1-x229.google.com (mail-oi1-x229.google.com [IPv6:2607:f8b0:4864:20::229]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4W42j40wr3z4Wct; Wed, 19 Jun 2024 12:18:48 +0000 (UTC) (envelope-from bacon4000@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-oi1-x229.google.com with SMTP id 5614622812f47-3c9cc681ee7so319494b6e.1; Wed, 19 Jun 2024 05:18:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1718799526; x=1719404326; darn=freebsd.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=W6GIE94rR9sauFnYXiz10mzsHQDM+JGjbSsw2ZBPsms=; b=PLQx/V8mw7lvYtNju2YyNx0+V5opiDoUMLpeRmlj8sFyLsHYAoQr/xqdv5w5S0Pp5Y xzfl/26AkdzzSWQpjJYyNgeWnoQJYNL78ohZpj28A68vc67CZ9+HeJFAcc276zgwQDYG ZUBIUBzXt8HLdyZMnLiCdXjXoVTCPTet738NFNZ9eL2OhudcruyoCBX5kLWI6zV3zBVU 5e92a0fq7lQoHITNIDwZtS/0ONroN/sO1y1Hv1ZPZRkUsYIrfDBpWepKZRpvT4Z6pYUu c7V4G8WpieEBvnNTtbgvzFWuFPgpDtda+7sO+6kKVnakYAUsQGwMsqLubdMfdyou+/CP HtEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718799526; x=1719404326; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=W6GIE94rR9sauFnYXiz10mzsHQDM+JGjbSsw2ZBPsms=; b=i2Mpm1ivALq3ZmuhzHnGdiIu4HMsbvZ/MG5kRj/kWk+g+LNn69IfRgn5TDb2FV5b2I cQCKSZamiEowhvFmQ0dL7df6/3YsMjsQoN9Hh+Fl27RB0HkyHAewOFtG2kN39QJKtygm GVWWcwETCo6IXbE1eVSIkRNuJV8MCUf1RBpUGXCkphDhBFmHyGMKnBxoOV1lyPpiy9/V 3CIUpbZWD7+XhGOQ5SXG/iFqZXXG1+BXRhl+4ODdOk3Lgcd4uIT1othHWHHTa8ItjGhl tKk6nD/dN/W9/nTX8+yD1w97mlxeWr5FURiBxLX0l73QAbAkMdogzLdujUKOCCu+i/tf uXUw== X-Forwarded-Encrypted: i=1; AJvYcCU4iNfnFShQPM74K/3qwyiw76y4ibnrXf8x2mnmMUCwiaIqv+nMS8wq0hIFI/fGw0SF+2JUQkZxOh64OSPyXTob8b6aVEmKI/Hcp8mB20S3a9m/8/v8+Q== X-Gm-Message-State: AOJu0YyIfcrA0pG225SCxIxa811hp0oANmJkfMnaJUl4uj6QEUGLd56i Nwdj6t4gVPtNAvUdFKwBtDyvitHRLTFKTBnoaqCxio7O3n3b10BCfws0Rw== X-Google-Smtp-Source: AGHT+IHFusYgNeQynUXrPUi9NAULgTju8ZXGVbC9QqyQ7gyynDPycY6vS8GViJmXYBv16op0vUP0Mw== X-Received: by 2002:a05:6808:1984:b0:3d2:1b2e:8c5b with SMTP id 5614622812f47-3d50efa1a21mr2458239b6e.3.1718799525823; Wed, 19 Jun 2024 05:18:45 -0700 (PDT) Received: from [192.168.0.146] (108-255-3-0.lightspeed.milwwi.sbcglobal.net. [108.255.3.0]) by smtp.gmail.com with ESMTPSA id 006d021491bc7-5c1b038c594sm198894eaf.34.2024.06.19.05.18.45 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 19 Jun 2024 05:18:45 -0700 (PDT) Message-ID: <76b4e210-a00d-4a70-baaf-7fcb606c2922@gmail.com> Date: Wed, 19 Jun 2024 07:18:44 -0500 List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@FreeBSD.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Opportunities for numerical work on FreeBSD? To: Warner Losh Cc: Robert Clausecker , "freebsd-hackers@freebsd.org" , kargl@freebsd.org References: <06f93359-b284-494c-b8b1-dc3dba1e1264@gmail.com> Content-Language: en-US From: Jason Bacon In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] X-Rspamd-Queue-Id: 4W42j40wr3z4Wct On 6/18/24 16:31, Warner Losh wrote: > Coincidentally, I just came across a recent benchmark that might > provide > some hints about where to focus the efforts: > > https://www.phoronix.com/review/bsd-linux-threadripper-7980x > > > > > But stress-ng isn't a benchmark. It says so in it's docs. Also there are > several ifdef linux in the source to make it faster on linux. > > I wouldn't waste my time on that garbage. Well, I wouldn't take the results of stress-ng, or even a proper benchmark tool (if there is such a thing) at face value. I'd always run multiple tests and try to understand *why* they're producing the results that they are. I was only suggesting that these results might provide a data point to help narrow down the areas where FreeBSD could be improved. Maybe some of the apparent "weaknesses" in FreeBSD are due to #ifdef Linux // Optimized code #else // Generic code #endif as was suggested. But they might also indicate something real. We'll never know if we dismiss them without a closer look. We could at least see if any of these results are corroborated by other tools. That much is easy. -- Life is a game. Play hard. Play fair. Have fun.