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

odoc_driver is inefficient #1298

Open
jonludlam opened this issue Jan 29, 2025 · 0 comments
Open

odoc_driver is inefficient #1298

jonludlam opened this issue Jan 29, 2025 · 0 comments

Comments

@jonludlam
Copy link
Member

jonludlam commented Jan 29, 2025

I often see odoc_driver being very slow indeed at executing tasks. In addition, ps contains a lot of zombie odocs, so I'm wondering if our eio code is slow at doing waitpid or something?

e.g.

jjl25     846055 17.0  0.0      0     0 pts/6    Z+   11:49   0:00 [odoc] <defunct>
jjl25     846056 18.8  0.0      0     0 pts/6    Z+   11:49   0:00 [odoc] <defunct>
jjl25     846057 20.2  0.0      0     0 pts/6    Z+   11:49   0:00 [odoc] <defunct>
jjl25     846058 23.1  0.0      0     0 pts/6    Z+   11:49   0:00 [odoc] <defunct>
jjl25     846059 28.1  0.0      0     0 pts/6    Z+   11:49   0:00 [odoc] <defunct>
jjl25     846060 32.2  0.0      0     0 pts/6    Z+   11:49   0:00 [odoc] <defunct>
jjl25     846061 42.5  0.0      0     0 pts/6    Z+   11:49   0:00 [odoc] <defunct>
jjl25     846062 52.7  0.0      0     0 pts/6    Z+   11:49   0:00 [odoc] <defunct>
jjl25     846070 83.3  0.0      0     0 pts/6    Z+   11:49   0:00 [odoc] <defunct>
jjl25     846071  158  0.0 305928 39872 pts/6    R+   11:49   0:00 odoc html-generate-source --impl _odocl/csv/src/impl-csv_tool_lib__Pretty.odocl --sidebar _index/__pkg__/sidebar.odoc-sidebar ../mono/_build/default/csv/src/pretty.ml --search-uri ./sherlodoc_db.js --search-uri sherlodoc.js -o _html/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant