I decided to test csound speed on a new (to me) Thinkpad. I was surprised
that it greatly outperformed an M1 Macbook air. The Thinkpad has an
AMD Ryzen 7 PRO 6850U.
Here are two .csd files I used for testing:
https://drive.google.com/drive/folders/1f3y1vDk-q_QQclv--_AYRkrd0BOTQP6t
bench.csd
Thinkpad 9.8 seconds
M1 38.8 seconds
bench2.csd
Thinkpad 8.0 seconds
M1 21.0 seconds
I was surpised that the Ryzen 7 compared so favorably to the
M1, given all the hype about M1 performance. Is it just weak
at floating point, or perhaps they throttle the cpu since the
Macbook Air has no fans?
I was also surprised that when comparing bench.csd, the macbook
took almost 4 times as long, whereas with bench2.csd, it took a
little over 2.5 times a long. Maybe the score sorting needed
for bench.csd took longer?
What numbers are you getting with your machine?
Another curiosity that I thought the list might be able to
help with, was that I don't seem to gain any speed by running
multiple csound instances in parallel. I tried this:
for each in `seq 1 8`; do
csound bench.csd &
done
I see 8 cpu's churning, but it takes about the same
amount of time as it would have had I run the processes
consecutively. The Ryzen is an 8-core 16-thread cpu.
I also tried running these concurrent processes in different
directories, in case the score.srt was getting tied up, but
there was no difference.
Thanks,
Toby
Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
Issues · csound/csound · GitHub
Discussions of bugs and features can be posted here