[R-br] benchmarking
Leonard de Assis
assis.leonard em gmail.com
Sexta Outubro 28 13:42:49 BRST 2011
Legal,
vou ver se rodo nas 3 máquinas que tenho comigo:
1. Macbook pro 3 gb RAM osx snow leopard core 2 duo
2. core i5 2a geração, 8 gb ram (Linux + windows)
3. core i5 2a geração, 6 gb ram (linux + windows 7 64)
todos com R 64 2.13.1
tenho boa diversão no fds
[]s
Leonard de Assis
assis <dot> leonard <at> gmail <dot> com
Em 28/10/2011 11:33, Benilton Carvalho escreveu:
> Aos interessados em fazer algum benchmarking, aqui uma sugestao:
>
> 1) Instale o pacote SuppDists
> 2) Execute:
>
> source('http://r.research.att.com/benchmarks/R-benchmark-25.R')
>
> 3) Reporte aqui:
>
> a) Informacao de Hardware
> b) Versao do R
> c) Informacoes adicionais relevantes (BLAS / LAPACK / etc)
> d) Resultados do benchmark...
>
> Para o meu caso:
>
> Mac Pro 4,1
> Quad-Core Xeon 2.93GHz x 2 HT
> 16G RAM
> R 2.13.2 (binario padrao) + ATLAS BLAS
>
> Resultados:
>
>
> R Benchmark 2.5
> ===============
> Number of times each test is run__________________________: 3
>
> I. Matrix calculation
> ---------------------
> Creation, transp., deformation of a 2500x2500 matrix (sec): 0.617666666666613
> 2400x2400 normal distributed random matrix ^1000____ (sec): 0.267000000000053
> Sorting of 7,000,000 random values__________________ (sec): 0.821333333333352
> 2800x2800 cross-product matrix (b = a' * a)_________ (sec): 0.37166666666667
> Linear regr. over a 3000x3000 matrix (c = a \ b')___ (sec): 0.316000000000031
> --------------------------------------------
> Trimmed geom. mean (2 extremes eliminated): 0.417059757745061
>
> II. Matrix functions
> --------------------
> FFT over 2,400,000 random values____________________ (sec): 0.489666666666684
> Eigenvalues of a 640x640 random matrix______________ (sec): 0.65166666666668
> Determinant of a 2500x2500 random matrix____________ (sec): 0.430999999999964
> Cholesky decomposition of a 3000x3000 matrix________ (sec): 0.331666666666706
> Inverse of a 1600x1600 random matrix________________ (sec): 0.471333333333329
> --------------------------------------------
> Trimmed geom. mean (2 extremes eliminated): 0.463342341088548
>
> III. Programmation
> ------------------
> 3,500,000 Fibonacci numbers calculation (vector calc)(sec): 0.721333333333367
> Creation of a 3000x3000 Hilbert matrix (matrix calc) (sec): 0.472333333333268
> Grand common divisors of 400,000 pairs (recursion)__ (sec): 2.30133333333337
> Creation of a 500x500 Toeplitz matrix (loops)_______ (sec): 0.733999999999999
> Escoufier's method on a 45x45 matrix (mixed)________ (sec): 0.533999999999992
> --------------------------------------------
> Trimmed geom. mean (2 extremes eliminated): 0.656333300289129
>
>
> Total time for all 15 tests_________________________ (sec): 9.53200000000008
> Overall mean (sum of I, II and III trimmed means/3)_ (sec): 0.502429238538774
> --- End of test ---
> _______________________________________________
> R-br mailing list
> R-br em listas.c3sl.ufpr.br
> https://listas.inf.ufpr.br/cgi-bin/mailman/listinfo/r-br
> Leia o guia de postagem (http://www.leg.ufpr.br/r-br-guia) e forneça código mínimo reproduzível.
Mais detalhes sobre a lista de discussão R-br