building document of Xorg
Chie Taguchi
taguchi.ch at gmail.com
Thu Aug 22 08:14:13 UTC 2013
i try to build both type libgcrypt, and run libcrypt's tests/benchmark app.
uname -a
FreeBSD raspberry-pi 10.0-CURRENT FreeBSD 10.0-CURRENT #0: Tue Aug 13 03:22:23 JST 2013 user at PC:/usr/home/user/crochet-freebsd/work/obj/arm.armv6/usr/src.arm/sys/RPI-B-ELY arm
this is a part of result,
---------------------------
USE_GCC=4.2:
MD5 234375ms 625000ms 3984375ms 546875ms 156250ms
SHA1 546875ms 781250ms 4218750ms 859375ms 468750ms
RIPEMD160 468750ms 859375ms 4140625ms 859375ms 468750ms
TIGER192 1093750ms 1484375ms 5156250ms 1328125ms 1171875ms
SHA256 781250ms 1484375ms 5000000ms 1171875ms 781250ms
SHA384 1953125ms 3046875ms 6250000ms 2265625ms 1875000ms
SHA512 1953125ms 3046875ms 6250000ms 2265625ms 1953125ms
SHA224 781250ms 1562500ms 5000000ms 1093750ms 937500ms
MD4 78125ms 468750ms 3750000ms 546875ms 234375ms
CRC32 234375ms 234375ms 4375000ms 468750ms 312500ms
CRC32RFC1510 234375ms 156250ms 4375000ms 468750ms 390625ms
CRC24RFC2440 1171875ms 1171875ms 5625000ms 1484375ms 1250000ms
WHIRLPOOL 6484375ms 6953125ms 14843750ms 6875000ms 6562500ms
TIGER 1093750ms 1562500ms 5156250ms 1328125ms 1015625ms
TIGER2 1015625ms 1484375ms 5156250ms 1406250ms 1171875ms
----------------------------
clang without assembly code:
MD5 234375ms 468750ms 3046875ms 468750ms 390625ms
SHA1 468750ms 703125ms 3359375ms 703125ms 390625ms
RIPEMD160 468750ms 703125ms 3281250ms 625000ms 390625ms
TIGER192 703125ms 1171875ms 3828125ms 1015625ms 625000ms
SHA256 781250ms 1328125ms 4062500ms 1015625ms 781250ms
SHA384 1328125ms 2187500ms 4687500ms 1562500ms 1328125ms
SHA512 1250000ms 2187500ms 4687500ms 1562500ms 1328125ms
SHA224 703125ms 1328125ms 4062500ms 937500ms 859375ms
MD4 156250ms 468750ms 2968750ms 468750ms 234375ms
CRC32 78125ms 156250ms 2578125ms 390625ms 234375ms
CRC32RFC1510 156250ms 156250ms 2500000ms 390625ms 312500ms
CRC24RFC2440 546875ms 546875ms 2890625ms 781250ms 703125ms
WHIRLPOOL 6015625ms 6406250ms 9296875ms 6328125ms 6093750ms
TIGER 781250ms 1093750ms 3906250ms 937500ms 859375ms
TIGER2 703125ms 1171875ms 3828125ms 937500ms 859375ms
-------------------------------
-------------------------------
USE_GCC=4.2:
Algorithm generate 100*sign 100*verify
------------------------------------------------
RSA 1024 bit 8593750ms 78359375ms 2187500ms
RSA 2048 bit 45546875ms 418671875ms 5625000ms
RSA 3072 bit 1337109375ms 1147109375ms 10234375ms
RSA 4096 bit 881875000ms 2457812500ms 16640625ms
DSA 1024/160 - 37343750ms 40156250ms
DSA 2048/224 - 139531250ms 132343750ms
DSA 3072/256 - 299609375ms 275390625ms
ECDSA 192 bit 3437500ms 87734375ms 157812500ms
ECDSA 224 bit 4218750ms 107187500ms 192500000ms
ECDSA 256 bit 5078125ms 126328125ms 236875000ms
ECDSA 384 bit 10078125ms 253593750ms 478984375ms
ECDSA 521 bit 24062500ms 596796875ms 1134765625ms
powm 2890625ms 7812500ms 21250000ms
random 390625ms 468750ms
---------------
clang without assembly code:
Algorithm generate 100*sign 100*verify
------------------------------------------------
RSA 1024 bit 10000000ms 103359375ms 3125000ms
RSA 2048 bit 230468750ms 602031250ms 8437500ms
RSA 3072 bit 1168750000ms 1783750000ms 16640625ms
RSA 4096 bit 1171875000ms 3805000000ms 27109375ms
DSA 1024/160 - 50703125ms 53046875ms
DSA 2048/224 - 211640625ms 197968750ms
DSA 3072/256 - 489843750ms 439531250ms
ECDSA 192 bit 3515625ms 90390625ms 162968750ms
ECDSA 224 bit 4453125ms 111093750ms 207421875ms
ECDSA 256 bit 5468750ms 134062500ms 254296875ms
ECDSA 384 bit 11484375ms 281718750ms 528203125ms
ECDSA 521 bit 26640625ms 667500000ms 1300156250ms
powm 3671875ms 11015625ms 32031250ms
random 390625ms 234375ms
------------------------------
and i will attach both entire-result files.
Thanks,
C.Taguchi
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: use-gcc4.2-benchmark.txt
URL: <http://lists.freebsd.org/pipermail/freebsd-arm/attachments/20130822/46d7e43a/attachment.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: clang-disableasm-benchmark.txt
URL: <http://lists.freebsd.org/pipermail/freebsd-arm/attachments/20130822/46d7e43a/attachment-0001.txt>
-------------- next part --------------
On 2013/08/20, at 14:26, Tim Kientzle <tim at kientzle.com> wrote:
> Here's another way to fix libgcrypt on arm. This disables
> the GCC-specific assembly code. I've verified that this allows
> libgcrypt to build on FreeBSD/ARM with clang. I haven't done any
> tests so don't know whether this impacts libgcrypt
> performance or not:
>
> --- work/libgcrypt-1.5.3/mpi/longlong.h.orig 2013-07-25 09:10:04.000000000 +0000
> +++ work/libgcrypt-1.5.3/mpi/longlong.h 2013-08-19 09:59:28.000000000 +0000
> @@ -184,7 +184,7 @@
> /***************************************
> ************** ARM ******************
> ***************************************/
> -#if defined (__arm__) && W_TYPE_SIZE == 32
> +#if defined (__arm__) && W_TYPE_SIZE == 32 && !defined(__FreeBSD__)
> #define add_ssaaaa(sh, sl, ah, al, bh, bl) \
> __asm__ ("adds %1, %4, %5\n" \
> "adc %0, %2, %3" \
>
>
> On Aug 19, 2013, at 6:04 AM, Chie Taguchi wrote:
>
>> i add security/libgcrypt(ports/181365), graphics/libGL(ports/176705) to repo.
>>
>> and i also added document about security/libgcrypt(ports/181365), graphics/dri(ports/176703), graphics/libGL(ports/176705).
>>
>> regards.
>>
>> C.Taguchi
>>
>> On Sun, 18 Aug 2013 21:25:08 +0900
>> Chie Taguchi <taguchi.ch at gmail.com> wrote:
>>
>>> thank you for your infomation.
>>>
>>> it is useful for many people to make a collection repo of ports fix infomation about Xorg and others.
>>>
>>> i will push that fixes, security/libgcrypt(ports/181365), graphics/dri(ports/176703), graphics/libGL(ports/176705) to repo later.
>>>
>>> and i also sended PR x11-fonts/fontconfig issue(ports/181372).
>>>
>>> but i have a question about ${ARCH} value in ports Makefile. "armv6" or "arm" || "armv6", which is the better way?
>>>
>>> thanks,
>>>
>>> C.Taguchi
>>>
>>> On Sun, 18 Aug 2013 09:42:06 +0200
>>> Guillaume Bibaut <yom at iaelu.net> wrote:
>>>
>>>> Very nice, at least that's what I was looking for.
>>>>
>>>> There are still patches to apply on some other ports too :
>>>> - security/libgcrypt : to use GCC
>>>> - graphics/dri : http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/176703
>>>> - graphics/libGL : the same as dri since it's based on MesaLib
>>>>
>>>> I can't remember if I'm forgetting anything else, but if anyone finds anything, they could add it here :)
>>>>
>>>> Thanks.
>>>>
>>>> --
>>>> Guillaume Bibaut
>>>>
>>>> Le 18 aout 2013 a 03:12, Chie Taguchi <taguchi.ch at gmail.com>
>>>>
>>>>> Hi all,
>>>>>
>>>>> i wrote a building document of x11/Xorg(not minimum) for RaspberryPi.
>>>>> if you want to build Xorg, it will be useful for you!
>>>>> i hope so.:)
>>>>>
>>>>> https://github.com/taguchi-ch/freebsd-ports-xorg-raspberrypi
>>>>>
>>>>> Thanks.
>>>>>
>>>>> --
>>>>> Chie Taguchi <taguchi.ch at gmail.com>
>>>>> _______________________________________________
>>>>> freebsd-arm at freebsd.org mailing list
>>>>> http://lists.freebsd.org/mailman/listinfo/freebsd-arm
>>>>> To unsubscribe, send any mail to "freebsd-arm-unsubscribe at freebsd.org"
>>>>
>>>
>>>
>>> --
>>> Chie Taguchi <taguchi.ch at gmail.com>
>>
>>
>> --
>> Chie Taguchi <taguchi.ch at gmail.com>
>> _______________________________________________
>> freebsd-arm at freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-arm
>> To unsubscribe, send any mail to "freebsd-arm-unsubscribe at freebsd.org"
>
More information about the freebsd-arm
mailing list