« first day (52 days earlier)      last day (263 days later) » 

12:04 AM
Strange thing about that:
(1ull << pattern_length) - 1;
The profiler clearly shows those line take less percentage, and they don't interfere with the cache. But the overall time is longer...
Reverting

Emailed you the latest cleaned-up code.
We can bring the packed cache back, may be only for 32 bits or more.
32-bit will go from 4GB down to 1GB.
33 will take 2, 34 - 4, 35 - 8, and 36 - 16 GB; so all of them together - 32 GB.
Considering other needs, I might not be able to run this on my 32 GB systems...
Not sure how useful would it be to go to the odd number, like 35
 
 
8 hours later…
7:42 AM
Considering that the most common curl is 2, we could maybe give 33 a shot. We had better numbers from that a while ago. And on 32GB systems, we wouldn't need to pack that maybe
Thanks for the new version :)
Seeing that I already use 95% of RAM, packed 33 cache would still not be possible on my own laptop, though
 
 
8 hours later…
3:31 PM
I can increase cache_bits to 33, will see.
I remember comparing packed 33-bit cache to unpacked. Don’t remember packed 36-bit vs unpacked 32-bit...
 
4:01 PM
While browsing code on iPad, just realized that the longest running loops (to the frequency <=4) are not unrolled! I think I tried that, but before I used __forceinline, it ma caused the function to NOT get inlined by compiler. Will do another attempt.
 
4:46 PM
Well, the new krul_for_cache() builds 8 32-bit values at a time. Need to bring the old cache building code in for anything wider
 
5:16 PM
My brother did a re-run of yesterday's code which somehow was 2% slower now. Your latest version was 1.5% slower, so faster than the re-run
We achieved 21m02s to 48 now
If we're below 20m, I think the optimizations will come to an end
 
 
1 hour later…
6:42 PM
I've actually modified 32-bit cache building to do 4 64-bit values at a time. testing now
 
6:57 PM
Sounds good :)
 
7:31 PM
having coding issue; debugging for cache keys over 32 bits...
 
8:03 PM
fixed; had a 64-bit truncated to 32-bit :(
We really have to straighten this up one day...
don't see any speedup to length 40; will try longer
 
8:22 PM
No diff on length 44... Need to see if something is wrong
 
 
2 hours later…
9:56 PM
I'm afraid I can't be of any help there :(
 

« first day (52 days earlier)      last day (263 days later) »