From owner-freebsd-performance@freebsd.org Fri Feb 5 23:14:35 2021 Return-Path: Delivered-To: freebsd-performance@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 D07D752CD2E for ; Fri, 5 Feb 2021 23:14:35 +0000 (UTC) (envelope-from seanc@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DXWTR5XMHz4h2y for ; Fri, 5 Feb 2021 23:14:35 +0000 (UTC) (envelope-from seanc@freebsd.org) Received: from mail-pl1-f178.google.com (mail-pl1-f178.google.com [209.85.214.178]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) (Authenticated sender: seanc) by smtp.freebsd.org (Postfix) with ESMTPSA id AA6C227F9E for ; Fri, 5 Feb 2021 23:14:35 +0000 (UTC) (envelope-from seanc@freebsd.org) Received: by mail-pl1-f178.google.com with SMTP id e9so4338226plh.3 for ; Fri, 05 Feb 2021 15:14:35 -0800 (PST) X-Gm-Message-State: AOAM532AHMFAihOFcw4ItUMSevtA/+b20Tx6k4ycEcXAUP0zw5m6MdpR h8wLLyCaBuEepBQDUDZo5SmiMUiv20308Q/DfrxTOw== X-Google-Smtp-Source: ABdhPJyHQT4v679u6NhJeU5OjOcLu4Y4x7mZXec5D3bHfA9vN2OKZ3eTcYdPvwl31YNNS7rtfzJO9S5bt+w3Cwt/moo= X-Received: by 2002:a17:902:e808:b029:de:5a8d:c654 with SMTP id u8-20020a170902e808b02900de5a8dc654mr6202444plg.80.1612566874492; Fri, 05 Feb 2021 15:14:34 -0800 (PST) MIME-Version: 1.0 References: <98fc52d4-caf1-8d48-5cb2-94643a490d4f@gusw.net> <3fde2934-1e18-5ea4-84d6-21200eaf4b20@gusw.net> <4d53a12a-99a5-6bab-a30a-74f680b77edb@gmail.com> In-Reply-To: <4d53a12a-99a5-6bab-a30a-74f680b77edb@gmail.com> From: Sean Chittenden Date: Fri, 5 Feb 2021 15:14:18 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: FreeBSD on Amazon AWS EC2 long standing performance problems To: "Jin Guojun[VFF]" Cc: freebsd-performance@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Feb 2021 23:14:35 -0000 To be clear, this is a known issue that needs attention: it is not a benchmarking setup problem. Network throughput has a similar problem and needs similar attention. Cloud is not a fringe server workload. -sc On Fri, Feb 5, 2021 at 3:00 PM Jin Guojun[VFF] wrote: > On 2021-02-05 12:45, Gunther Schadow wrote: > > Gordon Bergling wrote: > >> Can you verify your feelings by numbers? > > > > Yes, like I said > > > >>> Not by a few % points, but by factors if not an order of magnitude! > > > > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253261 > > > > Do this: > > > > dd if=/dev/zero of=/dev/nvd2 bs=100M status=progress > > > > and you see that it's writing with the "whopping" speed of 70 MB/s. > > > > That used to be good, but it is no longer good. Compare Amazon Linux > > doing > > the same thing at 300 MB/s. > > > > Now, when you put a file system over it, zfs or ufs, then instantly the > > performance gets better: > > > > newfs /dev/nvd2 > > mount /dev/nvd2 /mnt > > dd if=/dev/zero of=/mnt/test bs=100M status=progress > > > > now that works at about 250 MB/s. Decent. So, problem solved? > > It is not clear if this compares Apple to Apple. > > What disk drives and CPUs are on FreeBSD, and what are disk drive(s) and > CPU(s) on AWS? > > Knowing the drive brand and models will tell approximately the disk > throughput. Agree, 70MB/s is slow for modern disks, but your information > does not provide clue why this could be slow. > > Can this setup get 250MB/s on FreeBSD 11.4? or 300MB/s with Ubuntu 16.04 > on the same hardware? > > -Jin > > _______________________________________________ > freebsd-performance@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-performance > To unsubscribe, send any mail to " > freebsd-performance-unsubscribe@freebsd.org" >