15 computer science collegians looking for a project
Reinier Heeres
reinier at heeres.eu
Thu May 1 19:35:21 EDT 2008
Hi,
The problem you encountered was apparently caused by the compiler
warning. Renaming all instances of 'round' with something else resulted
in the following here (also a C2):
[olpc at xo-0C-EC-18 ~]$ ./calibrator 431 4M callog
Calibrator v0.9e
(by Stefan.Manegold at cwi.nl, http://www.cwi.nl/~manegold/)
b790c008 -1215250424 4096 -4088
b790cfff -1215246337 4096 -1
b790d000 -1215246336 4096 0
MINTIME = 10000
analyzing cache throughput...
range stride spots brutto- netto-time
5242880 4 1310720 12472 3118
analyzing cache latency...
range stride spots brutto- netto-time
5242880 4 1310720 195660 97830
analyzing TLB latency...
range stride spots brutto- netto-time
1081344 1056 1024 10858 5429
CPU loop + L1 access: 19.81 ns = 9 cy
( delay: 959.51 ns = 414 cy )
caches:
level size linesize miss-latency replace-time
1 64 KB 32 bytes 22.75 ns = 10 cy 23.15 ns = 10 cy
2 192 KB 32 bytes 64.73 ns = 28 cy 76.50 ns = 33 cy
TLBs:
level #entries pagesize miss-latency
1 80 4 KB 126.25 ns = 54 cy
Cheers,
Reinier
Martin Dengler wrote:
> On Wed, Apr 30, 2008 at 10:18:24AM +0200, NoiseEHC wrote:
>
>>> http://homepages.cwi.nl/~manegold/Calibrator/
>>>
>>>
>> Could you run on your machine and share the results? Currently I do
>> not have access to an XO.
>>
>
> Probably not the results you were looking for:
>
> bash-3.2$ echo `cat /ofw/ec-name`
> PQ2D13
> bash-3.2$ echo `cat /ofw/model`
> C2
> bash-3.2$ echo `cat /boot/olpc_build`
> joyride 1897
> bash-3.2$ uname -r
> 2.6.22-20080408.1.olpc.de2a86ff3b60edc
> bash-3.2$ gcc --version
> gcc (GCC) 4.1.2 20070925 (Red Hat 4.1.2-27)
> Copyright (C) 2006 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions. There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
>
> bash-3.2$ gcc calibrator.c -o calibrator -lm
> calibrator.c:132: warning: conflicting types for built-in function ÃoundÃ
> bash-3.2$ ./calibrator 431 2M calibrator_OLPC_C2
>
> Calibrator v0.9e
> (by Stefan.Manegold at cwi.nl, http://www.cwi.nl/~manegold/)
> b7b50008 -1212874744 4096 -4088
> b7b50fff -1212870657 4096 -1
> b7b51000 -1212870656 4096 0
>
> MINTIME = 10000
>
> analyzing cache throughput...
> range stride spots brutto- netto-time
> 2621440 4 655360 12544 3136
>
> analyzing cache latency...
> range stride spots brutto- netto-time
> 2621440 4 655360 195740 97870
>
> analyzing TLB latency...
> range stride spots brutto- netto-time
> 3244032 1056 3072Segmentation fault
> bash-3.2$
>
> Martin
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Devel mailing list
> Devel at lists.laptop.org
> http://lists.laptop.org/listinfo/devel
>
--
Reinier Heeres
Waalstraat 17
2515 XK Den Haag
The Netherlands
Tel: +31 6 10852639
More information about the Devel
mailing list