Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Oct 2018 18:46:42 -0700
From:      Mark Millard <marklmi@yahoo.com>
To:        Greg V <greg@unrelenting.technology>
Cc:        freebsd-arm <freebsd-arm@freebsd.org>
Subject:   Re: FYI: I finally got FreeBSD 12 booted under qemu/kvm with general Ethernet access (on a MACCHIATObin running linux)
Message-ID:  <5CE7962C-3ADB-48F8-9804-4ABEDB16F578@yahoo.com>
In-Reply-To: <89370727-44EB-40AD-A8B7-4D3AA823BB8A@yahoo.com>
References:  <F52711CD-048D-4820-9883-0A60475BD688@yahoo.com> <1539024068.3199.1@smtp.migadu.com> <6D5D6E6E-CD6D-4DD7-ABBB-FB9D46FA1D84@yahoo.com> <1539026814.3199.2@smtp.migadu.com> <89370727-44EB-40AD-A8B7-4D3AA823BB8A@yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2018-Oct-8, at 1:07 PM, Mark Millard <marklmi at yahoo.com> wrote:

> On 2018-Oct-8, at 12:26 PM, Greg V <greg at unrelenting.technology> =
wrote:
>=20
>> On Mon, Oct 8, 2018 at 10:14 PM, Mark Millard <marklmi at yahoo.com> =
wrote:
>>> On 2018-Oct-8, at 11:41 AM, Greg V <greg at unrelenting.technology> =
wrote:
>>>> On Sun, Oct 7, 2018 at 10:14 PM, Mark Millard via freebsd-arm =
<freebsd-arm at freebsd.org> wrote:
>>>>> Unfortunately, like every past attempt at such where I used
>>>>> -cpu host, -smp, and -enable-kvm on a few Linux-booted systems
>>>>> where I've tried such, processes are subject to occasional, random
>>>>> illegal instruction and segmentation fault program crashes. (The
>>>>> host linux has no such problems.) True even before getting =
Ethernet
>>>>> access working in FreeBSD.
>>>> Hmmmm, I never saw any program crashes on Scaleway's KVM VPS =
(ThunderX hardware), but I have awfully slow storage performance.
>>>> How fast is the disk on your KVM setup?
>>> I've only booted linux via a microsd card so far,
>>> a Class A1 SanDisk Ultra. I've not planned on
>>> putting linux on the fast media that I hope
>>> to put FreeBSD on and boot from someday. As
>>> stands, I do not have spare fast media for the
>>> MACCHIATObin.
>>=20
>> Surely QEMU/KVM supports booting from bare metal hard disks (not =
files), so you could put FreeBSD on the disk you want to eventually boot =
directly from, and initially try it under KVM. I actually had a setup =
where I would boot the same FreeBSD disk on my desktop both directly on =
metal and under Hyper-V :)
>=20
> I do that under Hyper-V (Windows 10 Pro) and directly. But
> linux/qemu/kvm is effectively new to me and everything is
> exploratory. I may get there.
>=20
>> But anyway, I think you'd notice the difference even on microSD.
>> The performance on the VPS is *that* bad.
>>=20
>=20
> At some point I may be I can run something
> like:
>=20
> iozone -a -a0 -a1 -a2 -e -I
>=20
> for you and supply some of the output
> (from a run that does not crash first).
> The -e and -I tend to avoid measuring
> oeprations that have not (yet) gone to
> the storage media or are just in cache.

iozone turned out to be a non-useful idea:
It comes up with a bunch of speeds being
way over 100000 KBytes/s for reclen's
of 32 KBytes or more, even a re-read of
1069489 KBytes/s and a read of 915107
KBytes/s are examples.

There may be caching/buffering in qemu/kvm/linux
not under control of the -e and -I (and FreeBSD)
and/or time may not measure out well. I'm not
going to try to figure the contributions at this
point.

iozone also gets SIGSEGV at some random point,
possibly more reliably than other things
that have produced core files in what little
that I've done with FreeBSD in this context.

=3D=3D=3D
Mark Millard
marklmi at yahoo.com
( dsl-only.net went
away in early 2018-Mar)




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5CE7962C-3ADB-48F8-9804-4ABEDB16F578>