Skip to content

Conversation

@k0kubun
Copy link
Member

@k0kubun k0kubun commented Feb 25, 2021

I'm interested in running this locally, but I use Ryzen and this part fails.

@maximecb maximecb merged commit bf32b22 into ruby:main Mar 11, 2021
@maximecb
Copy link
Contributor

Sorry I didn't respond earlier. I just made sure I get notifications on this repo.

Thanks for the PR @k0kubun. Please remember that YJIT is a work in progress. Lots of improvements to come.

@eregon
Copy link
Member

eregon commented Mar 11, 2021

Probably the closest thing for AMD is:

sudo sh -c 'echo 0 > /sys/devices/system/cpu/cpufreq/boost'
sudo cpupower frequency-set -g performance

@k0kubun k0kubun deleted the intel_pstate branch March 12, 2021 02:10
byroot added a commit to byroot/yjit-bench that referenced this pull request Jan 29, 2025
THe initial snapshot was from a few years back, the application changed
a lot since then.

I had to run a bunch of migrations and had to fiddle with various sqlite3/msyql
incompatibilities. Also some route changes, but with a bit of effort I managed
to make it work again.

What is interesting is it seems lobste.rs became 2-3-x as slow in these
couple years, I haven't yet profiled to know why.

This branch:

```
itr:   time
 ruby#1: 1532ms
 ruby#2: 1013ms
 ruby#3:  910ms
 ruby#4:  852ms
 ruby#5:  851ms
 ruby#6:  901ms
 ruby#7:  857ms
 ruby#8:  886ms
 ruby#9:  875ms
```

main:

```
itr:   time
 ruby#1:  884ms
 ruby#2:  482ms
 ruby#3:  344ms
 ruby#4:  358ms
 ruby#5:  300ms
 ruby#6:  316ms
 ruby#7:  315ms
 ruby#8:  328ms
 ruby#9:  309ms
```
byroot added a commit to byroot/yjit-bench that referenced this pull request Jan 30, 2025
THe initial snapshot was from a few years back, the application changed
a lot since then.

I had to run a bunch of migrations and had to fiddle with various sqlite3/msyql
incompatibilities. Also some route changes, but with a bit of effort I managed
to make it work again.

What is interesting is it seems lobste.rs became 2-3-x as slow in these
couple years, I haven't yet profiled to know why.

This branch:

```
itr:   time
 ruby#1: 1532ms
 ruby#2: 1013ms
 ruby#3:  910ms
 ruby#4:  852ms
 ruby#5:  851ms
 ruby#6:  901ms
 ruby#7:  857ms
 ruby#8:  886ms
 ruby#9:  875ms
```

main:

```
itr:   time
 ruby#1:  884ms
 ruby#2:  482ms
 ruby#3:  344ms
 ruby#4:  358ms
 ruby#5:  300ms
 ruby#6:  316ms
 ruby#7:  315ms
 ruby#8:  328ms
 ruby#9:  309ms
```
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

Successfully merging this pull request may close these issues.

3 participants