From owner-freebsd-arm@FreeBSD.ORG Thu Sep 5 20:03:00 2013 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 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 5F3AFA34 for ; Thu, 5 Sep 2013 20:03:00 +0000 (UTC) (envelope-from jiashiun@gmail.com) Received: from mail-oa0-x22a.google.com (mail-oa0-x22a.google.com [IPv6:2607:f8b0:4003:c02::22a]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 2E8142CEB for ; Thu, 5 Sep 2013 20:03:00 +0000 (UTC) Received: by mail-oa0-f42.google.com with SMTP id n12so2926399oag.15 for ; Thu, 05 Sep 2013 13:02:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=NCloh5mBPwI0ue14ZUk1Xz89wJbvxG/1id+oKScQqcA=; b=O43hD2dcJwSrA5CV7fx6nUmHiLhO0sEliYRyzmOrmqZjabYOKgxnmt5h95BWkTMD/L 1v9p6FO7UjL6YTnL434knVCyDArmleMMGH4ueC11aY2PJcA3fM8uzeaVErp1d2/zFs7P 3onYeJel6+uk+ap4SQIKnKAwt6xAP6HP8hsy01y4zWRfkIazECHBOWwtsHHJfQeCEyze i8/62uzUzrSY/+m9aiqIoLddgfA0tysrjV0cz5twLTX1RI6d0WpsHLVzBS3ZfL3zshOY r47+q33EzH+h2F+AD9NmSagVwU2ZrGavlnKjmyJEXYfs2MDELhh0b7v8xs7VYc4VU+CK 5UNg== X-Received: by 10.182.131.166 with SMTP id on6mr7695858obb.60.1378411379334; Thu, 05 Sep 2013 13:02:59 -0700 (PDT) MIME-Version: 1.0 Received: by 10.76.131.111 with HTTP; Thu, 5 Sep 2013 13:02:29 -0700 (PDT) From: Jia-Shiun Li Date: Fri, 6 Sep 2013 04:02:29 +0800 Message-ID: Subject: stream benchmarking on RPi To: freebsd-arm@freebsd.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Sep 2013 20:03:00 -0000 Hi all, just did a brief test using stream, the memory bandwidth benchmark, on RPi with Raspbian and FreeBSD. Share these info to see if someone might think of it useful. FreeBSD is faster at copying. I guess that must be attributed to recent VM and/or superpage commits. I remembered it to be under 300MB/s months before. On the other hand, scale, add, and triad are significantly slower. Anyone have clues or any wild guesses? Below the only compiler option given for cc/gcc is -O3. Raspbian 2013-07-26 (lk 3.6, gcc 4.6): ------------------------------------------------------------- Function Best Rate MB/s Avg time Min time Max time Copy: 257.3 0.062703 0.062189 0.063824 Scale: 205.1 0.079135 0.077993 0.082000 Add: 284.1 0.085253 0.084480 0.088597 Triad: 274.3 0.087799 0.087501 0.087940 ------------------------------------------------------------- FreeBSD 10.0-CURRENT r255120 w/ cc(clang): ------------------------------------------------------------- Function Best Rate MB/s Avg time Min time Max time Copy: 365.5 0.045321 0.043779 0.052929 Scale: 31.2 0.531028 0.513082 0.550906 Add: 68.5 0.367295 0.350467 0.391310 Triad: 26.9 0.902672 0.893316 0.908908 ------------------------------------------------------------- FreeBSD 10.0-CURRENT r255120 w/ gcc (4.2.1): ------------------------------------------------------------- Function Best Rate MB/s Avg time Min time Max time Copy: 264.6 0.063977 0.060470 0.081000 Scale: 31.0 0.535830 0.516093 0.551035 Add: 46.7 0.534768 0.514323 0.553834 Triad: 23.1 1.047644 1.038968 1.066887 ------------------------------------------------------------- Jia-Shiun.