Skip to content
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

Add OMP_THREAD_LIMIT=1 to tesseract call #205

Merged
merged 1 commit into from
Apr 3, 2023
Merged

Conversation

kirkkwang
Copy link
Contributor

@kirkkwang kirkkwang commented Mar 28, 2023

ref: #203

Taking a page out of IU's book, they prepend OMP_THREAD_LIMIT=1 to their tesseract calls. This would improve performance in a multithreaded deployed environment.

ref: https://github.com/IU-Libraries-Joint-Development/essi/blob/a8a48da218e1084b13d250edf287eb6d1811d92c/app/services/processors/ocr.rb#L14

Taking a page out of IU's book, they prepend `OMP_THREAD_LIMIT=1` to
their tesseract calls.  This would improve performance in a
multithreaded deployed environment.

ref: https://github.com/IU-Libraries-Joint-Development/essi/blob/a8a48da218e1084b13d250edf287eb6d1811d92c/app/services/processors/ocr.rb#L14
@ShanaLMoore
Copy link
Contributor

merging since Kirk is OOO today

@ShanaLMoore ShanaLMoore merged commit 8706082 into main Apr 3, 2023
@orangewolf orangewolf deleted the i203-omp-thread-limit branch April 23, 2023 17:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants