From owner-freebsd-arm@FreeBSD.ORG Fri May 15 02:45:30 2015 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9AC37FCA for ; Fri, 15 May 2015 02:45:30 +0000 (UTC) Received: from moon.peach.ne.jp (moon.peach.ne.jp [203.141.148.98]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 68E1B15BF for ; Fri, 15 May 2015 02:45:30 +0000 (UTC) Received: from moon.peach.ne.jp (localhost [127.0.0.1]) by moon.peach.ne.jp (Postfix) with ESMTP id 1FB7150F27; Fri, 15 May 2015 11:38:22 +0900 (JST) Received: from artemis (unknown [172.18.0.21]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by moon.peach.ne.jp (Postfix) with ESMTPSA id 0BB8B50F0B; Fri, 15 May 2015 11:38:22 +0900 (JST) Message-ID: <3AB5ECCF20894591B4DF5FCBA8CA49BB@ad.peach.ne.jp> From: "Daisuke Aoyama" To: "Andreas Andersson" , References: In-Reply-To: Subject: Re: Performance issues with raspberry pi 2 Date: Fri, 15 May 2015 11:38:16 +0900 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal Importance: Normal X-Mailer: Microsoft Windows Live Mail 14.0.8117.416 X-MimeOLE: Produced By Microsoft MimeOLE V14.0.8117.416 X-Virus-Scanned: ClamAV using ClamSMTP 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: Fri, 15 May 2015 02:45:30 -0000 Hi, > But freebsd 11 on rpi2 suffers permance issues. Severely. > > 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. > > On FreeBSD 11 this is at around 85/s. Did you enable powerd? RPi2 firmware boot up with 600MHz(power saved mode). It's slower than RPi1 such as model B+. The maximum rated frequency(900MHz in RPi2 case) can be used when you enable powerd or set sysctl value. powerd is requirement on RPi2, not an option like RPi1 anymore. I suggest that you enable powerd in FreeBSD official image and/or crochet for RPi2. Regards, -- Daisuke Aoyama