Fwd: Research code to run
David Mason
dmason-bqArmZWzea/GcjXNFnLQ/w at public.gmane.org
Fri Sep 5 21:25:49 UTC 2014
On 5 September 2014 16:06, Lennart Sorensen
<lsorense-1wCw9BSqJbv44Nm34jS7GywD8/FfD2ys at public.gmane.org> wrote:
> Well here are a few:
Excellent! Thanks.
> ARMv7 Processor rev 2 (v7l)
>
> Not sure what happened there at the end. This is a dual core Cortex-A15
> at somewhere between 1.0 and 1.5GHz (I have the frequency control driver
> disabled so I can't actually tell what it is currently using).
It doesn't explicitly "exit 0" so make complains.
> cpu : POWER7 (architected), altivec supported
> That system is a 3.72GHz IBM p710 with a 6 core power7.
Wow... fast...
> I am still waiting for the MPC8360e system to finish a run. It might be a while.
Thanks, again.
../Dave
On 5 September 2014 16:06, Lennart Sorensen
<lsorense-1wCw9BSqJbv44Nm34jS7GywD8/FfD2ys at public.gmane.org> wrote:
> On Fri, Sep 05, 2014 at 03:51:45PM -0400, David Mason wrote:
>> On 5 September 2014 15:22, Lennart Sorensen
>> <lsorense-1wCw9BSqJbv44Nm34jS7GywD8/FfD2ys at public.gmane.org> wrote:
>> > What did you expect sysctl -n machdep.cpu.brand_string to accomplish?
>> > I can't find any linux system where that does anything.
>>
>> I wanted this to run on any *ix system and produce output that I can
>> parse to figure out the machine. I expect Linux boxes to have
>> /proc/cpuinfo, and everything else to have sysctl. That particular
>> string is from Mac OS X, but this has also run on FreeBSD and Solaris
>> (where sysctl produces rather different output. Turns out some
>> Linuxes also have sysctl, with various contents.
>>
>> The only thing I really care about it is as much detail as possible
>> about the CPU on the system. I'm not interested in how numbers from
>> any particular machine compare to another machine, just how the
>> different runs compare. The output "should" have static < bimorph* <
>> dynamic, but it doesn't seem to be that simple... :-)
>>
>> Thanks if you get a chance to run this on something interesting. I
>> have an Alpha, SPARC, PowerPC, AMD, and a plethora of Intel machines.
>
> Well here are a few:
>
> ./run-microb
> ruggedcom
> Using built-in specs.
> COLLECT_GCC=cc
> COLLECT_LTO_WRAPPER=/usr/lib/gcc/arm-linux-gnueabihf/4.6/lto-wrapper
> Target: arm-linux-gnueabihf
> Configured with: ../src/configure -v --with-pkgversion='Debian 4.6.3-14RR1' --with-bugurl=file:///usr/share/doc/gcc-4.6/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.6 --enable-shared --enable-linker-build-id --with-system-zl
> ib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.6 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --e
> nable-plugin --enable-objc-gc --disable-sjlj-exceptions --with-arch=armv7-a --with-fpu=vfpv3-d16 --with-float=hard --with-mode=thumb --enable-checking=release --build=arm-linux-gnueabihf --host=arm-linux-gnueabihf --target=arm-linux-gnueabihf
> Thread model: posix
> gcc version 4.6.3 (Debian 4.6.3-14RR1)
> ARMv7 Processor rev 2 (v7l)
> time ./microb-dynamic 10000000000
> 13.05user 0.00system 0:13.27elapsed 98%CPU (0avgtext+0avgdata 272maxresident)k
> 0inputs+0outputs (0major+112minor)pagefaults 0swaps
> time ./microb-bimorph 10000000000
> 19.58user 0.00system 0:19.76elapsed 99%CPU (0avgtext+0avgdata 272maxresident)k
> 0inputs+0outputs (0major+112minor)pagefaults 0swaps
> time ./microb-bimorph2 10000000000
> 19.58user 0.00system 0:19.74elapsed 99%CPU (0avgtext+0avgdata 272maxresident)k
> 0inputs+0outputs (0major+112minor)pagefaults 0swaps
> time ./microb-static 10000000000
> 13.05user 0.00system 0:13.15elapsed 99%CPU (0avgtext+0avgdata 272maxresident)k
> 0inputs+0outputs (0major+112minor)pagefaults 0swaps
> time ./microb-loop 10000000000
> Command exited with non-zero status 239
> 3.26user 0.00system 0:03.29elapsed 98%CPU (0avgtext+0avgdata 272maxresident)k
> 0inputs+0outputs (0major+112minor)pagefaults 0swaps
> time ./microb-dynamic 10000000000
> 13.05user 0.00system 0:13.16elapsed 99%CPU (0avgtext+0avgdata 272maxresident)k
> 0inputs+0outputs (0major+112minor)pagefaults 0swaps
> time ./microb-bimorph 10000000000
> 19.58user 0.00system 0:19.74elapsed 99%CPU (0avgtext+0avgdata 272maxresident)k
> 0inputs+0outputs (0major+112minor)pagefaults 0swaps
> time ./microb-bimorph2 10000000000
> 19.57user 0.01system 0:19.73elapsed 99%CPU (0avgtext+0avgdata 272maxresident)k
> 0inputs+0outputs (0major+112minor)pagefaults 0swaps
> time ./microb-static 10000000000
> 13.05user 0.00system 0:13.17elapsed 99%CPU (0avgtext+0avgdata 272maxresident)k
> 0inputs+0outputs (0major+112minor)pagefaults 0swaps
> time ./microb-loop 10000000000
> Command exited with non-zero status 239
> 3.26user 0.00system 0:03.28elapsed 99%CPU (0avgtext+0avgdata 272maxresident)k
> 0inputs+0outputs (0major+112minor)pagefaults 0swaps
> time ./microb-dynamic 10000000000
> 13.05user 0.00system 0:13.16elapsed 99%CPU (0avgtext+0avgdata 272maxresident)k
> 0inputs+0outputs (0major+112minor)pagefaults 0swaps
> time ./microb-bimorph 10000000000
> 19.57user 0.00system 0:19.74elapsed 99%CPU (0avgtext+0avgdata 272maxresident)k
> 0inputs+0outputs (0major+112minor)pagefaults 0swaps
> time ./microb-bimorph2 10000000000
> 19.58user 0.00system 0:19.74elapsed 99%CPU (0avgtext+0avgdata 272maxresident)k
> 0inputs+0outputs (0major+112minor)pagefaults 0swaps
> time ./microb-static 10000000000
> 13.05user 0.00system 0:13.16elapsed 99%CPU (0avgtext+0avgdata 272maxresident)k
> 0inputs+0outputs (0major+112minor)pagefaults 0swaps
> time ./microb-loop 10000000000
> Command exited with non-zero status 239
> 3.26user 0.00system 0:03.29elapsed 99%CPU (0avgtext+0avgdata 272maxresident)k
> 0inputs+0outputs (0major+112minor)pagefaults 0swaps
> make: *** [microb] Error 239
>
> Not sure what happened there at the end. This is a dual core Cortex-A15
> at somewhere between 1.0 and 1.5GHz (I have the frequency control driver
> disabled so I can't actually tell what it is currently using).
>
>
>
>
> Now for another system:
>
> lennartsorensen-ppc
> Using built-in specs.
> COLLECT_GCC=cc
> COLLECT_LTO_WRAPPER=/usr/lib/gcc/powerpc-linux-gnu/4.6/lto-wrapper
> Target: powerpc-linux-gnu
> Configured with: ../src/configure -v --with-pkgversion='Debian 4.6.3-14' --with-bugurl=file:///usr/share/doc/gcc-4.6/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.6 --enable-shared --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.6 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --enable-plugin --enable-objc-gc --enable-secureplt --disable-softfloat --enable-targets=powerpc-linux,powerpc64-linux --with-cpu=default32 --with-long-double-128 --enable-checking=release --build=powerpc-linux-gnu --host=powerpc-linux-gnu --target=powerpc-linux-gnu
> Thread model: posix
> gcc version 4.6.3 (Debian 4.6.3-14)
> processor : 0
> cpu : POWER7 (architected), altivec supported
> clock : 3720.000000MHz
> revision : 2.3 (pvr 003f 0203)
>
> processor : 1
> cpu : POWER7 (architected), altivec supported
> clock : 3720.000000MHz
> revision : 2.3 (pvr 003f 0203)
>
> processor : 2
> cpu : POWER7 (architected), altivec supported
> clock : 3720.000000MHz
> revision : 2.3 (pvr 003f 0203)
>
> processor : 3
> cpu : POWER7 (architected), altivec supported
> clock : 3720.000000MHz
> revision : 2.3 (pvr 003f 0203)
>
> processor : 4
> cpu : POWER7 (architected), altivec supported
> clock : 3720.000000MHz
> revision : 2.3 (pvr 003f 0203)
>
> processor : 5
> cpu : POWER7 (architected), altivec supported
> clock : 3720.000000MHz
> revision : 2.3 (pvr 003f 0203)
>
> processor : 6
> cpu : POWER7 (architected), altivec supported
> clock : 3720.000000MHz
> revision : 2.3 (pvr 003f 0203)
>
> processor : 7
> cpu : POWER7 (architected), altivec supported
> clock : 3720.000000MHz
> revision : 2.3 (pvr 003f 0203)
>
> processor : 8
> cpu : POWER7 (architected), altivec supported
> clock : 3720.000000MHz
> revision : 2.3 (pvr 003f 0203)
>
> processor : 9
> cpu : POWER7 (architected), altivec supported
> clock : 3720.000000MHz
> revision : 2.3 (pvr 003f 0203)
>
> processor : 10
> cpu : POWER7 (architected), altivec supported
> clock : 3720.000000MHz
> revision : 2.3 (pvr 003f 0203)
>
> processor : 11
> cpu : POWER7 (architected), altivec supported
> clock : 3720.000000MHz
> revision : 2.3 (pvr 003f 0203)
>
> processor : 12
> cpu : POWER7 (architected), altivec supported
> clock : 3720.000000MHz
> revision : 2.3 (pvr 003f 0203)
>
> processor : 13
> cpu : POWER7 (architected), altivec supported
> clock : 3720.000000MHz
> revision : 2.3 (pvr 003f 0203)
>
> processor : 14
> cpu : POWER7 (architected), altivec supported
> clock : 3720.000000MHz
> revision : 2.3 (pvr 003f 0203)
>
> processor : 15
> cpu : POWER7 (architected), altivec supported
> clock : 3720.000000MHz
> revision : 2.3 (pvr 003f 0203)
>
> processor : 16
> cpu : POWER7 (architected), altivec supported
> clock : 3720.000000MHz
> revision : 2.3 (pvr 003f 0203)
>
> processor : 17
> cpu : POWER7 (architected), altivec supported
> clock : 3720.000000MHz
> revision : 2.3 (pvr 003f 0203)
>
> processor : 18
> cpu : POWER7 (architected), altivec supported
> clock : 3720.000000MHz
> revision : 2.3 (pvr 003f 0203)
>
> processor : 19
> cpu : POWER7 (architected), altivec supported
> clock : 3720.000000MHz
> revision : 2.3 (pvr 003f 0203)
>
> processor : 20
> cpu : POWER7 (architected), altivec supported
> clock : 3720.000000MHz
> revision : 2.3 (pvr 003f 0203)
>
> processor : 21
> cpu : POWER7 (architected), altivec supported
> clock : 3720.000000MHz
> revision : 2.3 (pvr 003f 0203)
>
> processor : 22
> cpu : POWER7 (architected), altivec supported
> clock : 3720.000000MHz
> revision : 2.3 (pvr 003f 0203)
>
> processor : 23
> cpu : POWER7 (architected), altivec supported
> clock : 3720.000000MHz
> revision : 2.3 (pvr 003f 0203)
>
> timebase : 512000000
> platform : pSeries
> model : IBM,8231-E1C
> machine : CHRP IBM,8231-E1C
> time ./microb-dynamic 10000000000
> 9.85user 0.00system 0:09.85elapsed 99%CPU (0avgtext+0avgdata 380maxresident)k
> 0inputs+0outputs (0major+131minor)pagefaults 0swaps
> time ./microb-bimorph 10000000000
> 6.35user 0.00system 0:06.35elapsed 99%CPU (0avgtext+0avgdata 380maxresident)k
> 0inputs+0outputs (0major+131minor)pagefaults 0swaps
> time ./microb-bimorph2 10000000000
> 6.35user 0.00system 0:06.35elapsed 99%CPU (0avgtext+0avgdata 380maxresident)k
> 0inputs+0outputs (0major+130minor)pagefaults 0swaps
> time ./microb-static 10000000000
> 10.85user 0.00system 0:10.85elapsed 100%CPU (0avgtext+0avgdata 380maxresident)k
> 0inputs+0outputs (0major+130minor)pagefaults 0swaps
> time ./microb-loop 10000000000
> Command exited with non-zero status 239
> 1.74user 0.00system 0:01.74elapsed 99%CPU (0avgtext+0avgdata 380maxresident)k
> 0inputs+0outputs (0major+130minor)pagefaults 0swaps
> time ./microb-dynamic 10000000000
> 9.94user 0.00system 0:09.95elapsed 99%CPU (0avgtext+0avgdata 380maxresident)k
> 0inputs+0outputs (0major+130minor)pagefaults 0swaps
> time ./microb-bimorph 10000000000
> 6.36user 0.00system 0:06.36elapsed 99%CPU (0avgtext+0avgdata 380maxresident)k
> 0inputs+0outputs (0major+130minor)pagefaults 0swaps
> time ./microb-bimorph2 10000000000
> 6.35user 0.00system 0:06.35elapsed 99%CPU (0avgtext+0avgdata 380maxresident)k
> 0inputs+0outputs (0major+129minor)pagefaults 0swaps
> time ./microb-static 10000000000
> 10.84user 0.00system 0:10.85elapsed 99%CPU (0avgtext+0avgdata 376maxresident)k
> 0inputs+0outputs (0major+129minor)pagefaults 0swaps
> time ./microb-loop 10000000000
> Command exited with non-zero status 239
> 1.75user 0.00system 0:01.76elapsed 99%CPU (0avgtext+0avgdata 380maxresident)k
> 0inputs+0outputs (0major+130minor)pagefaults 0swaps
> time ./microb-dynamic 10000000000
> 9.91user 0.00system 0:09.92elapsed 99%CPU (0avgtext+0avgdata 380maxresident)k
> 0inputs+0outputs (0major+130minor)pagefaults 0swaps
> time ./microb-bimorph 10000000000
> 6.36user 0.00system 0:06.36elapsed 99%CPU (0avgtext+0avgdata 380maxresident)k
> 0inputs+0outputs (0major+130minor)pagefaults 0swaps
> time ./microb-bimorph2 10000000000
> 6.36user 0.00system 0:06.37elapsed 99%CPU (0avgtext+0avgdata 380maxresident)k
> 0inputs+0outputs (0major+130minor)pagefaults 0swaps
> time ./microb-static 10000000000
> 10.84user 0.00system 0:10.85elapsed 99%CPU (0avgtext+0avgdata 380maxresident)k
> 0inputs+0outputs (0major+130minor)pagefaults 0swaps
> time ./microb-loop 10000000000
> Command exited with non-zero status 239
> 1.74user 0.00system 0:01.74elapsed 100%CPU (0avgtext+0avgdata 380maxresident)k
> 0inputs+0outputs (0major+130minor)pagefaults 0swaps
> make: *** [microb] Error 239
>
> That system is a 3.72GHz IBM p710 with a 6 core power7.
>
> I am still waiting for the MPC8360e system to finish a run. It might be a while.
>
> --
> Len Sorensen
> --
> The Toronto Linux Users Group. Meetings: http://gtalug.org/
> TLUG requests: Linux topics, No HTML, wrap text below 80 columns
> How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists
--
The Toronto Linux Users Group. Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists
More information about the Legacy
mailing list