-
Notifications
You must be signed in to change notification settings - Fork 14
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
flagser_memory support #61
Comments
Hi @davidpitl! This looks like a duplicate of #57, unless I misunderstood. Please let me know if you agree/disagree and feel free to follow/add to the discussion there. I wonder what kind of support you are hoping to see in |
I simply mean having the possibility for Giotto to use the Flagser in memory calculation implementation: |
Thanks for the clarification, and sorry for the confusion. You are right that we missed/forgot about this feature from |
Actually, I have now looked into the |
Hi, Sorry for only replying only now. Thank you @davidpitl for suggesting adding this feature. This doesn't seem in my opinion to do a lot of changes, but I didn't work with the in memory version, some points needs to be verified before enabling this on
I expect the first point to be a quick verification, but we need to be sure it does work. The second point about if it works on all architectures, this is important for us, because we want that all users can use our package, independent of the OS used. For the third point, if the two previous are good, I can do it myself, it is just to have a raw estimation of performances. Unfortunately, at the moment I have little time to work with Best, |
|
Indeed, the runtime are an order of magnitude different ! Thank you for the information. Could you run the same dataset but with a different command (if you're on Linux) in order to get an idea of the memory consumption ? e.g. Command being timed: "..."
User time (seconds): 1.16
System time (seconds): 0.24
Percent of CPU this job got: 99%
Elapsed (wall clock) time (h:mm:ss or m:ss): 0:01.41
Average shared text size (kbytes): 0
Average unshared data size (kbytes): 0
Average stack size (kbytes): 0
Average total size (kbytes): 0
Maximum resident set size (kbytes): 611576 <= this value interest me
Average resident set size (kbytes): 0
Major (requiring I/O) page faults: 1
Minor (reclaiming a frame) page faults: 283293
Voluntary context switches: 4
Involuntary context switches: 16
Swaps: 0
File system inputs: 8216
File system outputs: 0
Socket messages sent: 0
Socket messages received: 0
Signals delivered: 0
Page size (bytes): 4096
Exit status: 0 If the output are similar, that's already a good point. Again, @davidpitl thank you for all the work you can help us :) Best, |
The measurements have been made on a server that is currently very busy with other tasks that we cannot stop at this moment. I think you should repeat them. The results are: /usr/bin/time -v ./test_flagser_memory /usr/bin/time -v ./test_flagser |
Thank you for the measurements. After looking at Let me run both test but on the same datasets. |
I made some measurements with the test: About small and big in the following tables, it's related to the function called inside of
runtime [s]
Memory [GB]
I'll create an issue to discuss this results directly in @ulupo what do you think about the results measured ? Best, |
Seems like a very small size test , doesn't it? Only 0.6 Gb of memory usage. |
I think you're right, it's nothing big. |
Well, I found out that the test for The results after fixing this: runtime [s]
Memory [GB]
Now we obtain around 13% speed up at run time when using the In my opinion it's interesting to integrate it in But, on the meantime, if you needs to test the
Let me know if you encounter any issues. Best, |
Would it be possible to support flagser_memory to be able to use it from Giotto-TDA?
The text was updated successfully, but these errors were encountered: