Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 May 2015 09:04:50 -0600
From:      Warner Losh <imp@bsdimp.com>
To:        Andreas Andersson <aandersson@tappsi.co>
Cc:        freebsd-arm@freebsd.org
Subject:   Re: Performance issues with raspberry pi 2
Message-ID:  <1EE88AD4-2B4A-496B-9366-7F9A89F57D6D@bsdimp.com>
In-Reply-To: <CAOx9_ZiUw5nkBK=Bsumb=K2W1hv0P%2BNAwT7OXE7VAz_96awqOw@mail.gmail.com>
References:  <CAOx9_ZiUw5nkBK=Bsumb=K2W1hv0P%2BNAwT7OXE7VAz_96awqOw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--Apple-Mail=_672816E0-AE71-46B0-B7D5-1EC61FDEB4D4
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8


> On May 13, 2015, at 5:27 AM, Andreas Andersson <aandersson@tappsi.co> =
wrote:
>=20
> I do understand this is still very new and not ready for "producton" =
use.
>=20
> But freebsd 11 on rpi2 suffers permance issues. Severely.
>=20
> For instance, the same code I am running (tornado project which =
inserts
> stuff to rabbitmq) is running at ~190 req/s or 190 publishments/sec =
(to
> rabbitmq) on raspbian.
>=20
> On FreeBSD 11 this is at around 85/s.
>=20
> With my consumer (using all the cores) I am seeing a high get rate =
from
> rabbitmq. But ACKing those messages are painstakingly behind. How can =
I
> help you debug this.
>=20
> What information would you need?
>=20
>=20
>=20
>=20
> My own theory on this is that on FreeBSD we are doing stuff with =
software
> floating point, while on raspbian we are doing stuff with hardware =
floating
> point.

FreeBSD is still using soft float. We=E2=80=99ll be transitioning that =
to hard float
for 11.0, and should have the code for that pushed into head by the end
of BSDCan 2015.

In the mean time, you can try building an image with TARGET_ARCH=3Darmv6hf=

to see if that is the cause of the problems.

Warner



--Apple-Mail=_672816E0-AE71-46B0-B7D5-1EC61FDEB4D4
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP using GPGMail

-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - https://gpgtools.org

iQIcBAEBCgAGBQJVU2gTAAoJEGwc0Sh9sBEAUPwQAKNTzXDnMmk/aoNIwmp6Vx/h
BIu8FU81rEo1xs7DIEm4lhESJnCuHjHrS1bj1SSdfv6y/ucVrb9PuUwEmECkkIlq
L1+wlJwwFOJPy6tgHFYg/N6qwziJJFAknYqVjOPUcBr4HHzLlE/LA0pqhaqjT2EM
kAY5e8lYcacX1JQwR2XqXsIKPf5FKm5R5+OMoICt8sXy1LFUSev7rimH3hN5cgRE
gVw1Ub1iOVyzE/8Z4S+mD1S+yUcJhPXNuVPf/g+RjIbA3DQqfd9OLrPZEe50j49c
Gm54zD6aIij6ExJKzEUHQSnLkWn4rb/MN+3GUWBIUW7BJJg/P8ZQzrfukNG88PNB
8qrQJ455hmv7VWP4DFva2YrWl0vrBldECpEZQ68lOOU0MVd8WHJCR5KMTU0aV2cj
DNm1NZaHd0fzEZHseDLwvI4ijcZynO8FrBLQR69eaZSCWTJ44PMEGOl5tPDFyCfI
v3FVxc8u1x9FZH9tjL7yivL8i4n60VjlDA6ZBP9XEu3+P5w4xfByNKHLGJiELKL/
B1zm5G5nooNtz1n19h28v9111b4t1HHjl2cQiIYGwkqJuKmIeBOhPKtshWSmD8Hn
uiGR791ebgJTDN2MhCpihPD+GGALXB7ZLaLbSE36IMWaS53i8BRP4cWqKP3ZFFem
le4lKS8zprWvNVNI3Vdu
=W6Pr
-----END PGP SIGNATURE-----

--Apple-Mail=_672816E0-AE71-46B0-B7D5-1EC61FDEB4D4--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1EE88AD4-2B4A-496B-9366-7F9A89F57D6D>