apirrone / Memento

Memento is a Python app that records everything you do on your computer and lets you go back in time, search, and chat with a LLM (Large Language Model) to find back information about what you did.
MIT License
537 stars 43 forks source link

[Backend] Optimize cpu consumption for background process #13

Closed apirrone closed 1 year ago

apirrone commented 1 year ago

Right now it is too much

apirrone commented 1 year ago

We can force linux to assign only certain cpus with

taskset --cpu-list 1,2 pmr-bg

But tesseract takes a long time to process then ...

apirrone commented 1 year ago

Closing for now, it's "acceptable" at the current level of development