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

Write speed tuning #94

Merged
merged 1 commit into from
Apr 17, 2022
Merged

Conversation

mactcp
Copy link

@mactcp mactcp commented Apr 17, 2022

Instruction alignment and pipelining is complicated, I still don't fully understand why the first nop this adds makes things faster.

The second nop change is to add an extra cycle, as the 2 prior instructions (mvn and strb) seem to be pipelining together so the code only had 4 cycles between setting REQ and waiting for ACK.

I'm seeing about a 5% to 7% increase in write speed measured with SCSI Director:
Mac LC III+: Was 865 now 926
Quadra 650: Was 1175 now 1234
PowerMac 7100/80: Was 1280 now 1350

@erichelgeson
Copy link
Owner

Thanks again @mactcp -

Instruction alignment and pipelining is complicated

If you have time could you do a small write up (maybe on the github discussions page or wiki) on how you're doing this analysis? This type of analysis is not something I've looked at before and would be interested in the details!

@erichelgeson erichelgeson merged commit a566c9b into erichelgeson:main Apr 17, 2022
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.

2 participants