Showing posts with label spwnn. Show all posts
Showing posts with label spwnn. Show all posts

2023-01-26

Programming Retreat

I've mentioned I did some work on spwnn during a programming retreat in 2018.

The place I stayed was in the middle of this satellite view:


The internet was provided by an old-school (not Starlink) satellite.  It was just good enough that I could look up articles about Go and AWS but not fast enough to be distracted by anything else.


Sometimes I would have visitors in the evening.



Each day I would drive to Clifton, Az, for lunch and coffee.


You can rent it if you'd like (click picture to go to AirBnB posting).








2023-01-21

spwnn - scaling

The dictionary size has a big impact on the speed of spwnn (spwnning?).

c7g.16xlarge
dict sizetime (seconds)words / sec
23,1151.4715,768
49,1676.138,024
370,104388.47953



This could be for many reasons.  One is that the number of words traversed per letter pair is much larger.  Another could be exceeding the cache size which slows down memory access.

Every time I think I'm done measuring things I think up something else.

All right, all right.  Here are the increases in times to validate the dictionary vs. the max size of the neurons:

time vs. 23ktime vs len
1.01
4.23.257148909
265.016.02753654

That doesn't directly correlate, so most likely the big dictionary exceeds the cache size.