From owner-freebsd-arm@FreeBSD.ORG Thu Sep 5 20:49:30 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 480DCC0C for ; Thu, 5 Sep 2013 20:49:30 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from mail-ie0-f182.google.com (mail-ie0-f182.google.com [209.85.223.182]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 167332F77 for ; Thu, 5 Sep 2013 20:49:30 +0000 (UTC) Received: by mail-ie0-f182.google.com with SMTP id aq17so4916107iec.41 for ; Thu, 05 Sep 2013 13:49:23 -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:content-transfer-encoding:message-id:references :to; bh=EOABt84j3WSageqcWS0FnlTaPrD+7lnWrZ+IcRCFu78=; b=C4MCOdpJjpvdmFtHX95QxG47YZfDprDyK10X0gpz89HN0bvIUN++o/msaSeJ7csdyl Xo5LoqPETy3NLaPRvK5oEtClRPQSoJqGgaefXZC5QcxYQNLs1N9ebEyT6lchrEyYDs0b 6raAl/3LwW3EfVJZZ/5dH35qT7CPKcn1CotAy2Sz4XtJFyhE32FQdyj1gU7VDydQm/qm XFLKz/8C00Dl4x7Ak8aZkZ1dSBCPBIKt76jkqc51vFZpCVjaHX1GvGp50R2uuysxX/Bm CAtV09DNC+4X82fkB5PnaSIZT2EjyYIydiFIQgFWiICcZ1n8F2dv9P44dxhWfhabAsde kreg== X-Gm-Message-State: ALoCoQmlxSaYMN61mXunq1YrQm0bv2UN5eUHrHMAC9xMu1R3B0gs7itT7mdZ9pAeYGD/tpqxak6x X-Received: by 10.50.55.40 with SMTP id o8mr6388039igp.25.1378414163322; Thu, 05 Sep 2013 13:49:23 -0700 (PDT) Received: from monkey-bot.int.fusionio.com ([209.117.142.2]) by mx.google.com with ESMTPSA id f5sm13496382igc.4.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 05 Sep 2013 13:49:22 -0700 (PDT) Sender: Warner Losh Subject: Re: stream benchmarking on RPi Mime-Version: 1.0 (Apple Message framework v1085) Content-Type: text/plain; charset=us-ascii From: Warner Losh In-Reply-To: Date: Thu, 5 Sep 2013 14:49:19 -0600 Content-Transfer-Encoding: 7bit Message-Id: References: To: Jia-Shiun Li X-Mailer: Apple Mail (2.1085) Cc: freebsd-arm@freebsd.org 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:49:30 -0000 On Sep 5, 2013, at 2:02 PM, Jia-Shiun Li wrote: > 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? Soft float? Warner > 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. > _______________________________________________ > freebsd-arm@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org"