-
Notifications
You must be signed in to change notification settings - Fork 445
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
O2sim: fix kine published only sending first <aggregate> events #12141
Conversation
Hi @aalkin , thank you. This definitely fixes the issue that always the same events were sent. I tested this and I noticed that in my analysis task that picks up the events sent by the kine_publisher, the I thought (but maybe I misunderstood) that the |
The issue with both kine- and hepmc-publisher is that they are both DPL sources by themselves, there is no "timing" input like in other cases - in analysis and with mctracks-proxy. Therefore their core functions are called exactly once. But the fact that all events are in one message is definitely not expected. At least this is not what I see with hepmc-publisher that works in the same way. I will investigate. I am planning to make them work similar to the mctracks-proxy eventually, by ensuring they have a "timing" input that we can use to designate timeframes and thus simplify their core functions. Probably I should speed this up. |
Ok, it would be great to have a working version (not perfect, just working for the moment) online before the O2 Tutorial preparation day, because we would like to inlcude something that relies on the kine_publisher in the hands-on. With #12140 everything seems to work so far. [17011:o2sim-kine-publisher]: [14:21:12][ERROR] Exception caught: shmem: could not create a message of size 482820, alignment: 64, free memory: 26048 when I run on larger files. |
#12140 works because it only returns first |
OK, thank you very much for taking care of this.
Btw, I tested #12140 and I do get ALL events, not only a fraction (that was exactly the point that I wanted to fix with it. Before, it was also sending the correct number of |
Interesting, then how come there is no out-of-memory issue? |
I don't know. I don't understand these things well enough, I can only say what I see. And it seems that the events do get shipped in packages of |
Proper fix for the issue from #12140