From nobody Thu May 18 19:02:52 2023 X-Original-To: freebsd-questions@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 4QMfWJ1JYlz4BvFB for ; Thu, 18 May 2023 19:03:08 +0000 (UTC) (envelope-from tomek@cedro.info) Received: from mail-yw1-x1134.google.com (mail-yw1-x1134.google.com [IPv6:2607:f8b0:4864:20::1134]) (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 "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QMfWH2SH2z3ljD for ; Thu, 18 May 2023 19:03:07 +0000 (UTC) (envelope-from tomek@cedro.info) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=cedro.info header.s=google header.b=TwecJma6; spf=none (mx1.freebsd.org: domain of tomek@cedro.info has no SPF policy when checking 2607:f8b0:4864:20::1134) smtp.mailfrom=tomek@cedro.info; dmarc=none Received: by mail-yw1-x1134.google.com with SMTP id 00721157ae682-561b43fc896so22603037b3.0 for ; Thu, 18 May 2023 12:03:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cedro.info; s=google; t=1684436586; x=1687028586; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=kzPoKVvwfSepLul5DHhGE4ylOyS7DxKg4xZdRkhkowI=; b=TwecJma6qAAjHDQfmell5GLgthOsANueqVLW2yvy+l2xDoXCJz28CBZaWwmjVMZs8S Nk9DvAE86IdOQG/sDqY/S+rTXJOQPH4jTjPD+mRG8S4K6VwwuADlDJn2kvc7EaIKMph6 UH6xdXP57wW3WyR8fgMlaCJ1GQVHnE6ZnGd1yPFOVcYNMLAqGjHGecWZ71VJpupVjmZo yMgXBIIyssxf+rwytKR51bdIjl+PUVXI9y0VILL5DJ0C6pgOVDwU//CXPUez9ASInXhh TPAPnvkQ43+c6ao5i3RVsPHn/17eK40qH3APm7m8MzvN3b+hp0vI9PLR1DFBHxV8B87k TKEg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684436586; x=1687028586; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=kzPoKVvwfSepLul5DHhGE4ylOyS7DxKg4xZdRkhkowI=; b=kZRQOOaRAsyxpnkt1+Ln/vRgy6nkEYecUNDMpSfpaYPXrxTlAX3Ui1nqp34ITrLVY7 o7sySC6/Q3I9o5UXQlPI5vCVjgGJqn7pHRinSSTawwzU1VyQgsal1tW0yQuf6tBbin9Y KWvgAYGtkHuo9LzNQyiqvbaacer7BY6tNj9shIwR277ggOHMyQ3NeOonWnqbqKbDmfFe onNSDnCoFQwux1cxL2nV2CYJF7VAy6JlSk0R9lCWx1EQ/1hT1dR+Afpd4p+YWBV/1Tv6 pwv7NsVBIm0JMkkYJ3i9Kem5r0jUqk7bhSsFgmhbwKpnLa4FjA9m9y5pWri7wmf4Pl1n HNdA== X-Gm-Message-State: AC+VfDzfSsPCnq77AcqG/sq9JSjv29mYU9F3FZmH76l8LbZdYMHnoi8W zqQzwWh1npbIHG/EJ/pS//FiXboNP0/gwMyIvDQ= X-Google-Smtp-Source: ACHHUZ5RtLWwJ5FTvm1GDfcEshClOQEr9T54BGupjeNjm2lzY8YzHSatCb5eKci9KjUk6ZLC6rVIIg== X-Received: by 2002:a81:5d09:0:b0:561:b58e:31ff with SMTP id r9-20020a815d09000000b00561b58e31ffmr2088555ywb.44.1684436586251; Thu, 18 May 2023 12:03:06 -0700 (PDT) Received: from mail-yw1-f170.google.com (mail-yw1-f170.google.com. [209.85.128.170]) by smtp.gmail.com with ESMTPSA id d145-20020a0ddb97000000b0056183cdb2d9sm601399ywe.60.2023.05.18.12.03.05 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 18 May 2023 12:03:05 -0700 (PDT) Received: by mail-yw1-f170.google.com with SMTP id 00721157ae682-55a1462f9f6so22421387b3.3; Thu, 18 May 2023 12:03:05 -0700 (PDT) X-Received: by 2002:a05:7500:2311:b0:105:713e:8c86 with SMTP id t17-20020a057500231100b00105713e8c86mr163289gac.49.1684436585454; Thu, 18 May 2023 12:03:05 -0700 (PDT) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 References: In-Reply-To: From: Tomek CEDRO Date: Thu, 18 May 2023 21:02:52 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: How is this possible To: Aryeh Friedman Cc: FreeBSD Mailing List , freebsd-emulation@freebsd.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spamd-Result: default: False [-3.30 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[cedro.info:s=google]; MIME_GOOD(-0.10)[text/plain]; BLOCKLISTDE_FAIL(0.00)[209.85.128.170:server fail,2607:f8b0:4864:20::1134:server fail]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::1134:from,209.85.128.170:received]; R_SPF_NA(0.00)[no SPF record]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org]; FREEMAIL_TO(0.00)[gmail.com]; DKIM_TRACE(0.00)[cedro.info:+]; MIME_TRACE(0.00)[0:+]; FROM_EQ_ENVFROM(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_TLS_LAST(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; TO_DN_SOME(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TAGGED_RCPT(0.00)[]; DMARC_NA(0.00)[cedro.info]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] X-Rspamd-Queue-Id: 4QMfWH2SH2z3ljD X-Spamd-Bar: --- X-ThisMailContainsUnwantedMimeParts: N On Thu, May 18, 2023 at 8:51=E2=80=AFPM Aryeh Friedmanwrote: > On Thu, May 18, 2023 at 2:48=E2=80=AFPM Tomek CEDRO wrote: > > If you create a ramdisk and build there it will be even faster.. > > assuming space is enough (kernel should go, not sure about world).. I > > have tried with 128GB RAM and it works quite well on older hardware.. > > similar to newer hardware with 32GB RAM and nvme disk :-) > > See other replies two identical SSD's (same model number and capacity) > backing both the physical OS and VM's OS (each on a different drive). > As to NVM I still don't trust it even though it has been around for 7 > or 8 years now (too much experience with OS wackiness with high end > storage networking) True :-) I have additional nvme pci-e controller and fast nvme drive as my OS storage.. on an older machine.. it really blows my sock off (faster than SATA SSD).. but the raidz2 uses WD RED Pro 4x4TB HDD for more important stuff and zfs stripe on WD RED 2x2TB as scratchpad :-P It would be good to know the VM (bhyve?) and host fs (ZFS?) and the vm fs (UFS?) :-) I have noticed after switching to ZFS that my raid was a lot faster on UFS.. but I had consistency errors on crash which now I do not have with ZFS and I have really nice features now for instance snapshots and amazingly flexible pools allocation :-) Yet another crazy idea: have you tried running that vm directly from a ramdisk/tmpfs? :-) --=20 CeDeROM, SQ7MHZ, http://www.tomek.cedro.info