| View previous topic :: View next topic |
| Author |
Message |
Chan Rasjid
Joined: 09 Mar 2006 Posts: 323 Location: Singapore
|
Post subject: help - gprof output Posted: Thu Jul 29, 2010 8:07 am |
|
|
Hello,
I am trying to trim things down as my cowrie nps is far below those of others; on my computer (Debian linux athlon64 1 core) in the early positions from startpos:-
1) Crafty 23.3 - 1.3/ 2.0 M nps; I suspect the nps count has error.
2) Robbolit - 1M nps
3) Stockfish - 800,000/900,000 nps.
4) Spark - 600,000/700,000 nps.
5) my Cowrie - 300,000 - 350,000 nps.
6) Gaviota - 250,000 - 300,000 nps.
The is from gcc gprof:
| Quote: |
Flat profile:
Each sample counts as 0.01 seconds.
% cumulative self self total
time seconds seconds calls s/call s/call name
38.16 7.90 7.90 18218398 0.00 0.00 eval
9.62 9.89 1.99 11308265 0.00 0.00 gen_qs
8.29 11.60 1.72 bitcnt
7.25 13.10 1.50 1833258 0.00 0.00 gen_quiet_moves
6.24 14.39 1.29 13428251 0.00 0.00 probehash
4.71 15.37 0.98 2037 0.00 0.01 search_pvs
4.59 16.32 0.95 8654368 0.00 0.00 search_quiesce
3.92 17.13 0.81 bitScanForward
2.85 17.72 0.59 13824695 0.00 0.00 swapBestMove
2.56 18.25 0.53 unmake
2.27 18.72 0.47 10573508 0.00 0.00 updatehash
1.96 19.12 0.41 makemove
1.74 19.48 0.36 init_material_table
1.40 19.77 0.29 723374 0.00 0.00 gen_evade_check
0.97 19.97 0.20 ev_pawn_shelter_w
0.80 20.14 0.17 is_incheck
0.65 20.27 0.14 xyRookAttack
0.58 20.39 0.12 2919456 0.00 0.00 swapMoveFront
0.51 20.50 0.11 2 0.05 0.05 allocatehash
0.29 20.56 0.06 2 0.03 0.03 initTT
0.15 20.59 0.03 455647 0.00 0.00 set_move_score
0.12 20.61 0.03 is_sq_attacked_brq
0.10 20.63 0.02 1 0.02 8.17 uci
0.07 20.65 0.02 257295 0.00 0.00 eval_bishop_ah7_trap
|
Can someone confirm the following:
1) % time of a function exclude the time spent within child calls that are profiled and listed. eg, search_pvs() and search_quiesce() exclude time spent in probehash();
2) the 6.24% of probehash() seems costly; it only probes TT 4 times and extract entry data only; it is more costly than the full search search_pvs() ! Is there anything suspicious?
Thanks,
Rasjid _________________ Don't believe when you're told "There's no free lunch!" There is Linux. |
|
| Back to top |
|
 |
|
| Subject |
Author |
Date/Time |
help - gprof output |
Chan Rasjid |
Thu Jul 29, 2010 8:07 am |
Re: help - gprof output |
Gian-Carlo Pascutto |
Thu Jul 29, 2010 9:05 am |
Re: help - gprof output |
Chan Rasjid |
Thu Jul 29, 2010 9:32 am |
Re: help - gprof output |
Robert Hyatt |
Thu Jul 29, 2010 5:02 pm |
Re: help - gprof output |
Chan Rasjid |
Fri Jul 30, 2010 9:32 am |
Re: help - gprof output |
Volker Annuss |
Fri Jul 30, 2010 10:09 am |
Re: help - gprof output |
Manuel Diaz |
Fri Jul 30, 2010 11:11 am |
Re: help - gprof output |
Chan Rasjid |
Fri Jul 30, 2010 3:09 pm |
Re: help - gprof output |
Gian-Carlo Pascutto |
Fri Jul 30, 2010 3:58 pm |
Re: help - gprof output |
Chan Rasjid |
Fri Jul 30, 2010 4:35 pm |
Re: help - gprof output |
Robert Hyatt |
Fri Jul 30, 2010 4:46 pm |
Re: help - gprof output |
Gian-Carlo Pascutto |
Sat Jul 31, 2010 6:19 pm |
Re: help - gprof output |
Chan Rasjid |
Sat Jul 31, 2010 9:58 pm |
Re: help - gprof output |
Robert Hyatt |
Fri Jul 30, 2010 4:43 pm |
Re: help - gprof output |
Chan Rasjid |
Fri Jul 30, 2010 5:36 pm |
Re: help - gprof output |
Robert Hyatt |
Fri Jul 30, 2010 6:51 pm |
Re: help - gprof output |
Karlo Bala Jr. |
Fri Jul 30, 2010 7:04 pm |
Re: help - gprof output |
Robert Hyatt |
Fri Jul 30, 2010 7:12 pm |
Re: help - gprof output |
Karlo Bala Jr. |
Fri Jul 30, 2010 7:37 pm |
Re: help - gprof output |
Karlo Bala Jr. |
Fri Jul 30, 2010 6:53 pm |
Re: help - gprof output |
Chan Rasjid |
Fri Jul 30, 2010 10:28 pm |
Re: help - gprof output |
Karlo Bala Jr. |
Fri Jul 30, 2010 10:51 pm |
Re: help - gprof output |
Chan Rasjid |
Fri Jul 30, 2010 11:48 pm |
Re: help - gprof output |
Robert Hyatt |
Sat Jul 31, 2010 12:20 am |
Re: help - gprof output |
Karlo Bala Jr. |
Sat Jul 31, 2010 12:22 am |
Re: help - gprof output |
Chan Rasjid |
Sat Jul 31, 2010 9:50 pm |
Re: help - gprof output |
Robert Hyatt |
Sat Jul 31, 2010 12:17 am |
Re: help - gprof output |
Robert Hyatt |
Fri Jul 30, 2010 4:40 pm |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|