From owner-freebsd-arm@FreeBSD.ORG Wed May 13 15:05:02 2015 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 53A5CE9C for ; Wed, 13 May 2015 15:05:02 +0000 (UTC) Received: from mail-pa0-f41.google.com (mail-pa0-f41.google.com [209.85.220.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 27CD51771 for ; Wed, 13 May 2015 15:05:01 +0000 (UTC) Received: by pacwv17 with SMTP id wv17so53502081pac.0 for ; Wed, 13 May 2015 08:04:55 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:subject:mime-version:content-type:from :in-reply-to:date:cc:message-id:references:to; bh=XjrZ6fzfgGJ6Y17g9FPW0uEEBF7uoJGAAFteRH0JhdQ=; b=M31jyQAcHo0RA1Lp9/mk0EFt2XEqMDva++FROHKwcOslQMEw+ftM+1edbH2G7nUG0v YcgHSFuboMtSsNZ5kugN9FZzoU1gFW+VIY3O8LQl9bKYFUdMRDdNKrnTOSQuNF7yYjN9 Pmrvc91Hf25xBOAVxwez7VW6fNI92O7p7BI6CickltAC5RrXRQ5AZ0m/PYHmIEzLlIYy oe6GqKxxB4ZG5mv89G0XRZoZFTXWnALu86VBZZXv6A+j+FITTtVd1iPqdqCoYH3V0g8e zB7WDVEOvLh/3jFIEUX09pmnSEp+gYeV8AzXSIbc3YdGGL6tiG+oHVA1oVFMv9go9ULy 7CtQ== X-Gm-Message-State: ALoCoQlDih/Awrj+Ax9H00ey4DKSPiRZQ6k4Od6My824WisaVl03hsbfqxobDR7CuKc8mSkX0fqj X-Received: by 10.70.25.37 with SMTP id z5mr38301108pdf.36.1431529495027; Wed, 13 May 2015 08:04:55 -0700 (PDT) Received: from macintosh-3c0754232d17.corp.netflix.com ([69.53.236.236]) by mx.google.com with ESMTPSA id k4sm19625222pdg.87.2015.05.13.08.04.53 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 13 May 2015 08:04:53 -0700 (PDT) Sender: Warner Losh Subject: Re: Performance issues with raspberry pi 2 Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\)) Content-Type: multipart/signed; boundary="Apple-Mail=_672816E0-AE71-46B0-B7D5-1EC61FDEB4D4"; protocol="application/pgp-signature"; micalg=pgp-sha512 X-Pgp-Agent: GPGMail 2.5b6 From: Warner Losh In-Reply-To: Date: Wed, 13 May 2015 09:04:50 -0600 Cc: freebsd-arm@freebsd.org Message-Id: <1EE88AD4-2B4A-496B-9366-7F9A89F57D6D@bsdimp.com> References: To: Andreas Andersson X-Mailer: Apple Mail (2.2098) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 May 2015 15:05:02 -0000 --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 = 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--