-
Notifications
You must be signed in to change notification settings - Fork 283
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
Update pos_constants.hpp #201
base: main
Are you sure you want to change the base?
Conversation
Allow for up to 1024 buckets
looks good to me, but I'd like to defer approval to someone who knows where that limit comes from. |
@rostislav do you know? |
Similarly to PR #202, I would suggest making the commit message more descriptive. |
indeed. it seems we would need this for windows.
|
I think this is a good idea and hopefully should allow us to drastically reduce memory requirements.
|
A lot of buckets certainly not the idea for spinner plotting, but for SSD I found increasing from 128 to 512 beneficial, approx 10% plotting throughput gains on multi process plotting, more importantly, can comfortably plot at no speed loss with -b 1024, 8 concurrent procs on a machine with only 32G of RAM. Thanks to reducing the disk read/write buffers from 4 to 1MB per bucket file. My testing was all done on 0.12.41 but I am on my way to check out the differences on chaipos commit a614cee also. USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND [root@node-1d ~]# free -h node-1 t_plots,a_plots,procs,avg sec,TiB/day: 22 4 8 21232.6 3.2225 I can share the log files of this current also. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we need to check the system ulimit (platform specific?) and use that to determine max buckets. Otherwise there will be failures later when the file handles are exhausted and a lot of support questions. Some machines have a very low setting. If we add that it is fine by me.
'This PR has been flagged as stale due to no activity for over 60 |
Allow for up to 1024 buckets