| View previous topic :: View next topic |
| Author |
Message |
Daniel Shawul
Joined: 14 Mar 2006 Posts: 2268 Location: Ethiopia
|
Post subject: cache alignment of tt Posted: Sun Mar 11, 2012 10:22 pm |
|
|
Do you use aligned malloc for your hash tables (main,pawn and eval) to put the starting address at 64 byte boundaries. Even though I had a bucket with 4 slots each 16 byte in size, I forgot to actually do _aligned_malloc() !? weird. But after I make the change it actually got slower nps wise on windows. On linux systems profiling shows there is some gain for the main tt but not for the eval cache (16 bytes entries). I don't use buckets for the eval cache so I guess there is not much to gain from there...
Also does pre-fetching gain anything or is it another optimization myths ?
Why I am asking this is these things are crucial for gpu computation even though I never bothered to implement them for scorpio. _________________ https://sites.google.com/site/dshawul/
https://github.com/dshawul |
|
| Back to top |
|
 |
|
| Subject |
Author |
Date/Time |
cache alignment of tt |
Daniel Shawul |
Sun Mar 11, 2012 10:22 pm |
Re: cache alignment of tt |
H.G.Muller |
Sun Mar 11, 2012 10:39 pm |
Re: cache alignment of tt |
Daniel Shawul |
Sun Mar 11, 2012 11:06 pm |
Re: cache alignment of tt |
Jon Dart |
Mon Mar 12, 2012 12:43 am |
Re: cache alignment of tt |
Daniel Shawul |
Mon Mar 12, 2012 2:53 am |
Re: cache alignment of tt |
Vincent Diepeveen |
Thu Mar 15, 2012 8:12 pm |
Re: cache alignment of tt |
Robert Purves |
Mon Mar 12, 2012 4:10 am |
Re: cache alignment of tt |
Daniel Shawul |
Mon Mar 12, 2012 4:49 am |
Re: cache alignment of tt |
Robert Hyatt |
Mon Mar 12, 2012 5:21 am |
Re: cache alignment of tt |
Ricardo Barreira |
Mon Mar 12, 2012 8:25 am |
Re: cache alignment of tt |
Robert Hyatt |
Mon Mar 12, 2012 3:54 pm |
Re: cache alignment of tt |
Alvaro Cardoso |
Tue Mar 13, 2012 12:33 am |
Re: cache alignment of tt |
Robert Hyatt |
Thu Mar 15, 2012 2:15 pm |
Re: cache alignment of tt |
Rémi Coulom |
Thu Mar 15, 2012 4:42 pm |
Re: cache alignment of tt |
Robert Hyatt |
Thu Mar 15, 2012 5:03 pm |
Re: cache alignment of tt |
Daniel Shawul |
Thu Mar 15, 2012 5:08 pm |
Re: cache alignment of tt |
Daniel Shawul |
Mon Mar 12, 2012 12:49 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
|
|