Hi Victor,
Thanks again for these benchmarks, which are a wonderful resource for
the community. It's not too surprising at this point that matrix mul
mod large primes is not much faster. We mainly focused on matrix mul
mod small primes with BLAS at this point.
Whilst we have done bits and pieces here to improve the speed of Flint
we definitely aren't surprised that it falls behind NTL in many ways.
I've been saying for a while that Flint is starting to show its age
and that there is insufficient research and effort going into speeding
it up.
Having said that, Dan Schultz has been systematically improving many
things and I would think that this will start to show soon if nothing
else does. He did start trying to write a small prime FFT, but wasn't
able to show a significant advantage right away, so that will have to
be revisited at a later date. I'm still using less than optimal
routines for division of polynomials and series, and the code in
fmpz_mod_poly, whilst improved, is still an absolute mess and needs
considerable work for us to be happy with it.
Much of our linear algebra is woefully inadequate and has frankly been
embarrassing at times. We have years of effort ahead of us to improve
it to a state-of-the-art implementation.
The only times that are really surprising to me in your benchmarks are
the multiplication times for Z[x]. I would have thought we'd be doing
pretty well there given the FFT which is still state of the art as far
as I know. But as you've pointed out, more can be done with a
multimodular approach. Many years ago we were ahead in this region due
to the Kronecker segmentation, and we admittedly did optimise for AMD
processors at the time, but since then hardware seems to have changed
in ways that make the multimodular approach much faster again.
Anyhow, thanks again for your insights and efforts as always.
Bill.
> --
>
> ---
> You received this message because you are subscribed to the Google Groups "flint-devel" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
flint-devel...@googlegroups.com.
> To view this discussion on the web, visit
https://groups.google.com/d/msgid/flint-devel/bb84d3e7-33aa-4956-a3bb-825ca376df87n%40googlegroups.com.