From owner-freebsd-arm@FreeBSD.ORG Fri May 15 06:27:54 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 615DCBB6 for ; Fri, 15 May 2015 06:27:54 +0000 (UTC) Received: from mail-ig0-f175.google.com (mail-ig0-f175.google.com [209.85.213.175]) (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 336FD1B73 for ; Fri, 15 May 2015 06:27:53 +0000 (UTC) Received: by igbpi8 with SMTP id pi8so29966451igb.0 for ; Thu, 14 May 2015 23:27:47 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=XDu0LLXmz268rTBj96gjvdl5NhW/aYtMH4406ffPQFY=; b=C0r6ZSeidnC4yK6dCdMq4p5Ju/+E2DRbFofCbNpcMgdpTZjB9r34dI+JHIYKj79cVt xBqPgqJHQH6w5cndQNHkiqFS7gzCAH2VELCBMBUzpS4hv2YXyeBjRiT+5wC/LPOhjJd0 ur4YiLE9TtE1Uo/FO86Bi3fqeT5xv7OoZebA4lE9BytegGWm7bqTlL9M/FkFLtLKtGcK tMfusT6P8WeSqlpHD2lhf5lqjsDiYvAj7qT5E0fjwS/FGJ2JuMhjCpCaxaQ/ooPZVrWe INKTW7bo1Hb1mq+2gJcJKXAI5ll1SpOTJv0ySmIu9nAetBAE/NSqJNrOmwp7Swbq/9KR WaPg== X-Gm-Message-State: ALoCoQnZKAHqNCwlfcXINGbiF9CRzUB56UwMY1wtt9HG43uS1K+GUFR4rm72rKqAqBMHatHNc7nj MIME-Version: 1.0 X-Received: by 10.107.130.165 with SMTP id m37mr10328910ioi.62.1431671267545; Thu, 14 May 2015 23:27:47 -0700 (PDT) Received: by 10.36.28.201 with HTTP; Thu, 14 May 2015 23:27:47 -0700 (PDT) In-Reply-To: <3AB5ECCF20894591B4DF5FCBA8CA49BB@ad.peach.ne.jp> References: <3AB5ECCF20894591B4DF5FCBA8CA49BB@ad.peach.ne.jp> Date: Fri, 15 May 2015 08:27:47 +0200 Message-ID: Subject: Re: Performance issues with raspberry pi 2 From: Andreas Andersson To: freebsd-arm@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 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 06:27:54 -0000 I just set debug.cpufreq.lowest=900 in sysctl.conf (Would it be better to have this set in /boot/loader.conf?) and enabled powerd. INVARIANTS is also disabled in this kernel. Will come back with results. 2015-05-15 4:38 GMT+02:00 Daisuke Aoyama : > 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 > > >