-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bifrost pipeline doesn't seem to be very fast #50
Comments
I am finding similar results/conclusions when I run this script. From reading through the code, it looks like everything is set up exactly as it should be, so it does look like there is an internal problem with the Pipeline or the Numpy Block classes. I will look a bit more for the cause of this before the telecon, and will try to study it more over the weekend. Which branch are you using btw? |
Hi Danny, I figured part of the problem out. The speed tests I did in September did use the NumpySourceBlock, but had the following flag set: This flag is by default set to The other part of the problem is that I don't think the current versions of /master or the other most up-to-date branches are actually parallelizing blocks on my machine (this process should occur by the affinity core function in the Cheers, Miles |
Since I'm going through old tickets I decided to try this out under the
I had similar results when setting If go to larger array sizes the trend starts to reverse:
Digging into this a little more it looks like the smaller array Bifrost times are being dominated by a slow down in the input ring. For example with |
I think this is using an older version of I think we should deprecate the |
PS: on the topic of slow performance, I noted that if (Broader suggestion is to set |
Yeah, the whole block.py vs pipeline.py thing seems to be kind of a theme in Bifrost right now where there are two ways to do the same thing. I'll open an issue on that (see #156). On your second point we should try to collect this kind of wisdom somewhere. I'm not sure where, though. The documentation? The tutorials? |
After some additional digging it looks like the slowdown is from the closeout of the innermost |
I am finally playing around with the bifrost numpy interface, and it seems to be pretty slow. I made a script,
your_first_pipeline.py
, which takes a test vector and does FFT -> IFFT -> FFT -> IFFT (so the output should be equal to the input):And I am doing basic speed tests:
But it seems like bifrost is slower in most circumstances.... What's up?
The text was updated successfully, but these errors were encountered: