lobsters / lobsters-ansible

Ansible playbook for lobste.rs
ISC License
78 stars 25 forks source link

Enable YJIT #82

Closed byroot closed 11 months ago

byroot commented 11 months ago

This may significantly increase memory usage though.

pushcx commented 11 months ago

Thanks for this. So, in your comment on the commit you caught me cutting corners.

Ansible is slow and flaky, especially for anything experimental where I have to try several versions of config and see how they go in prod. So in practice I usually log into the prod vps, edit files and bounce services, then scp those files from my dev machine and integrate them into ansible, running the playbook while logged into prod to see that they were integrated correctly. I missed copying back the final version of the service file and committed an older version.

I've pushed the prod version in 0951954. I did see the increased memory usage you mention and turned down the number of workers.

byroot commented 11 months ago

Ah! That explains it :)

Well, enjoy YJIT then!

maximecb commented 11 months ago

And if you run into any issues with YJIT, please don't hesitate to flag me or any YJIT team member. We want to keep making YJIT better :)